summaryrefslogtreecommitdiff
path: root/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc')
-rw-r--r--data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc b/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc
index ed6818fa0..932334f02 100644
--- a/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc
+++ b/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc
@@ -22,16 +22,16 @@ LittlerootTown_BrendansHouse_2F_MapScript2_1527DA:: @ 81527DA
LittlerootTown_BrendansHouse_2F_EventScript_1527E4:: @ 81527E4
checkplayergender
- compare RESULT, 0
+ compare VAR_RESULT, 0
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1A2F68
end
@ 81527F1
lockall
checkplayergender
- compare RESULT, 0
+ compare VAR_RESULT, 0
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_15280A
- compare RESULT, 1
+ compare VAR_RESULT, 1
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_152814
end
@@ -50,14 +50,14 @@ gUnknown_0815281E:: @ 815281E
LittlerootTown_BrendansHouse_2F_EventScript_15281E:: @ 815281E
lockall
checkplayergender
- compare RESULT, 0
+ compare VAR_RESULT, 0
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_152837
- compare RESULT, 1
+ compare VAR_RESULT, 1
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_15285D
end
LittlerootTown_BrendansHouse_2F_EventScript_152837:: @ 8152837
- setvar VAR_SPECIAL_4, 1
+ setvar VAR_0x8004, 1
special DoPCTurnOnEffect
playse SE_PC_ON
msgbox LittlerootTown_BrendansHouse_2F_Text_1A10D6, 4
@@ -67,7 +67,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_152837:: @ 8152837
end
gBrendanHouse_TurnPCOff:: @ 8152850
- setvar VAR_SPECIAL_4, 1
+ setvar VAR_0x8004, 1
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall