summaryrefslogtreecommitdiff
path: root/maps/SlowpokeWellB1F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/SlowpokeWellB1F.asm')
-rw-r--r--maps/SlowpokeWellB1F.asm49
1 files changed, 30 insertions, 19 deletions
diff --git a/maps/SlowpokeWellB1F.asm b/maps/SlowpokeWellB1F.asm
index 27b397543..f3d20e993 100644
--- a/maps/SlowpokeWellB1F.asm
+++ b/maps/SlowpokeWellB1F.asm
@@ -1,3 +1,14 @@
+const_value set 2
+ const SLOWPOKEWELLB1F_ROCKET1
+ const SLOWPOKEWELLB1F_ROCKET2
+ const SLOWPOKEWELLB1F_ROCKET3
+ const SLOWPOKEWELLB1F_ROCKET_GIRL
+ const SLOWPOKEWELLB1F_SLOWPOKE1
+ const SLOWPOKEWELLB1F_SLOWPOKE2
+ const SLOWPOKEWELLB1F_KURT
+ const SLOWPOKEWELLB1F_BOULDER
+ const SLOWPOKEWELLB1F_POKE_BALL
+
SlowpokeWellB1F_MapScriptHeader:
.MapTriggers:
db 0
@@ -12,11 +23,11 @@ TrainerGruntM29:
trainer EVENT_BEAT_ROCKET_GRUNTM_29, GRUNTM, 29, GruntM29SeenText, GruntM29BeatenText, 0, GruntM29Script
GruntM29Script:
- talkaftercancel
+ end_if_just_battled
loadfont
writetext TrainerGruntM29SlowpokeProfitText
+ waitbutton
closetext
- loadmovesprites
end
TrainerGruntM1:
@@ -25,25 +36,25 @@ TrainerGruntM1:
GruntM1Script:
loadfont
writetext TrainerGruntM1WhenTalkText
+ waitbutton
closetext
- loadmovesprites
special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes
- disappear $2
- disappear $3
- disappear $4
- disappear $5
+ disappear SLOWPOKEWELLB1F_ROCKET1
+ disappear SLOWPOKEWELLB1F_ROCKET2
+ disappear SLOWPOKEWELLB1F_ROCKET3
+ disappear SLOWPOKEWELLB1F_ROCKET_GIRL
pause 15
special Special_FadeInQuickly
- disappear $8
- moveperson $8, $b, $6
- appear $8
- applymovement $8, KurtSlowpokeWellVictoryMovementData
+ disappear SLOWPOKEWELLB1F_KURT
+ moveperson SLOWPOKEWELLB1F_KURT, $b, $6
+ appear SLOWPOKEWELLB1F_KURT
+ applymovement SLOWPOKEWELLB1F_KURT, KurtSlowpokeWellVictoryMovementData
spriteface PLAYER, RIGHT
loadfont
writetext KurtLeaveSlowpokeWellText
+ waitbutton
closetext
- loadmovesprites
setevent EVENT_CLEARED_SLOWPOKE_WELL
variablesprite SPRITE_AZALEA_ROCKET, SPRITE_SILVER
domaptrigger AZALEA_TOWN, $1
@@ -66,22 +77,22 @@ TrainerGruntM2:
trainer EVENT_BEAT_ROCKET_GRUNTM_2, GRUNTM, 2, GruntM2SeenText, GruntM2BeatenText, 0, GruntM2Script
GruntM2Script:
- talkaftercancel
+ end_if_just_battled
loadfont
writetext UnknownText_0x5aaf2
+ waitbutton
closetext
- loadmovesprites
end
TrainerGruntF1:
trainer EVENT_BEAT_ROCKET_GRUNTF_1, GRUNTF, 1, GruntF1SeenText, GruntF1BeatenText, 0, GruntF1Script
GruntF1Script:
- talkaftercancel
+ end_if_just_battled
loadfont
writetext UnknownText_0x5ab8d
+ waitbutton
closetext
- loadmovesprites
end
SlowpokeScript_0x5a681:
@@ -91,13 +102,13 @@ SlowpokeScript_0x5a681:
writetext UnknownText_0x5abcb
yesorno
iftrue UnknownScript_0x5a68f
- loadmovesprites
+ closetext
end
UnknownScript_0x5a68f:
writetext UnknownText_0x5ac09
+ waitbutton
closetext
- loadmovesprites
end
SlowpokeScript_0x5a695:
@@ -105,8 +116,8 @@ SlowpokeScript_0x5a695:
loadfont
writetext UnknownText_0x5ac61
cry SLOWPOKE
+ waitbutton
closetext
- loadmovesprites
end
SlowpokeWellB1FBoulder: