summaryrefslogtreecommitdiff
path: root/scripts/mansion1.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-21 10:36:03 -0700
committerYamaArashi <shadow962@live.com>2015-07-21 10:36:03 -0700
commit73171bfff573fa8900563319c014f3e626db6b3e (patch)
tree402ca266578eb759a30f52e05b031bad93d45ee6 /scripts/mansion1.asm
parentcbcdb2ec2a013beba4f321988e393419a8eed10e (diff)
named most of the used events
Diffstat (limited to 'scripts/mansion1.asm')
-rwxr-xr-xscripts/mansion1.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mansion1.asm b/scripts/mansion1.asm
index ff8707e0..7d349276 100755
--- a/scripts/mansion1.asm
+++ b/scripts/mansion1.asm
@@ -13,7 +13,7 @@ Mansion1Subscript1: ; 442c5 (11:42c5)
bit 5, [hl]
res 5, [hl]
ret z
- CheckEvent EVENT_278
+ CheckEvent EVENT_MANSION_SWITCH_ON
jr nz, .asm_442ec
ld bc, $060c
call Mansion1Script_4430b
@@ -112,9 +112,9 @@ Mansion1Text4: ; 4435a (11:435a)
call PrintText
ld a, SFX_GO_INSIDE
call PlaySound
- CheckAndSetEvent EVENT_278
+ CheckAndSetEvent EVENT_MANSION_SWITCH_ON
jr z, .asm_44392
- ResetEventReuseHL EVENT_278
+ ResetEventReuseHL EVENT_MANSION_SWITCH_ON
jr .asm_44392
.asm_4438c
ld hl, MansionSwitchNotPressedText