shithub: pokecrystal

ref: 95af7dd873165ca197372a7b6e896fe3bd66e24a
dir: /maps/CeladonPokeCenter1F.asm/

View raw version
CeladonPokeCenter1F_MapScriptHeader: ; 0x71e20
	; trigger count
	db 0

	; callback count
	db 0
; 0x71e22

NurseScript_0x71e22: ; 0x71e22
	jumpstd $0000
; 0x71e25

GentlemanScript_0x71e25: ; 0x71e25
	jumpstd $0033
; 0x71e28

CooltrainerFScript_0x71e28: ; 0x71e28
	jumptextfaceplayer UnknownText_0x71e70
; 0x71e2b

PharmacistScript_0x71e2b: ; 0x71e2b
	jumptextfaceplayer UnknownText_0x71ec1
; 0x71e2e

SuperNerdScript_0x71e2e: ; 0x71e2e
	faceplayer
	loadfont
	2writetext UnknownText_0x71f22
	keeptextopen
	writebyte SUICUNE
	special $0097
	iffalse UnknownScript_0x71e46
	special $0096
	iftrue UnknownScript_0x71e48
	2writetext UnknownText_0x7201a
	closetext
UnknownScript_0x71e46: ; 0x71e46
	loadmovesprites
	end
; 0x71e48

UnknownScript_0x71e48: ; 0x71e48
	2writetext UnknownText_0x71f65
	closetext
	loadmovesprites
	checkcode $9
	if_equal $1, UnknownScript_0x71e5a
	applymovement $6, MovementData_0x71e6b
	2jump UnknownScript_0x71e5e
; 0x71e5a

UnknownScript_0x71e5a: ; 0x71e5a
	applymovement $6, MovementData_0x71e65
UnknownScript_0x71e5e: ; 0x71e5e
	disappear $6
	playsound SFX_EXIT_BUILDING
	waitbutton
	end
; 0x71e65

MovementData_0x71e65: ; 0x71e65
	step_left
	step_down
	step_down
	step_down
	step_down
	step_end
; 0x71e6b

MovementData_0x71e6b: ; 0x71e6b
	step_down
	step_down
	step_down
	step_down
	step_end
; 0x71e70

UnknownText_0x71e70: ; 0x71e70
	text "ERIKA is a master"
	line "of grass #MON."

	para "She'll make you"
	line "pay if you don't"
	cont "watch yourself."
	done
; 0x71ec1

UnknownText_0x71ec1: ; 0x71ec1
	text "TEAM ROCKET's"
	line "hideout is in the"

	para "basement of the"
	line "GAME CORNER."

	para "Oh, wait. That was"
	line "three years ago."
	done
; 0x71f22

UnknownText_0x71f22: ; 0x71f22
	text "EUSINE: Hi!"

	para "I'm back visiting"
	line "my hometown."

	para "It's been quite a"
	line "while."
	done
; 0x71f65

UnknownText_0x71f65: ; 0x71f65
	text $52, ", have you"
	line "heard?"

	para "There have been"
	line "fresh rumors of a"

	para "rainbow-colored"
	line "#MON appearing"
	cont "at TIN TOWER."

	para "I've just had my"
	line "party healed, so"

	para "now I'm headed to"
	line "ECRUTEAK."

	para "I'll be seeing"
	line "you, ", $52, "!"
	done
; 0x7201a

UnknownText_0x7201a: ; 0x7201a
	text "Oh, by the way,"
	line $52, "."

	para "Have you caught"
	line "the legendary"

	para "#MON RAIKOU and"
	line "ENTEI?"

	para $56, $56, $56

	para "Okay…"

	para "If you catch even"
	line "one, I hope that"
	cont "you'll inform me."

	para "I'm counting on"
	line "you, ", $52, "!"
	done
; 0x720b8

CeladonPokeCenter1F_MapEventHeader: ; 0x720b8
	; filler
	db 0, 0

	; warps
	db 3
	warp_def $7, $3, 5, GROUP_CELADON_CITY, MAP_CELADON_CITY
	warp_def $7, $4, 5, GROUP_CELADON_CITY, MAP_CELADON_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_0x71e22, $ffff
	person_event SPRITE_GENTLEMAN, 9, 5, $5, $1, 255, 255, $0, 0, GentlemanScript_0x71e25, $ffff
	person_event SPRITE_PHARMACIST, 7, 4, $6, $0, 255, 255, $80, 0, PharmacistScript_0x71e2b, $ffff
	person_event SPRITE_COOLTRAINER_F, 10, 12, $5, $1, 255, 255, $a0, 0, CooltrainerFScript_0x71e28, $ffff
	person_event SPRITE_SUPER_NERD, 7, 8, $6, $0, 255, 255, $90, 0, SuperNerdScript_0x71e2e, $07b7
; 0x7210e