summaryrefslogtreecommitdiff
path: root/maps/SlowpokeWellB1F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/SlowpokeWellB1F.asm')
-rw-r--r--maps/SlowpokeWellB1F.asm69
1 files changed, 40 insertions, 29 deletions
diff --git a/maps/SlowpokeWellB1F.asm b/maps/SlowpokeWellB1F.asm
index 27b397543..b905140f8 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,38 +23,38 @@ TrainerGruntM29:
trainer EVENT_BEAT_ROCKET_GRUNTM_29, GRUNTM, 29, GruntM29SeenText, GruntM29BeatenText, 0, GruntM29Script
GruntM29Script:
- talkaftercancel
- loadfont
+ end_if_just_battled
+ opentext
writetext TrainerGruntM29SlowpokeProfitText
+ waitbutton
closetext
- loadmovesprites
end
TrainerGruntM1:
trainer EVENT_BEAT_ROCKET_GRUNTM_1, GRUNTM, 1, GruntM1SeenText, GruntM1BeatenText, 0, GruntM1Script
GruntM1Script:
- loadfont
+ opentext
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
+ opentext
writetext KurtLeaveSlowpokeWellText
+ waitbutton
closetext
- loadmovesprites
setevent EVENT_CLEARED_SLOWPOKE_WELL
variablesprite SPRITE_AZALEA_ROCKET, SPRITE_SILVER
domaptrigger AZALEA_TOWN, $1
@@ -66,54 +77,54 @@ TrainerGruntM2:
trainer EVENT_BEAT_ROCKET_GRUNTM_2, GRUNTM, 2, GruntM2SeenText, GruntM2BeatenText, 0, GruntM2Script
GruntM2Script:
- talkaftercancel
- loadfont
+ end_if_just_battled
+ opentext
writetext UnknownText_0x5aaf2
+ waitbutton
closetext
- loadmovesprites
end
TrainerGruntF1:
trainer EVENT_BEAT_ROCKET_GRUNTF_1, GRUNTF, 1, GruntF1SeenText, GruntF1BeatenText, 0, GruntF1Script
GruntF1Script:
- talkaftercancel
- loadfont
+ end_if_just_battled
+ opentext
writetext UnknownText_0x5ab8d
+ waitbutton
closetext
- loadmovesprites
end
SlowpokeScript_0x5a681:
faceplayer
- loadfont
+ opentext
cry SLOWPOKE
writetext UnknownText_0x5abcb
yesorno
iftrue UnknownScript_0x5a68f
- loadmovesprites
+ closetext
end
UnknownScript_0x5a68f:
writetext UnknownText_0x5ac09
+ waitbutton
closetext
- loadmovesprites
end
SlowpokeScript_0x5a695:
faceplayer
- loadfont
+ opentext
writetext UnknownText_0x5ac61
cry SLOWPOKE
+ waitbutton
closetext
- loadmovesprites
end
SlowpokeWellB1FBoulder:
jumpstd strengthboulder
-ItemFragment_0x5a6a3:
- db SUPER_POTION, 1
+SlowpokeWellB1FSuperPotion:
+ itemball SUPER_POTION
KurtSlowpokeWellVictoryMovementData:
step_left
@@ -334,4 +345,4 @@ SlowpokeWellB1F_MapEventHeader:
person_event SPRITE_SLOWPOKE, 2, 6, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, SlowpokeScript_0x5a695, EVENT_SLOWPOKE_WELL_SLOWPOKES
person_event SPRITE_KURT, 14, 16, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, KurtScript_0x5a5d5, EVENT_SLOWPOKE_WELL_KURT
person_event SPRITE_BOULDER, 2, 3, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SlowpokeWellB1FBoulder, -1
- person_event SPRITE_POKE_BALL, 3, 10, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x5a6a3, EVENT_SLOWPOKE_WELL_B1F_SUPER_POTION
+ person_event SPRITE_POKE_BALL, 3, 10, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, SlowpokeWellB1FSuperPotion, EVENT_SLOWPOKE_WELL_B1F_SUPER_POTION