summaryrefslogtreecommitdiff
path: root/data/maps/Route4_PokemonCenter_1F
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-08 18:09:24 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-08 18:09:24 -0500
commit31d31d326034fde26dedaf2dadb1c608e00fb92f (patch)
treebe13ed87df14390256c9a3e582fb11adbe4090b8 /data/maps/Route4_PokemonCenter_1F
parent26f7ba482384ad4f63063797a527b7fb33572aa1 (diff)
Sync compare macros, some event_scripts.s doc, begin map_scripts constants
Diffstat (limited to 'data/maps/Route4_PokemonCenter_1F')
-rw-r--r--data/maps/Route4_PokemonCenter_1F/scripts.inc18
1 files changed, 9 insertions, 9 deletions
diff --git a/data/maps/Route4_PokemonCenter_1F/scripts.inc b/data/maps/Route4_PokemonCenter_1F/scripts.inc
index 4b485bbbd..23b4162a0 100644
--- a/data/maps/Route4_PokemonCenter_1F/scripts.inc
+++ b/data/maps/Route4_PokemonCenter_1F/scripts.inc
@@ -25,9 +25,9 @@ Route4_PokemonCenter_1F_EventScript_16F75F:: @ 816F75F
goto_if TRUE, EventScript_16F8A2
showmoneybox 0, 0, 0
checkplayergender
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_16F786
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
goto_if eq, EventScript_16F794
end
@@ -42,26 +42,26 @@ EventScript_16F794:: @ 816F794
end
EventScript_16F7A2:: @ 816F7A2
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_16F888
checkmoney 500, 0
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_16F895
textcolor 3
setvar VAR_0x4001, 129
givemon SPECIES_MAGIKARP, 5, ITEM_NONE, 0, 0, 0
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_16F7F6
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
goto_if eq, EventScript_16F822
- compare_var_to_value VAR_RESULT, 2
+ compare VAR_RESULT, 2
goto_if eq, EventScript_16F8AC
end
EventScript_16F7F6:: @ 816F7F6
call EventScript_16F86F
msgbox gUnknown_81A56A7, MSGBOX_YESNO
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_16F861
call EventScript_1A8C27
fadescreen 1
@@ -74,7 +74,7 @@ EventScript_16F7F6:: @ 816F7F6
EventScript_16F822:: @ 816F822
call EventScript_16F86F
msgbox gUnknown_81A56A7, MSGBOX_YESNO
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_16F84B
fadescreen 1
hidemoneybox 0, 0