Port generic event script macros from pokeruby
This commit is contained in:
@@ -5,9 +5,9 @@ BattleFrontier_BattleTowerCorridor2_MapScripts:: @ 8248D4A
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A
|
||||
compare_var_to_value VAR_0x40CE, 2
|
||||
compare VAR_0x40CE, 2
|
||||
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D71
|
||||
compare_var_to_value VAR_0x40CE, 3
|
||||
compare VAR_0x40CE, 3
|
||||
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248D91
|
||||
end
|
||||
|
||||
@@ -15,7 +15,7 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
|
||||
setvar VAR_0x8004, 14
|
||||
special sub_8161F74
|
||||
checkplayergender
|
||||
compare_var_to_value VAR_RESULT, 1
|
||||
compare VAR_RESULT, 1
|
||||
goto_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
|
||||
setvar VAR_0x401F, 0
|
||||
return
|
||||
@@ -87,13 +87,13 @@ BattleFrontier_BattleTowerCorridor2_EventScript_248DBC:: @ 8248DBC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleTowerCorridor2_EventScript_248E71:: @ 8248E71
|
||||
compare_var_to_value VAR_0x40CE, 0
|
||||
compare VAR_0x40CE, 0
|
||||
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
|
||||
compare_var_to_value VAR_0x40CE, 1
|
||||
compare VAR_0x40CE, 1
|
||||
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248E9E
|
||||
compare_var_to_value VAR_0x40CE, 2
|
||||
compare VAR_0x40CE, 2
|
||||
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EA8
|
||||
compare_var_to_value VAR_0x40CE, 3
|
||||
compare VAR_0x40CE, 3
|
||||
call_if 1, BattleFrontier_BattleTowerCorridor2_EventScript_248EB2
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user