LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Simple RPG Fighter

Root / Submissions / [.]

UltraPhoenix4Created:
Download:QDAP3E4D
Version:1.1Size:
A simple fighter for your RPG needs. Top screen is Enemy HP, and Bottom screen is yours. The odds are evenly split, now fight to the death!
changelog
V 1.0
-initial release
V1.1
-Fixed Enemy health display bug
-Added Stat variables at the beginning of the code to make it easier to mod
-Added notes in code

Instructions:

Press A to make a move the enemy also attacks in this time. If the Damage text turns red that means one of you got a critical hit.

Notes:

You can use this in your own RPG game, just be sure to credit me, O.K.?

Not a bad starting point for fight mechanics. Do you have any ideas on what you'd like to add to it in the future?

Replying to:darwin_prime
Not a bad starting point for fight mechanics. Do you have any ideas on what you'd like to add to it in the future?
A magic variable that possibly ignores normal defense. An actual enemy and attacks. But other than that I haven't really thought about it.

how do i make this to where i can activate a battle at certain parts of a text based adventure. to prevent copy pasting every time i want a battle to take place

Replying to:FishFace
how do i make this to where i can activate a battle at certain parts of a text based adventure. to prevent copy pasting every time i want a battle to take place
Try:
IF Random encounter code == TRUE then GOTO @ Fightpreparearea1

@Fightpreparearea1
ENEMYHP(i forgot the variable, so just look for it)=RND(500)
IF ENEMYHP < 250 GOTO @Fightpreparearea1
@Fight 'my program


Replying to:FishFace
how do i make this to where i can activate a battle at certain parts of a text based adventure. to prevent copy pasting every time i want a battle to take place
Or something along the lines of that.

oh yay! Can I expand on this to work on my own RPG Game?

Replying to:ElzoBro
oh yay! Can I expand on this to work on my own RPG Game?
Yep! Just be sure to credit me if you publish it.