summaryrefslogtreecommitdiff
path: root/scripts/seafoamislands2.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-20 18:32:02 -0700
committerYamaArashi <shadow962@live.com>2015-07-20 18:32:26 -0700
commitfcab935a0f449246380480613ac0896e0b90a0d8 (patch)
tree60391cf3fa91cc8173d13cc9fd75c050d9898e0c /scripts/seafoamislands2.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/seafoamislands2.asm')
-rwxr-xr-xscripts/seafoamislands2.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/seafoamislands2.asm b/scripts/seafoamislands2.asm
index a62d6bda..c24ba601 100755
--- a/scripts/seafoamislands2.asm
+++ b/scripts/seafoamislands2.asm
@@ -7,18 +7,18 @@ SeafoamIslands2Script: ; 46315 (11:6315)
ld hl, Seafoam2HolesCoords
call CheckBoulderCoords
ret nc
- ld hl, wd87f
+ EventFlagAddress hl, EVENT_9C0
ld a, [wCoordIndex]
cp $1
jr nz, .asm_46340
- set 0, [hl]
+ SetEventReuseHL EVENT_9C0
ld a, HS_SEAFOAM_ISLANDS_2_BOULDER_1
ld [wd079], a
ld a, HS_SEAFOAM_ISLANDS_3_BOULDER_1
ld [wd07a], a
jr .asm_4634c
.asm_46340
- set 1, [hl]
+ SetEventAfterBranchReuseHL EVENT_9C1, EVENT_9C0
ld a, HS_SEAFOAM_ISLANDS_2_BOULDER_2
ld [wd079], a
ld a, HS_SEAFOAM_ISLANDS_3_BOULDER_2