aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/SeafoamIslandsB4F.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /scripts/SeafoamIslandsB4F.asm
parentMerge pull request #55 from Deokishisu/patch-1 (diff)
downloadpokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.gz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.xz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.zip
Sync with pokered
Diffstat (limited to 'scripts/SeafoamIslandsB4F.asm')
-rwxr-xr-xscripts/SeafoamIslandsB4F.asm57
1 files changed, 25 insertions, 32 deletions
diff --git a/scripts/SeafoamIslandsB4F.asm b/scripts/SeafoamIslandsB4F.asm
index 1383a561..1dd0b7f9 100755
--- a/scripts/SeafoamIslandsB4F.asm
+++ b/scripts/SeafoamIslandsB4F.asm
@@ -54,11 +54,11 @@ SeafoamIslands5Script0:
ret
.Coords
- db $11,$14
- db $11,$15
- db $10,$14
- db $10,$15
- db $FF
+ dbmapcoord 20, 17
+ dbmapcoord 21, 17
+ dbmapcoord 20, 16
+ dbmapcoord 21, 16
+ db -1 ; end
SeafoamIslands5Script1:
ld a, [wSimulatedJoypadStatesIndex]
@@ -97,21 +97,21 @@ SeafoamIslands5Script2:
ret
.Coords
- db $0E,$04
- db $0E,$05
- db $FF
+ dbmapcoord 4, 14
+ dbmapcoord 5, 14
+ db -1 ; end
RLEMovementData_46852:
- db D_UP,$03
- db D_RIGHT,$02
- db D_UP,$01
- db $FF
+ db D_UP, 3
+ db D_RIGHT, 2
+ db D_UP, 1
+ db -1 ; end
RLEMovementData_46859:
- db D_UP,$03
- db D_RIGHT,$03
- db D_UP,$01
- db $FF
+ db D_UP, 3
+ db D_RIGHT, 3
+ db D_UP, 1
+ db -1 ; end
SeafoamIslands5Script3:
ld a, [wSimulatedJoypadStatesIndex]
@@ -139,18 +139,11 @@ SeafoamIslandsB4F_TextPointers:
dw SeafoamIslands5Text5
ArticunoTrainerHeader:
- dbEventFlagBit EVENT_BEAT_ARTICUNO
- db ($0 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_ARTICUNO
- dw ArticunoBattleText ; TextBeforeBattle
- dw ArticunoBattleText ; TextAfterBattle
- dw ArticunoBattleText ; TextEndBattle
- dw ArticunoBattleText ; TextEndBattle
-
- db $ff
+ trainer EVENT_BEAT_ARTICUNO, 0, ArticunoBattleText, ArticunoBattleText, ArticunoBattleText
+ db -1 ; end
ArticunoText:
- TX_ASM
+ text_asm
ld hl, ArticunoTrainerHeader
call TalkToTrainer
ld a, $4
@@ -158,17 +151,17 @@ ArticunoText:
jp TextScriptEnd
ArticunoBattleText:
- TX_FAR _ArticunoBattleText
- TX_ASM
+ text_far _ArticunoBattleText
+ text_asm
ld a, ARTICUNO
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
SeafoamIslands5Text4:
- TX_FAR _SeafoamIslands5Text4
- db "@"
+ text_far _SeafoamIslands5Text4
+ text_end
SeafoamIslands5Text5:
- TX_FAR _SeafoamIslands5Text5
- db "@"
+ text_far _SeafoamIslands5Text5
+ text_end