summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SlateportCity_House1.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/SlateportCity_House1.inc')
-rw-r--r--data/scripts/maps/SlateportCity_House1.inc26
1 files changed, 13 insertions, 13 deletions
diff --git a/data/scripts/maps/SlateportCity_House1.inc b/data/scripts/maps/SlateportCity_House1.inc
index 4161889e1..c72aa229a 100644
--- a/data/scripts/maps/SlateportCity_House1.inc
+++ b/data/scripts/maps/SlateportCity_House1.inc
@@ -6,9 +6,9 @@ SlateportCity_House1_EventScript_15567B:: @ 815567B
faceplayer
msgbox SlateportCity_House1_Text_17D46A, 5
compare RESULT, 1
- jumpeq SlateportCity_House1_EventScript_15569C
+ goto_if_eq SlateportCity_House1_EventScript_15569C
compare RESULT, 0
- jumpeq SlateportCity_House1_EventScript_1556BF
+ goto_if_eq SlateportCity_House1_EventScript_1556BF
end
SlateportCity_House1_EventScript_15569C:: @ 815569C
@@ -16,9 +16,9 @@ SlateportCity_House1_EventScript_15569C:: @ 815569C
special sub_80F9A0C
waitstate
compare 0x8004, 255
- jumpif 5, SlateportCity_House1_EventScript_1556C9
+ goto_if 5, SlateportCity_House1_EventScript_1556C9
compare 0x8004, 255
- jumpeq SlateportCity_House1_EventScript_1556BF
+ goto_if_eq SlateportCity_House1_EventScript_1556BF
end
SlateportCity_House1_EventScript_1556BF:: @ 81556BF
@@ -27,22 +27,22 @@ SlateportCity_House1_EventScript_1556BF:: @ 81556BF
end
SlateportCity_House1_EventScript_1556C9:: @ 81556C9
- specialval RESULT, ScriptGetPartyMonSpecies
+ specialvar RESULT, ScriptGetPartyMonSpecies
compare RESULT, SPECIES_EGG
- jumpeq SlateportCity_House1_EventScript_15571C
+ goto_if_eq SlateportCity_House1_EventScript_15571C
special sub_80BFAE0
special sub_80BFB10
compare RESULT, 1
- jumpeq SlateportCity_House1_EventScript_155726
- specialval RESULT, sub_810F96C
+ goto_if_eq SlateportCity_House1_EventScript_155726
+ specialvar RESULT, sub_810F96C
special sub_80BFAE0
compare RESULT, 1
- jumpeq SlateportCity_House1_EventScript_155726
+ goto_if_eq SlateportCity_House1_EventScript_155726
msgbox SlateportCity_House1_Text_17D505, 5
compare RESULT, 1
- jumpeq SlateportCity_House1_EventScript_155730
+ goto_if_eq SlateportCity_House1_EventScript_155730
compare RESULT, 0
- jumpeq SlateportCity_House1_EventScript_1556BF
+ goto_if_eq SlateportCity_House1_EventScript_1556BF
end
SlateportCity_House1_EventScript_15571C:: @ 815571C
@@ -58,10 +58,10 @@ SlateportCity_House1_EventScript_155726:: @ 8155726
SlateportCity_House1_EventScript_155730:: @ 8155730
msgbox SlateportCity_House1_Text_17D580, 4
call SlateportCity_House1_EventScript_1A0678
- specialval RESULT, sub_80BF9B4
+ specialvar RESULT, sub_80BF9B4
special sub_80BFAE0
compare RESULT, 1
- jumpeq SlateportCity_House1_EventScript_15575A
+ goto_if_eq SlateportCity_House1_EventScript_15575A
msgbox SlateportCity_House1_Text_17D63A, 4
release
end