summaryrefslogtreecommitdiff
path: root/scripts/seafoamislands1.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/seafoamislands1.asm')
-rwxr-xr-xscripts/seafoamislands1.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/seafoamislands1.asm b/scripts/seafoamislands1.asm
index 89972aca..542afe18 100755
--- a/scripts/seafoamislands1.asm
+++ b/scripts/seafoamislands1.asm
@@ -1,6 +1,6 @@
SeafoamIslands1Script: ; 447e9 (11:47e9)
call EnableAutoTextBoxDrawing
- SetEvent EVENT_500
+ SetEvent EVENT_IN_SEAFOAM_ISLANDS
ld hl, wFlags_0xcd60
bit 7, [hl]
res 7, [hl]
@@ -8,18 +8,18 @@ SeafoamIslands1Script: ; 447e9 (11:47e9)
ld hl, Seafoam1HolesCoords
call CheckBoulderCoords
ret nc
- EventFlagAddress hl, EVENT_50E
+ EventFlagAddress hl, EVENT_SEAFOAM1_BOULDER1_DOWN_HOLE
ld a, [wCoordIndex]
cp $1
jr nz, .asm_44819
- SetEventReuseHL EVENT_50E
+ SetEventReuseHL EVENT_SEAFOAM1_BOULDER1_DOWN_HOLE
ld a, HS_SEAFOAM_ISLANDS_1_BOULDER_1
ld [wd079], a
ld a, HS_SEAFOAM_ISLANDS_2_BOULDER_1
ld [wd07a], a
jr .asm_44825
.asm_44819
- SetEventAfterBranchReuseHL EVENT_50F, EVENT_50E
+ SetEventAfterBranchReuseHL EVENT_SEAFOAM1_BOULDER2_DOWN_HOLE, EVENT_SEAFOAM1_BOULDER1_DOWN_HOLE
ld a, HS_SEAFOAM_ISLANDS_1_BOULDER_2
ld [wd079], a
ld a, HS_SEAFOAM_ISLANDS_2_BOULDER_2