Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
MysteryGiftScript_AlteringCave::
|
||||
setvaddress MysteryGiftScript_AlteringCave
|
||||
addvar VAR_ALTERING_CAVE_WILD_SET, 1
|
||||
compare VAR_ALTERING_CAVE_WILD_SET, 10
|
||||
vgoto_if_ne MysteryGiftScript_AlteringCave_
|
||||
vgoto_if_ne VAR_ALTERING_CAVE_WILD_SET, 10, MysteryGiftScript_AlteringCave_
|
||||
setvar VAR_ALTERING_CAVE_WILD_SET, 0
|
||||
MysteryGiftScript_AlteringCave_:
|
||||
lock
|
||||
|
||||
Reference in New Issue
Block a user