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,9 +7,9 @@ Route105_MapScripts:: @ 81EE1DB
Route105_MapScript1_1EE1EB: @ 81EE1EB
checkflag FLAG_0x0E4
call_if 0, Route105_EventScript_1EE20B
compare_var_to_value VAR_0x4037, 9
compare VAR_0x4037, 9
call_if 1, Route105_EventScript_2739AB
compare_var_to_value VAR_0x4037, 10
compare VAR_0x4037, 10
call_if 1, Route105_EventScript_273A18
end
@@ -19,11 +19,11 @@ Route105_EventScript_1EE20B:: @ 81EE20B
return
Route105_MapScript1_1EE21E: @ 81EE21E
compare_var_to_value VAR_0x4039, 1
compare VAR_0x4039, 1
call_if 1, Route105_EventScript_273D13
compare_var_to_value VAR_0x4037, 9
compare VAR_0x4037, 9
call_if 1, Route105_EventScript_273D17
compare_var_to_value VAR_0x4037, 10
compare VAR_0x4037, 10
call_if 1, Route105_EventScript_273D17
end
@@ -64,7 +64,7 @@ Route105_EventScript_1EE2BD:: @ 81EE2BD
Route105_EventScript_1EE2D4:: @ 81EE2D4
trainerbattle 2, TRAINER_ANDRES_1, 0, Route105_Text_2960A9, Route105_Text_2960DB, Route105_EventScript_1EE300
specialvar VAR_RESULT, ShouldTryRematchBattle
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq Route105_EventScript_1EE31F
msgbox Route105_Text_2960FA, 4
release