shithub: pokecrystal

ref: 6062ee09001d007ae6eb148af99e0df0100afc55
dir: /maps/PewterPokeCenter1F.asm/

View raw version
PewterPokeCenter1F_MapScriptHeader: ; 0x1a2ee5
	; trigger count
	db 0

	; callback count
	db 0
; 0x1a2ee7

NurseScript_0x1a2ee7: ; 0x1a2ee7
	jumpstd $0000
; 0x1a2eea

TeacherScript_0x1a2eea: ; 0x1a2eea
	jumptextfaceplayer UnknownText_0x1a2f01
; 0x1a2eed

JigglypuffScript_0x1a2eed: ; 0x1a2eed
	loadfont
	2writetext UnknownText_0x1a2f5d
	cry JIGGLYPUFF
	closetext
	loadmovesprites
	end
; 0x1a2ef7

BugCatcherScript_0x1a2ef7: ; 0x1a2ef7
	jumptextfaceplayer UnknownText_0x1a2f75
; 0x1a2efa

PokefanMScript_0x1a2efa: ; 0x1a2efa
	faceplayer
	loadfont
	trade $4
	closetext
	loadmovesprites
	end
; 0x1a2f01

UnknownText_0x1a2f01: ; 0x1a2f01
	text "…Yeah, and the"
	line "GYM in CINNABAR's"

	para "gone. I was really"
	line "amazed."

	para "…Yes? I'm on the"
	line "phone. Go away!"
	done
; 0x1a2f5d

UnknownText_0x1a2f5d: ; 0x1a2f5d
	text "JIGGLYPUFF: Puu"
	line "pupuu."
	done
; 0x1a2f75

UnknownText_0x1a2f75: ; 0x1a2f75
	text "Most #MON get"
	line "drowsy if they"

	para "hear a JIGGLYPUFF"
	line "singing."

	para "There are several"
	line "moves that can be"

	para "used only while a"
	line "#MON is asleep."
	done
; 0x1a2ff4

PewterPokeCenter1F_MapEventHeader: ; 0x1a2ff4
	; filler
	db 0, 0

	; warps
	db 3
	warp_def $7, $3, 4, GROUP_PEWTER_CITY, MAP_PEWTER_CITY
	warp_def $7, $4, 4, GROUP_PEWTER_CITY, MAP_PEWTER_CITY
	warp_def $7, $0, 1, GROUP_POKECENTER_2F, MAP_POKECENTER_2F

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 5
	person_event SPRITE_NURSE, 5, 7, $6, $0, 255, 255, $0, 0, NurseScript_0x1a2ee7, $ffff
	person_event SPRITE_TEACHER, 10, 12, $6, $0, 255, 255, $a0, 0, TeacherScript_0x1a2eea, $ffff
	person_event SPRITE_JIGGLYPUFF, 7, 5, $16, $0, 255, 255, $0, 0, JigglypuffScript_0x1a2eed, $ffff
	person_event SPRITE_BUG_CATCHER, 7, 6, $6, $0, 255, 255, $90, 0, BugCatcherScript_0x1a2ef7, $ffff
	person_event SPRITE_POKEFAN_M, 6, 11, $6, $0, 255, 255, $80, 0, PokefanMScript_0x1a2efa, $ffff
; 0x1a304a