summaryrefslogtreecommitdiff
path: root/maps/FastShipCabins_NNW_NNE_NE.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/FastShipCabins_NNW_NNE_NE.asm')
-rw-r--r--maps/FastShipCabins_NNW_NNE_NE.asm263
1 files changed, 64 insertions, 199 deletions
diff --git a/maps/FastShipCabins_NNW_NNE_NE.asm b/maps/FastShipCabins_NNW_NNE_NE.asm
index f23610f00..979ede647 100644
--- a/maps/FastShipCabins_NNW_NNE_NE.asm
+++ b/maps/FastShipCabins_NNW_NNE_NE.asm
@@ -1,186 +1,77 @@
-FastShipCabins_NNW_NNE_NE_MapScriptHeader: ; 0x75577
- ; trigger count
+FastShipCabins_NNW_NNE_NE_MapScriptHeader:
+.MapTriggers:
db 0
- ; callback count
+.MapCallbacks:
db 0
-; 0x75579
-TrainerCooltrainermSean: ; 0x75579
- ; bit/flag number
- dw $557
+TrainerCooltrainermSean:
+ trainer EVENT_BEAT_COOLTRAINERM_SEAN, COOLTRAINERM, SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, $0000, CooltrainermSeanScript
- ; trainer group && trainer id
- db COOLTRAINERM, SEAN
-
- ; text when seen
- dw CooltrainermSeanSeenText
-
- ; text when trainer beaten
- dw CooltrainermSeanBeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw CooltrainermSeanScript
-; 0x75585
-
-CooltrainermSeanScript: ; 0x75585
+CooltrainermSeanScript:
talkaftercancel
loadfont
writetext UnknownText_0x7567b
closetext
loadmovesprites
end
-; 0x7558d
-
-TrainerCooltrainerfCarol: ; 0x7558d
- ; bit/flag number
- dw $567
-
- ; trainer group && trainer id
- db COOLTRAINERF, CAROL
-
- ; text when seen
- dw CooltrainerfCarolSeenText
- ; text when trainer beaten
- dw CooltrainerfCarolBeatenText
+TrainerCooltrainerfCarol:
+ trainer EVENT_BEAT_COOLTRAINERF_CAROL, COOLTRAINERF, CAROL, CooltrainerfCarolSeenText, CooltrainerfCarolBeatenText, $0000, CooltrainerfCarolScript
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw CooltrainerfCarolScript
-; 0x75599
-
-CooltrainerfCarolScript: ; 0x75599
+CooltrainerfCarolScript:
talkaftercancel
loadfont
writetext UnknownText_0x756f7
closetext
loadmovesprites
end
-; 0x755a1
-
-TrainerPokemaniacEthan: ; 0x755a1
- ; bit/flag number
- dw $4eb
-
- ; trainer group && trainer id
- db POKEMANIAC, ETHAN
-
- ; text when seen
- dw PokemaniacEthanSeenText
-
- ; text when trainer beaten
- dw PokemaniacEthanBeatenText
-
- ; script when lost
- dw $0000
- ; script when talk again
- dw PokemaniacEthanScript
-; 0x755ad
+TrainerPokemaniacEthan:
+ trainer EVENT_BEAT_POKEMANIAC_ETHAN, POKEMANIAC, ETHAN, PokemaniacEthanSeenText, PokemaniacEthanBeatenText, $0000, PokemaniacEthanScript
-PokemaniacEthanScript: ; 0x755ad
+PokemaniacEthanScript:
talkaftercancel
loadfont
writetext UnknownText_0x7574b
closetext
loadmovesprites
end
-; 0x755b5
-TrainerHikerNoland: ; 0x755b5
- ; bit/flag number
- dw $531
+TrainerHikerNoland:
+ trainer EVENT_BEAT_HIKER_NOLAND, HIKER, NOLAND, HikerNolandSeenText, HikerNolandBeatenText, $0000, HikerNolandScript
- ; trainer group && trainer id
- db HIKER, NOLAND
-
- ; text when seen
- dw HikerNolandSeenText
-
- ; text when trainer beaten
- dw HikerNolandBeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw HikerNolandScript
-; 0x755c1
-
-HikerNolandScript: ; 0x755c1
+HikerNolandScript:
talkaftercancel
loadfont
writetext UnknownText_0x757d4
closetext
loadmovesprites
end
-; 0x755c9
-
-TrainerGentlemanEdward: ; 0x755c9
- ; bit/flag number
- dw $49b
-
- ; trainer group && trainer id
- db GENTLEMAN, EDWARD
-
- ; text when seen
- dw GentlemanEdwardSeenText
- ; text when trainer beaten
- dw GentlemanEdwardBeatenText
+TrainerGentlemanEdward:
+ trainer EVENT_BEAT_GENTLEMAN_EDWARD, GENTLEMAN, EDWARD, GentlemanEdwardSeenText, GentlemanEdwardBeatenText, $0000, GentlemanEdwardScript
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw GentlemanEdwardScript
-; 0x755d5
-
-GentlemanEdwardScript: ; 0x755d5
+GentlemanEdwardScript:
talkaftercancel
loadfont
writetext UnknownText_0x75937
closetext
loadmovesprites
end
-; 0x755dd
-
-TrainerBurglarCorey: ; 0x755dd
- ; bit/flag number
- dw $42f
-
- ; trainer group && trainer id
- db BURGLAR, COREY
-
- ; text when seen
- dw BurglarCoreySeenText
-
- ; text when trainer beaten
- dw BurglarCoreyBeatenText
-
- ; script when lost
- dw $0000
- ; script when talk again
- dw BurglarCoreyScript
-; 0x755e9
+TrainerBurglarCorey:
+ trainer EVENT_BEAT_BURGLAR_COREY, BURGLAR, COREY, BurglarCoreySeenText, BurglarCoreyBeatenText, $0000, BurglarCoreyScript
-BurglarCoreyScript: ; 0x755e9
+BurglarCoreyScript:
talkaftercancel
loadfont
writetext UnknownText_0x75996
closetext
loadmovesprites
end
-; 0x755f1
-SailorScript_0x755f1: ; 0x755f1
+SailorScript_0x755f1:
playmusic MUSIC_HIKER_ENCOUNTER
faceplayer
loadfont
@@ -192,42 +83,39 @@ SailorScript_0x755f1: ; 0x755f1
startbattle
reloadmap
special HealParty
- setevent $057d
+ setevent EVENT_BEAT_SAILOR_STANLY
loadfont
writetext UnknownText_0x758b1
closetext
loadmovesprites
- setevent $0033
+ setevent EVENT_FAST_SHIP_LAZY_SAILOR
domaptrigger GROUP_FAST_SHIP_B1F, MAP_FAST_SHIP_B1F, $1
- checkcode $9
+ checkcode VAR_FACING
if_equal $3, UnknownScript_0x75629
applymovement $6, MovementData_0x75637
playsound SFX_EXIT_BUILDING
disappear $6
waitbutton
end
-; 0x75629
-UnknownScript_0x75629: ; 0x75629
+UnknownScript_0x75629:
applymovement $6, MovementData_0x7563c
playsound SFX_EXIT_BUILDING
disappear $6
waitbutton
end
-; 0x75634
FastShipCabins_NNW_NNE_NETrashcan:
jumpstd trashcan
-MovementData_0x75637: ; 0x75637
+MovementData_0x75637:
step_left
step_left
step_up
step_up
step_end
-; 0x7563c
-MovementData_0x7563c: ; 0x7563c
+MovementData_0x7563c:
step_down
step_left
step_left
@@ -235,59 +123,50 @@ MovementData_0x7563c: ; 0x7563c
step_up
step_up
step_end
-; 0x75643
-CooltrainermSeanSeenText: ; 0x75643
+CooltrainermSeanSeenText:
text "I'm going to KANTO"
line "to test my skills."
done
-; 0x75669
-CooltrainermSeanBeatenText: ; 0x75669
+CooltrainermSeanBeatenText:
text "I wanted to win!"
done
-; 0x7567b
-UnknownText_0x7567b: ; 0x7567b
+UnknownText_0x7567b:
text "Trainers from"
line "JOHTO can battle"
para "with KANTO GYM"
line "LEADERS."
done
-; 0x756b3
-CooltrainerfCarolSeenText: ; 0x756b3
+CooltrainerfCarolSeenText:
text "I'm training to"
line "become the CHAMP!"
done
-; 0x756d5
-CooltrainerfCarolBeatenText: ; 0x756d5
+CooltrainerfCarolBeatenText:
text "What's so differ-"
line "ent between us?"
done
-; 0x756f7
-UnknownText_0x756f7: ; 0x756f7
+UnknownText_0x756f7:
text "I'm going to beat"
line "you someday!"
done
-; 0x75716
-PokemaniacEthanSeenText: ; 0x75716
+PokemaniacEthanSeenText:
text "Do you know LILY?"
line "She's a hot DJ in"
cont "KANTO."
done
-; 0x75741
-PokemaniacEthanBeatenText: ; 0x75741
+PokemaniacEthanBeatenText:
text "Gyaaaah!"
done
-; 0x7574b
-UnknownText_0x7574b: ; 0x7574b
+UnknownText_0x7574b:
text "LILY's nice, but"
line "MARY's the best!"
@@ -295,30 +174,26 @@ UnknownText_0x7574b: ; 0x7574b
line "out JOHTO's radio"
cont "programs!"
done
-; 0x75797
-HikerNolandSeenText: ; 0x75797
+HikerNolandSeenText:
text "Are you alone?"
line "Then let's battle!"
done
-; 0x757b9
-HikerNolandBeatenText: ; 0x757b9
+HikerNolandBeatenText:
text "That's too much to"
line "handle!"
done
-; 0x757d4
-UnknownText_0x757d4: ; 0x757d4
+UnknownText_0x757d4:
text "I wonder if there"
line "are any mountains"
para "worth climbing in"
line "KANTO?"
done
-; 0x75812
-UnknownText_0x75812: ; 0x75812
+UnknownText_0x75812:
text "Yeah, I'm a sail-"
line "or, all right."
@@ -332,91 +207,81 @@ UnknownText_0x75812: ; 0x75812
para "Ah, forget it!"
line "Let's battle!"
done
-; 0x75897
-UnknownText_0x75897: ; 0x75897
+UnknownText_0x75897:
text "Sorry! It's all my"
line "fault!"
done
-; 0x758b1
-UnknownText_0x758b1: ; 0x758b1
+UnknownText_0x758b1:
text "Being a sailor, I"
line "have to do phys-"
cont "ical labor. It's"
cont "exhausting!"
done
-; 0x758f1
-GentlemanEdwardSeenText: ; 0x758f1
+GentlemanEdwardSeenText:
text "Oh, no. I've lost"
line "something that's"
cont "very important."
done
-; 0x75923
-GentlemanEdwardBeatenText: ; 0x75923
+GentlemanEdwardBeatenText:
text "I… I can't find"
line "it…"
done
-; 0x75937
-UnknownText_0x75937: ; 0x75937
+UnknownText_0x75937:
text "I give up."
line "You don't have to"
para "look. Just forget"
line "about it!"
done
-; 0x75970
-BurglarCoreySeenText: ; 0x75970
+BurglarCoreySeenText:
text "Yeehaw!"
line "Lucky!"
done
-; 0x75980
-BurglarCoreyBeatenText: ; 0x75980
+BurglarCoreyBeatenText:
text "How unlucky!"
line "I lost!"
done
-; 0x75996
-UnknownText_0x75996: ; 0x75996
+UnknownText_0x75996:
text "I found a pretty"
line "coin here."
para "Someone must have"
line "lost it…"
done
-; 0x759ce
-FastShipCabins_NNW_NNE_NE_MapEventHeader: ; 0x759ce
+FastShipCabins_NNW_NNE_NE_MapEventHeader:
; filler
db 0, 0
- ; warps
+.Warps:
db 3
warp_def $0, $2, 2, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F
warp_def $c, $2, 3, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F
warp_def $18, $2, 4, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F
- ; xy triggers
+.XYTriggers:
db 0
- ; signposts
+.Signposts:
db 3
- signpost 13, 6, $0, FastShipCabins_NNW_NNE_NETrashcan
- signpost 19, 7, $0, FastShipCabins_NNW_NNE_NETrashcan
- signpost 31, 7, $0, FastShipCabins_NNW_NNE_NETrashcan
+ signpost 13, 6, SIGNPOST_READ, FastShipCabins_NNW_NNE_NETrashcan
+ signpost 19, 7, SIGNPOST_READ, FastShipCabins_NNW_NNE_NETrashcan
+ signpost 31, 7, SIGNPOST_READ, FastShipCabins_NNW_NNE_NETrashcan
- ; people-events
+.PersonEvents:
db 7
- person_event SPRITE_COOLTRAINER_M, 7, 8, $a, $0, 255, 255, $82, 2, TrainerCooltrainermSean, $073a
- person_event SPRITE_COOLTRAINER_F, 9, 5, $7, $0, 255, 255, $82, 3, TrainerCooltrainerfCarol, $073a
- person_event SPRITE_SUPER_NERD, 9, 5, $7, $0, 255, 255, $92, 3, TrainerPokemaniacEthan, $073b
- person_event SPRITE_POKEFAN_M, 21, 8, $7, $0, 255, 255, $b2, 3, TrainerHikerNoland, $0739
- person_event SPRITE_SAILOR, 30, 8, $3, $0, 255, 255, $90, 0, SailorScript_0x755f1, $072d
- person_event SPRITE_GENTLEMAN, 34, 11, $3, $0, 255, 255, $92, 1, TrainerGentlemanEdward, $073a
- person_event SPRITE_PHARMACIST, 34, 6, $7, $0, 255, 255, $a2, 4, TrainerBurglarCorey, $073b
-; 0x75a4d
+ person_event SPRITE_COOLTRAINER_M, 7, 8, OW_LEFT | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 2, TrainerCooltrainermSean, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
+ person_event SPRITE_COOLTRAINER_F, 9, 5, OW_UP | $3, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerCooltrainerfCarol, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
+ person_event SPRITE_SUPER_NERD, 9, 5, OW_UP | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerPokemaniacEthan, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
+ person_event SPRITE_POKEFAN_M, 21, 8, OW_UP | $3, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 3, TrainerHikerNoland, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
+ person_event SPRITE_SAILOR, 30, 8, OW_DOWN | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, SailorScript_0x755f1, EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
+ person_event SPRITE_GENTLEMAN, 34, 11, OW_DOWN | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 1, TrainerGentlemanEdward, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
+ person_event SPRITE_PHARMACIST, 34, 6, OW_UP | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 4, TrainerBurglarCorey, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND