shithub: pokecrystal

ref: 3ef626d37864f4dae26f115c26e448351f19da7c
dir: /maps/FastShipCabins_NNW_NNE_NE.asm/

View raw version
FastShipCabins_NNW_NNE_NE_MapScriptHeader:
.MapTriggers:
	db 0

.MapCallbacks:
	db 0

TrainerCooltrainermSean:
	trainer EVENT_BEAT_COOLTRAINERM_SEAN, COOLTRAINERM, SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, $0000, CooltrainermSeanScript

CooltrainermSeanScript:
	talkaftercancel
	loadfont
	writetext UnknownText_0x7567b
	closetext
	loadmovesprites
	end

TrainerCooltrainerfCarol:
	trainer EVENT_BEAT_COOLTRAINERF_CAROL, COOLTRAINERF, CAROL, CooltrainerfCarolSeenText, CooltrainerfCarolBeatenText, $0000, CooltrainerfCarolScript

CooltrainerfCarolScript:
	talkaftercancel
	loadfont
	writetext UnknownText_0x756f7
	closetext
	loadmovesprites
	end

TrainerPokemaniacEthan:
	trainer EVENT_BEAT_POKEMANIAC_ETHAN, POKEMANIAC, ETHAN, PokemaniacEthanSeenText, PokemaniacEthanBeatenText, $0000, PokemaniacEthanScript

PokemaniacEthanScript:
	talkaftercancel
	loadfont
	writetext UnknownText_0x7574b
	closetext
	loadmovesprites
	end

TrainerHikerNoland:
	trainer EVENT_BEAT_HIKER_NOLAND, HIKER, NOLAND, HikerNolandSeenText, HikerNolandBeatenText, $0000, HikerNolandScript

HikerNolandScript:
	talkaftercancel
	loadfont
	writetext UnknownText_0x757d4
	closetext
	loadmovesprites
	end

TrainerGentlemanEdward:
	trainer EVENT_BEAT_GENTLEMAN_EDWARD, GENTLEMAN, EDWARD, GentlemanEdwardSeenText, GentlemanEdwardBeatenText, $0000, GentlemanEdwardScript

GentlemanEdwardScript:
	talkaftercancel
	loadfont
	writetext UnknownText_0x75937
	closetext
	loadmovesprites
	end

TrainerBurglarCorey:
	trainer EVENT_BEAT_BURGLAR_COREY, BURGLAR, COREY, BurglarCoreySeenText, BurglarCoreyBeatenText, $0000, BurglarCoreyScript

BurglarCoreyScript:
	talkaftercancel
	loadfont
	writetext UnknownText_0x75996
	closetext
	loadmovesprites
	end

SailorScript_0x755f1:
	playmusic MUSIC_HIKER_ENCOUNTER
	faceplayer
	loadfont
	writetext UnknownText_0x75812
	closetext
	loadmovesprites
	winlosstext UnknownText_0x75897, $0000
	loadtrainer SAILOR, STANLY
	startbattle
	reloadmap
	special HealParty
	setevent EVENT_BEAT_SAILOR_STANLY
	loadfont
	writetext UnknownText_0x758b1
	closetext
	loadmovesprites
	setevent EVENT_FAST_SHIP_LAZY_SAILOR
	domaptrigger FAST_SHIP_B1F, $1
	checkcode VAR_FACING
	if_equal $3, UnknownScript_0x75629
	applymovement $6, MovementData_0x75637
	playsound SFX_EXIT_BUILDING
	disappear $6
	waitbutton
	end

UnknownScript_0x75629:
	applymovement $6, MovementData_0x7563c
	playsound SFX_EXIT_BUILDING
	disappear $6
	waitbutton
	end

FastShipCabins_NNW_NNE_NETrashcan:
	jumpstd trashcan

MovementData_0x75637:
	step_left
	step_left
	step_up
	step_up
	step_end

MovementData_0x7563c:
	step_down
	step_left
	step_left
	step_up
	step_up
	step_up
	step_end

CooltrainermSeanSeenText:
	text "I'm going to KANTO"
	line "to test my skills."
	done

CooltrainermSeanBeatenText:
	text "I wanted to win!"
	done

UnknownText_0x7567b:
	text "Trainers from"
	line "JOHTO can battle"

	para "with KANTO GYM"
	line "LEADERS."
	done

CooltrainerfCarolSeenText:
	text "I'm training to"
	line "become the CHAMP!"
	done

CooltrainerfCarolBeatenText:
	text "What's so differ-"
	line "ent between us?"
	done

UnknownText_0x756f7:
	text "I'm going to beat"
	line "you someday!"
	done

PokemaniacEthanSeenText:
	text "Do you know LILY?"
	line "She's a hot DJ in"
	cont "KANTO."
	done

PokemaniacEthanBeatenText:
	text "Gyaaaah!"
	done

UnknownText_0x7574b:
	text "LILY's nice, but"
	line "MARY's the best!"

	para "I want to check"
	line "out JOHTO's radio"
	cont "programs!"
	done

HikerNolandSeenText:
	text "Are you alone?"
	line "Then let's battle!"
	done

HikerNolandBeatenText:
	text "That's too much to"
	line "handle!"
	done

UnknownText_0x757d4:
	text "I wonder if there"
	line "are any mountains"

	para "worth climbing in"
	line "KANTO?"
	done

UnknownText_0x75812:
	text "Yeah, I'm a sail-"
	line "or, all right."

	para "I wasn't goofing"
	line "off!"

	para "This cabin was"
	line "vacant, so I just"
	cont "took a quick nap!"

	para "Ah, forget it!"
	line "Let's battle!"
	done

UnknownText_0x75897:
	text "Sorry! It's all my"
	line "fault!"
	done

UnknownText_0x758b1:
	text "Being a sailor, I"
	line "have to do phys-"
	cont "ical labor. It's"
	cont "exhausting!"
	done

GentlemanEdwardSeenText:
	text "Oh, no. I've lost"
	line "something that's"
	cont "very important."
	done

GentlemanEdwardBeatenText:
	text "I… I can't find"
	line "it…"
	done

UnknownText_0x75937:
	text "I give up."
	line "You don't have to"

	para "look. Just forget"
	line "about it!"
	done

BurglarCoreySeenText:
	text "Yeehaw!"
	line "Lucky!"
	done

BurglarCoreyBeatenText:
	text "How unlucky!"
	line "I lost!"
	done

UnknownText_0x75996:
	text "I found a pretty"
	line "coin here."

	para "Someone must have"
	line "lost it…"
	done

FastShipCabins_NNW_NNE_NE_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 3
	warp_def $0, $2, 2, FAST_SHIP_1F
	warp_def $c, $2, 3, FAST_SHIP_1F
	warp_def $18, $2, 4, FAST_SHIP_1F

.XYTriggers:
	db 0

.Signposts:
	db 3
	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

.PersonEvents:
	db 7
	person_event SPRITE_COOLTRAINER_M, 7, 8, $a, 0, 0, -1, -1, 8 + PAL_OW_RED, 2, 2, TrainerCooltrainermSean, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
	person_event SPRITE_COOLTRAINER_F, 9, 5, $7, 0, 0, -1, -1, 8 + PAL_OW_RED, 2, 3, TrainerCooltrainerfCarol, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
	person_event SPRITE_SUPER_NERD, 9, 5, $7, 0, 0, -1, -1, 8 + PAL_OW_BLUE, 2, 3, TrainerPokemaniacEthan, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
	person_event SPRITE_POKEFAN_M, 21, 8, $7, 0, 0, -1, -1, 8 + PAL_OW_BROWN, 2, 3, TrainerHikerNoland, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
	person_event SPRITE_SAILOR, 30, 8, $3, 0, 0, -1, -1, 8 + PAL_OW_BLUE, 0, 0, SailorScript_0x755f1, EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
	person_event SPRITE_GENTLEMAN, 34, 11, $3, 0, 0, -1, -1, 8 + PAL_OW_BLUE, 2, 1, TrainerGentlemanEdward, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
	person_event SPRITE_PHARMACIST, 34, 6, $7, 0, 0, -1, -1, 8 + PAL_OW_GREEN, 2, 4, TrainerBurglarCorey, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND