shithub: pokecrystal

ref: a129ba7b43b743efacf2926f4443b5f1d6305ef8
dir: /maps/CeladonMansion1F.asm/

View raw version
CeladonMansion1F_MapScriptHeader:
.MapTriggers:
	db 0

.MapCallbacks:
	db 0

CeladonMansionManager:
	jumptextfaceplayer CeladonMansionManagerText

CeladonMansion1FMeowth:
	loadfont
	writetext CeladonMansion1FMeowthText
	cry MEOWTH
	closetext
	loadmovesprites
	end

CeladonMansion1FClefairy:
	loadfont
	writetext CeladonMansion1FClefairyText
	cry CLEFAIRY
	closetext
	loadmovesprites
	end

CeladonMansion1FNidoranF:
	loadfont
	writetext CeladonMansion1FNidoranFText
	cry NIDORAN_F
	closetext
	loadmovesprites
	end

CeladonMansionManagersSuiteSign:
	jumptext CeladonMansionManagersSuiteSignText

CeladonMansion1fBookshelf:
	jumpstd picturebookshelf

CeladonMansionManagerText:
	text "My dear #MON"
	line "keep me company,"

	para "so I don't ever"
	line "feel lonely."

	para "MEOWTH even brings"
	line "money home."
	done

CeladonMansion1FMeowthText:
	text "MEOWTH: Meow!"
	done

CeladonMansion1FClefairyText:
	text "CLEFAIRY: Clef"
	line "cleff!"
	done

CeladonMansion1FNidoranFText:
	text "NIDORAN: Kya"
	line "kyaoo!"
	done

CeladonMansionManagersSuiteSignText:
	text "CELADON MANSION"
	line "MANAGER'S SUITE"
	done

CeladonMansion1F_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 5
	warp_def $9, $6, 2, CELADON_CITY
	warp_def $9, $7, 2, CELADON_CITY
	warp_def $0, $3, 3, CELADON_CITY
	warp_def $0, $0, 1, CELADON_MANSION_2F
	warp_def $0, $7, 4, CELADON_MANSION_2F

.XYTriggers:
	db 0

.Signposts:
	db 3
	signpost 8, 5, SIGNPOST_UP, CeladonMansionManagersSuiteSign
	signpost 3, 0, SIGNPOST_READ, CeladonMansion1fBookshelf
	signpost 3, 2, SIGNPOST_READ, CeladonMansion1fBookshelf

.PersonEvents:
	db 4
	person_event SPRITE_GRANNY, 9, 5, $3, 0, 0, -1, -1, 0, 0, 0, CeladonMansionManager, -1
	person_event SPRITE_GROWLITHE, 10, 6, $16, 0, 0, -1, -1, 0, 0, 0, CeladonMansion1FMeowth, -1
	person_event SPRITE_CLEFAIRY, 8, 7, $16, 0, 0, -1, -1, 0, 0, 0, CeladonMansion1FClefairy, -1
	person_event SPRITE_GROWLITHE, 8, 8, $16, 0, 2, -1, -1, 8 + PAL_OW_BLUE, 0, 0, CeladonMansion1FNidoranF, -1