Port generic event script macros from pokeruby

This commit is contained in:
Marcus Huderle
2017-12-21 13:47:52 -06:00
parent 4307292f55
commit 173761a5a1
266 changed files with 3054 additions and 3041 deletions
+6 -6
View File
@@ -7,18 +7,18 @@ Route127_MapScripts:: @ 81F69D9
Route127_MapScript1_1F69E9: @ 81F69E9
checkflag FLAG_SYS_WEATHER_CTRL
call_if 1, Route127_EventScript_27207A
compare_var_to_value VAR_0x4039, 1
compare VAR_0x4039, 1
call_if 1, Route127_EventScript_273D13
compare_var_to_value VAR_0x4037, 13
compare VAR_0x4037, 13
call_if 1, Route127_EventScript_273D17
compare_var_to_value VAR_0x4037, 14
compare VAR_0x4037, 14
call_if 1, Route127_EventScript_273D17
end
Route127_MapScript1_1F6A14: @ 81F6A14
compare_var_to_value VAR_0x4037, 13
compare VAR_0x4037, 13
call_if 1, Route127_EventScript_273B5F
compare_var_to_value VAR_0x4037, 14
compare VAR_0x4037, 14
call_if 1, Route127_EventScript_273BCC
end
@@ -64,7 +64,7 @@ Route127_EventScript_1F6ABF:: @ 81F6ABF
Route127_EventScript_1F6AD6:: @ 81F6AD6
trainerbattle 2, TRAINER_KOJI_1, 0, Route127_Text_2A264D, Route127_Text_2A2685, Route127_EventScript_1F6B02
specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route127_EventScript_1F6B21
msgbox Route127_Text_2A26AC, 4
release