diff options
Diffstat (limited to 'maps/FastShipCabins_SE_SSE_CaptainsCabin.asm')
-rw-r--r-- | maps/FastShipCabins_SE_SSE_CaptainsCabin.asm | 373 |
1 files changed, 100 insertions, 273 deletions
diff --git a/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm b/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm index 0d570efc4..5376c64cd 100644 --- a/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm +++ b/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm @@ -1,34 +1,30 @@ -FastShipCabins_SE_SSE_CaptainsCabin_MapScriptHeader: ; 0x75ea4 - ; trigger count +FastShipCabins_SE_SSE_CaptainsCabin_MapScriptHeader: +.MapTriggers: db 0 - ; callback count +.MapCallbacks: db 0 -; 0x75ea6 -UnknownScript_0x75ea6: ; 0x75ea6 +UnknownScript_0x75ea6: end -; 0x75ea7 -CaptainScript_0x75ea7: ; 0x75ea7 +CaptainScript_0x75ea7: faceplayer loadfont - checkevent $0030 + checkevent EVENT_FAST_SHIP_FIRST_TIME iftrue UnknownScript_0x75eb5 writetext UnknownText_0x76012 closetext loadmovesprites end -; 0x75eb5 -UnknownScript_0x75eb5: ; 0x75eb5 +UnknownScript_0x75eb5: writetext UnknownText_0x76064 closetext loadmovesprites end -; 0x75ebb -TwinScript_0x75ebb: ; 0x75ebb +TwinScript_0x75ebb: spriteface $5, RIGHT loadfont writetext UnknownText_0x761e0 @@ -39,65 +35,62 @@ TwinScript_0x75ebb: ; 0x75ebb writetext UnknownText_0x7621f closetext loadmovesprites - special Function8c0b6 - special Functiond91 + special Special_FadeBlackQuickly + special Special_ReloadSpritesNoPalettes disappear $5 applymovement $0, MovementData_0x76004 moveperson $4, $3, $13 appear $4 spriteface $0, UP spriteface $4, UP - special Function8c0ab + special Special_FadeInQuickly spriteface $3, DOWN - showemote $0, $3, 15 + showemote EMOTE_SHOCK, $3, 15 applymovement $4, MovementData_0x7600c spriteface $3, RIGHT - checkflag $0063 + checkflag ENGINE_PLAYER_IS_FEMALE iftrue UnknownScript_0x75f03 loadfont writetext UnknownText_0x76284 closetext loadmovesprites jump UnknownScript_0x75f09 -; 0x75f03 -UnknownScript_0x75f03: ; 0x75f03 +UnknownScript_0x75f03: loadfont writetext UnknownText_0x762c6 closetext loadmovesprites -UnknownScript_0x75f09: ; 0x75f09 +UnknownScript_0x75f09: spriteface $5, DOWN applymovement $3, MovementData_0x76010 loadfont writetext UnknownText_0x76143 keeptextopen - setevent $072b + setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY domaptrigger GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F, $0 jump UnknownScript_0x75f37 -; 0x75f1f -GentlemanScript_0x75f1f: ; 0x75f1f +GentlemanScript_0x75f1f: faceplayer loadfont checkevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA iftrue UnknownScript_0x75f67 - checkevent $0732 + checkevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2 iftrue UnknownScript_0x75f58 writetext UnknownText_0x760ae closetext loadmovesprites domaptrigger GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F, $0 end -; 0x75f37 -UnknownScript_0x75f37: ; 0x75f37 +UnknownScript_0x75f37: writetext UnknownText_0x7619b keeptextopen verbosegiveitem METAL_COAT, 1 iffalse UnknownScript_0x75f44 setevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA -UnknownScript_0x75f44: ; 0x75f44 +UnknownScript_0x75f44: loadmovesprites waitbutton playsound SFX_ELEVATOR_END @@ -105,246 +98,116 @@ UnknownScript_0x75f44: ; 0x75f44 loadfont writetext UnknownText_0x76645 closetext - setevent $0031 - setevent $0032 + setevent EVENT_FAST_SHIP_HAS_ARRIVED + setevent EVENT_FAST_SHIP_FOUND_GIRL loadmovesprites end -; 0x75f58 -UnknownScript_0x75f58: ; 0x75f58 +UnknownScript_0x75f58: writetext UnknownText_0x7619b keeptextopen verbosegiveitem METAL_COAT, 1 iffalse UnknownScript_0x75f65 setevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA -UnknownScript_0x75f65: ; 0x75f65 +UnknownScript_0x75f65: loadmovesprites end -; 0x75f67 -UnknownScript_0x75f67: ; 0x75f67 +UnknownScript_0x75f67: writetext UnknownText_0x761be closetext loadmovesprites end -; 0x75f6d -TwinScript_0x75f6d: ; 0x75f6d +TwinScript_0x75f6d: faceplayer loadfont writetext UnknownText_0x7630d closetext loadmovesprites end -; 0x75f75 -TrainerPokefanmColin: ; 0x75f75 - ; bit/flag number - dw $4d5 +TrainerPokefanmColin: + trainer EVENT_BEAT_POKEFANM_COLIN, POKEFANM, COLIN, PokefanmColinSeenText, PokefanmColinBeatenText, $0000, PokefanmColinScript - ; trainer group && trainer id - db POKEFANM, COLIN - - ; text when seen - dw PokefanmColinSeenText - - ; text when trainer beaten - dw PokefanmColinBeatenText - - ; script when lost - dw $0000 - - ; script when talk again - dw PokefanmColinScript -; 0x75f81 - -PokefanmColinScript: ; 0x75f81 +PokefanmColinScript: talkaftercancel loadfont writetext UnknownText_0x7635b closetext loadmovesprites end -; 0x75f89 - -TrainerTwinsMegandpeg1: ; 0x75f89 - ; bit/flag number - dw $46a - - ; trainer group && trainer id - db TWINS, MEGANDPEG1 - - ; text when seen - dw TwinsMegandpeg1SeenText - - ; text when trainer beaten - dw TwinsMegandpeg1BeatenText - ; script when lost - dw $0000 +TrainerTwinsMegandpeg1: + trainer EVENT_BEAT_TWINS_MEG_AND_PEG, TWINS, MEGANDPEG1, TwinsMegandpeg1SeenText, TwinsMegandpeg1BeatenText, $0000, TwinsMegandpeg1Script - ; script when talk again - dw TwinsMegandpeg1Script -; 0x75f95 - -TwinsMegandpeg1Script: ; 0x75f95 +TwinsMegandpeg1Script: talkaftercancel loadfont writetext UnknownText_0x763c2 closetext loadmovesprites end -; 0x75f9d - -TrainerTwinsMegandpeg2: ; 0x75f9d - ; bit/flag number - dw $46a - - ; trainer group && trainer id - db TWINS, MEGANDPEG2 - - ; text when seen - dw TwinsMegandpeg2SeenText - - ; text when trainer beaten - dw TwinsMegandpeg2BeatenText - ; script when lost - dw $0000 +TrainerTwinsMegandpeg2: + trainer EVENT_BEAT_TWINS_MEG_AND_PEG, TWINS, MEGANDPEG2, TwinsMegandpeg2SeenText, TwinsMegandpeg2BeatenText, $0000, TwinsMegandpeg2Script - ; script when talk again - dw TwinsMegandpeg2Script -; 0x75fa9 - -TwinsMegandpeg2Script: ; 0x75fa9 +TwinsMegandpeg2Script: talkaftercancel loadfont writetext UnknownText_0x76428 closetext loadmovesprites end -; 0x75fb1 - -TrainerPsychicRodney: ; 0x75fb1 - ; bit/flag number - dw $445 - - ; trainer group && trainer id - db PSYCHIC_T, RODNEY - - ; text when seen - dw PsychicRodneySeenText - ; text when trainer beaten - dw PsychicRodneyBeatenText +TrainerPsychicRodney: + trainer EVENT_BEAT_PSYCHIC_RODNEY, PSYCHIC_T, RODNEY, PsychicRodneySeenText, PsychicRodneyBeatenText, $0000, PsychicRodneyScript - ; script when lost - dw $0000 - - ; script when talk again - dw PsychicRodneyScript -; 0x75fbd - -PsychicRodneyScript: ; 0x75fbd +PsychicRodneyScript: talkaftercancel loadfont writetext UnknownText_0x76497 closetext loadmovesprites end -; 0x75fc5 - -TrainerPokefanmJeremy: ; 0x75fc5 - ; bit/flag number - dw $4d4 - - ; trainer group && trainer id - db POKEFANM, JEREMY - - ; text when seen - dw PokefanmJeremySeenText - ; text when trainer beaten - dw PokefanmJeremyBeatenText +TrainerPokefanmJeremy: + trainer EVENT_BEAT_POKEFANM_JEREMY, POKEFANM, JEREMY, PokefanmJeremySeenText, PokefanmJeremyBeatenText, $0000, PokefanmJeremyScript - ; script when lost - dw $0000 - - ; script when talk again - dw PokefanmJeremyScript -; 0x75fd1 - -PokefanmJeremyScript: ; 0x75fd1 +PokefanmJeremyScript: talkaftercancel loadfont writetext UnknownText_0x7651c closetext loadmovesprites end -; 0x75fd9 - -TrainerPokefanfGeorgia: ; 0x75fd9 - ; bit/flag number - dw $4dd - - ; trainer group && trainer id - db POKEFANF, GEORGIA - ; text when seen - dw PokefanfGeorgiaSeenText +TrainerPokefanfGeorgia: + trainer EVENT_BEAT_POKEFANF_GEORGIA, POKEFANF, GEORGIA, PokefanfGeorgiaSeenText, PokefanfGeorgiaBeatenText, $0000, PokefanfGeorgiaScript - ; text when trainer beaten - dw PokefanfGeorgiaBeatenText - - ; script when lost - dw $0000 - - ; script when talk again - dw PokefanfGeorgiaScript -; 0x75fe5 - -PokefanfGeorgiaScript: ; 0x75fe5 +PokefanfGeorgiaScript: talkaftercancel loadfont writetext UnknownText_0x76596 closetext loadmovesprites end -; 0x75fed - -TrainerSupernerdShawn: ; 0x75fed - ; bit/flag number - dw $589 - - ; trainer group && trainer id - db SUPER_NERD, SHAWN - - ; text when seen - dw SupernerdShawnSeenText - - ; text when trainer beaten - dw SupernerdShawnBeatenText - - ; script when lost - dw $0000 - ; script when talk again - dw SupernerdShawnScript -; 0x75ff9 +TrainerSupernerdShawn: + trainer EVENT_BEAT_SUPER_NERD_SHAWN, SUPER_NERD, SHAWN, SupernerdShawnSeenText, SupernerdShawnBeatenText, $0000, SupernerdShawnScript -SupernerdShawnScript: ; 0x75ff9 +SupernerdShawnScript: talkaftercancel loadfont writetext UnknownText_0x7660f closetext loadmovesprites end -; 0x76001 FastShipCaptainsCabinTrashcan: jumpstd trashcan -MovementData_0x76004: ; 0x76004 +MovementData_0x76004: big_step_right big_step_up big_step_up @@ -353,21 +216,18 @@ MovementData_0x76004: ; 0x76004 big_step_up big_step_up step_end -; 0x7600c -MovementData_0x7600c: ; 0x7600c +MovementData_0x7600c: step_up step_up turn_head_left step_end -; 0x76010 -MovementData_0x76010: ; 0x76010 +MovementData_0x76010: step_down step_end -; 0x76012 -UnknownText_0x76012: ; 0x76012 +UnknownText_0x76012: text "Whew! Thanks for" line "coming along." @@ -375,9 +235,8 @@ UnknownText_0x76012: ; 0x76012 line "tle girl amused" cont "was exhausting." done -; 0x76064 -UnknownText_0x76064: ; 0x76064 +UnknownText_0x76064: text "How do you like" line "S.S.AQUA's ride?" @@ -385,9 +244,8 @@ UnknownText_0x76064: ; 0x76064 line "skates across the" cont "waves." done -; 0x760ae -UnknownText_0x760ae: ; 0x760ae +UnknownText_0x760ae: text "Oh, hello…" para "I still can't find" @@ -402,9 +260,8 @@ UnknownText_0x760ae: ; 0x760ae para "be bugging some-" line "one. I'm worried…" done -; 0x76143 -UnknownText_0x76143: ; 0x76143 +UnknownText_0x76143: text "<PLAY_G>, was it?" line "I heard you enter-" cont "tained my grand-" @@ -413,30 +270,26 @@ UnknownText_0x76143: ; 0x76143 para "I want to thank" line "you for that." done -; 0x7619b -UnknownText_0x7619b: ; 0x7619b +UnknownText_0x7619b: text "I know! I'd like" line "you to have this!" done -; 0x761be -UnknownText_0x761be: ; 0x761be +UnknownText_0x761be: text "We're traveling" line "around the world." done -; 0x761e0 -UnknownText_0x761e0: ; 0x761e0 +UnknownText_0x761e0: text "CAPTAIN, play with" line "me, please?" para "I'm bored! I want" line "to play more!" done -; 0x7621f -UnknownText_0x7621f: ; 0x7621f +UnknownText_0x7621f: text "Hi! Will you play" line "with me?" @@ -450,183 +303,157 @@ UnknownText_0x7621f: ; 0x7621f para "I have to go find" line "Grandpa!" done -; 0x76284 -UnknownText_0x76284: ; 0x76284 +UnknownText_0x76284: text "Grandpa, here I" line "am! I was playing" para "with the CAPTAIN" line "and this guy!" done -; 0x762c6 -UnknownText_0x762c6: ; 0x762c6 +UnknownText_0x762c6: text "Grandpa, here I" line "am! I was playing" para "with the CAPTAIN" line "and this big girl!" done -; 0x7630d -UnknownText_0x7630d: ; 0x7630d +UnknownText_0x7630d: text "I had lots of fun" line "playing!" done -; 0x76329 -PokefanmColinSeenText: ; 0x76329 +PokefanmColinSeenText: text "Hey, kid! Want to" line "battle with me?" done -; 0x7634c -PokefanmColinBeatenText: ; 0x7634c +PokefanmColinBeatenText: text "You're strong!" done -; 0x7635b -UnknownText_0x7635b: ; 0x7635b +UnknownText_0x7635b: text "You're traveling" line "all alone?" para "Isn't your mom" line "worried?" done -; 0x7638e -TwinsMegandpeg1SeenText: ; 0x7638e +TwinsMegandpeg1SeenText: text "You think I'm a" line "baby?" cont "That's not fair!" done -; 0x763b4 -TwinsMegandpeg1BeatenText: ; 0x763b4 +TwinsMegandpeg1BeatenText: text "Oh! We lost!" done -; 0x763c2 -UnknownText_0x763c2: ; 0x763c2 +UnknownText_0x763c2: text "Baby is a rude" line "name to call us" cont "girls!" done -; 0x763e9 -TwinsMegandpeg2SeenText: ; 0x763e9 +TwinsMegandpeg2SeenText: text "I'm not a baby!" para "That's not nice to" line "say to a lady!" done -; 0x7641a -TwinsMegandpeg2BeatenText: ; 0x7641a +TwinsMegandpeg2BeatenText: text "Oh! We lost!" done -; 0x76428 -UnknownText_0x76428: ; 0x76428 +UnknownText_0x76428: text "Sometimes, kids" line "are smarter than" cont "grown-ups!" done -; 0x76455 -PsychicRodneySeenText: ; 0x76455 +PsychicRodneySeenText: text "Ssh! My brain is" line "picking up radio" cont "signals!" done -; 0x76481 -PsychicRodneyBeatenText: ; 0x76481 +PsychicRodneyBeatenText: text "…I hear some-" line "thing!" done -; 0x76497 -UnknownText_0x76497: ; 0x76497 +UnknownText_0x76497: text "I get it. You can" line "hear JOHTO's radio" cont "on the FAST SHIP." done -; 0x764ce -PokefanmJeremySeenText: ; 0x764ce +PokefanmJeremySeenText: text "What do you think?" line "My #MON are" cont "beautiful, yes?" done -; 0x764fe -PokefanmJeremyBeatenText: ; 0x764fe +PokefanmJeremyBeatenText: text "Oh, no! My beauti-" line "ful #MON!" done -; 0x7651c -UnknownText_0x7651c: ; 0x7651c +UnknownText_0x7651c: text "I must go to the" line "#MON SALON and" cont "fix them up nice!" done -; 0x7654f -PokefanfGeorgiaSeenText: ; 0x7654f +PokefanfGeorgiaSeenText: text "I'm going to shop" line "at the DEPT.STORE" cont "and then…" done -; 0x7657d -PokefanfGeorgiaBeatenText: ; 0x7657d +PokefanfGeorgiaBeatenText: text "What was I going" line "to do?" done -; 0x76596 -UnknownText_0x76596: ; 0x76596 +UnknownText_0x76596: text "Oh, yes! I have to" line "get my #MON out" cont "of DAY-CARE!" done -; 0x765c7 -SupernerdShawnSeenText: ; 0x765c7 +SupernerdShawnSeenText: text "What kinds of #" line "BALLS do you have" cont "with you?" done -; 0x765f4 -SupernerdShawnBeatenText: ; 0x765f4 +SupernerdShawnBeatenText: text "Wait! Stop! Don't!" line "Please!" done -; 0x7660f -UnknownText_0x7660f: ; 0x7660f +UnknownText_0x7660f: text "You should use the" line "right BALLS to fit" cont "the situation." done -; 0x76645 -UnknownText_0x76645: ; 0x76645 +UnknownText_0x76645: text "FAST SHIP S.S.AQUA" line "has arrived in" cont "VERMILION CITY." done -; 0x76678 -FastShipCabins_SE_SSE_CaptainsCabin_MapEventHeader: ; 0x76678 +FastShipCabins_SE_SSE_CaptainsCabin_MapEventHeader: ; filler db 0, 0 - ; warps +.Warps: db 6 warp_def $7, $2, 8, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F warp_def $7, $3, 8, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F @@ -635,23 +462,23 @@ FastShipCabins_SE_SSE_CaptainsCabin_MapEventHeader: ; 0x76678 warp_def $21, $2, 10, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F warp_def $21, $3, 10, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F - ; xy triggers +.XYTriggers: db 0 - ; signposts +.Signposts: db 1 - signpost 25, 4, $0, FastShipCaptainsCabinTrashcan + signpost 25, 4, SIGNPOST_READ, FastShipCaptainsCabinTrashcan - ; people-events +.PersonEvents: db 11 - person_event SPRITE_CAPTAIN, 29, 7, $6, $0, 255, 255, $90, 0, CaptainScript_0x75ea7, $ffff - person_event SPRITE_GENTLEMAN, 21, 6, $9, $0, 255, 255, $90, 0, GentlemanScript_0x75f1f, $0730 - person_event SPRITE_TWIN, 21, 7, $a, $0, 255, 255, $0, 0, TwinScript_0x75f6d, $0731 - person_event SPRITE_TWIN, 29, 6, $a, $0, 255, 255, $0, 0, TwinScript_0x75ebb, $0732 - person_event SPRITE_POKEFAN_M, 10, 9, $8, $0, 255, 255, $82, 5, TrainerPokefanmColin, $0739 - person_event SPRITE_TWIN, 8, 6, $6, $0, 255, 255, $82, 1, TrainerTwinsMegandpeg1, $0739 - person_event SPRITE_TWIN, 8, 7, $6, $0, 255, 255, $82, 1, TrainerTwinsMegandpeg2, $0739 - person_event SPRITE_SUPER_NERD, 9, 9, $8, $0, 255, 255, $92, 5, TrainerPsychicRodney, $073a - person_event SPRITE_POKEFAN_M, 7, 6, $6, $0, 255, 255, $82, 3, TrainerPokefanmJeremy, $073b - person_event SPRITE_POKEFAN_F, 9, 9, $9, $0, 255, 255, $82, 1, TrainerPokefanfGeorgia, $073b - person_event SPRITE_SUPER_NERD, 19, 5, $3, $0, 255, 255, $b2, 2, TrainerSupernerdShawn, $073a + person_event SPRITE_CAPTAIN, 29, 7, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, CaptainScript_0x75ea7, -1 + person_event SPRITE_GENTLEMAN, 21, 6, OW_LEFT | $1, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, GentlemanScript_0x75f1f, EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN + person_event SPRITE_TWIN, 21, 7, OW_LEFT | $2, $0, -1, -1, $0, 0, TwinScript_0x75f6d, EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1 + person_event SPRITE_TWIN, 29, 6, OW_LEFT | $2, $0, -1, -1, $0, 0, TwinScript_0x75ebb, EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2 + person_event SPRITE_POKEFAN_M, 10, 9, OW_LEFT | $0, $0, -1, -1, (PAL_OW_RED << 4) | $82, 5, TrainerPokefanmColin, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP + person_event SPRITE_TWIN, 8, 6, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 1, TrainerTwinsMegandpeg1, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP + person_event SPRITE_TWIN, 8, 7, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 1, TrainerTwinsMegandpeg2, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP + person_event SPRITE_SUPER_NERD, 9, 9, OW_LEFT | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 5, TrainerPsychicRodney, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND + person_event SPRITE_POKEFAN_M, 7, 6, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerPokefanmJeremy, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND + person_event SPRITE_POKEFAN_F, 9, 9, OW_LEFT | $1, $0, -1, -1, (PAL_OW_RED << 4) | $82, 1, TrainerPokefanfGeorgia, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND + person_event SPRITE_SUPER_NERD, 19, 5, OW_DOWN | $3, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 2, TrainerSupernerdShawn, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND |