shithub: pokecrystal

ref: 621a36ae1537dc72cb490a5c73aa5551e7bb55ea
dir: /maps/MrFujisHouse.asm/

View raw version
MrFujisHouse_MapScriptHeader: ; 0x7e8c8
	; trigger count
	db 0

	; callback count
	db 0
; 0x7e8ca

SuperNerdScript_0x7e8ca: ; 0x7e8ca
	jumptextfaceplayer UnknownText_0x7e8f1
; 0x7e8cd

LassScript_0x7e8cd: ; 0x7e8cd
	jumptextfaceplayer UnknownText_0x7e940
; 0x7e8d0

MrFujisPsyduck:
	loadfont
	writetext MrFujisPsyduckText
	cry PSYDUCK
	closetext
	loadmovesprites
	end

MrFujisNidorino:
	loadfont
	writetext MrFujisNidorinoText
	cry NIDORINO
	closetext
	loadmovesprites
	end

MrFujisPidgey:
	loadfont
	writetext MrFujisPidgeyText
	cry PIDGEY
	closetext
	loadmovesprites
	end

MrFujisHouseBookshelf:
	jumpstd difficultbookshelf

UnknownText_0x7e8f1: ; 0x7e8f1
	text "MR.FUJI does live"
	line "here, but he's not"

	para "home now."

	para "He should be at"
	line "the SOUL HOUSE."
	done
; 0x7e940

UnknownText_0x7e940: ; 0x7e940
	text "Some cold-hearted"
	line "people stop caring"
	cont "for their #MON."

	para "Grandpa takes in"
	line "the poor homeless"

	para "#MON and takes"
	line "care of them."
	done
; 0x7e9b6

MrFujisPsyduckText:
	text "PSYDUCK: Gu-guwa?"
	done

MrFujisNidorinoText:
	text "NIDORINO: Gyun!"
	done

MrFujisPidgeyText:
	text "PIDGEY: Pijji!"
	done

MrFujisHouse_MapEventHeader: ; 0x7e9ea
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $2, 2, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN
	warp_def $7, $3, 2, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN

	; xy triggers
	db 0

	; signposts
	db 2
	signpost 1, 0, $0, MrFujisHouseBookshelf
	signpost 1, 1, $0, MrFujisHouseBookshelf

	; people-events
	db 5
	person_event SPRITE_SUPER_NERD, 5, 8, $6, $0, 255, 255, $a0, 0, SuperNerdScript_0x7e8ca, $ffff
	person_event SPRITE_LASS, 8, 7, $2, $11, 255, 255, $0, 0, LassScript_0x7e8cd, $ffff
	person_event SPRITE_RHYDON, 8, 11, $16, $0, 255, 255, $0, 0, MrFujisPsyduck, $ffff
	person_event SPRITE_GROWLITHE, 9, 9, $16, $0, 255, 255, $90, 0, MrFujisNidorino, $ffff
	person_event SPRITE_MOLTRES, 7, 5, $16, $0, 255, 255, $b0, 0, MrFujisPidgey, $ffff