DescriptionA 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!
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
InstructionsPress 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.NotesYou can use this in your own RPG game, just be sure to credit me, O.K.?
7 Comment(s)ElzoBroFirst DayJoined on the very first day of SmileBASIC SourceWebsiteVideo GamesI like to play video games!HobbiesDrawingI like to draw!Hobbiesoh yay! Can I expand on this to work on my own RPG Game?UltraPhoenix4Third YearMy account is over 3 years oldWebsiteBeesHiddenEaster EggsAvatar TabooI didn't change my avatar for 180 daysWebsiteYep! Just be sure to credit me if you publish it.FishFacehow 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
UltraPhoenix4Third YearMy account is over 3 years oldWebsiteBeesHiddenEaster EggsAvatar TabooI didn't change my avatar for 180 daysWebsiteTry:
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
UltraPhoenix4Third YearMy account is over 3 years oldWebsiteBeesHiddenEaster EggsAvatar TabooI didn't change my avatar for 180 daysWebsiteOr something along the lines of that.darwin_primeNot a bad starting point for fight mechanics. Do you have any ideas on what you'd like to add to it in the future? UltraPhoenix4Third YearMy account is over 3 years oldWebsiteBeesHiddenEaster EggsAvatar TabooI didn't change my avatar for 180 daysWebsiteA magic variable that possibly ignores normal defense. An actual enemy and attacks. But other than that I haven't really thought about it.
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