shithub: pokecrystal

ref: f68b3dc8ed19d842a466b02cc99dd6347681bc44
dir: /maps/EcruteakMart.asm/

View raw version
EcruteakMart_MapScriptHeader: ; 0x99c39
	; trigger count
	db 0

	; callback count
	db 0
; 0x99c3b

ClerkScript_0x99c3b: ; 0x99c3b
	loadfont
	pokemart $0, $000e
	loadmovesprites
	end
; 0x99c42

SuperNerdScript_0x99c42: ; 0x99c42
	jumptextfaceplayer UnknownText_0x99c48
; 0x99c45

GrannyScript_0x99c45: ; 0x99c45
	jumptextfaceplayer UnknownText_0x99cd5
; 0x99c48

UnknownText_0x99c48: ; 0x99c48
	text "My EEVEE evolved"
	line "into an ESPEON."

	para "But my friend's"
	line "EEVEE turned into"
	cont "an UMBREON."

	para "I wonder why? We"
	line "both were raising"

	para "our EEVEE in the"
	line "same way…"
	done
; 0x99cd5

UnknownText_0x99cd5: ; 0x99cd5
	text "If you use REVIVE,"
	line "a #MON that's"

	para "fainted will wake"
	line "right up."
	done
; 0x99d12

EcruteakMart_MapEventHeader: ; 0x99d12
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $2, 9, GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY
	warp_def $7, $3, 9, GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 3
	person_event SPRITE_CLERK, 7, 5, $9, $0, 255, 255, $0, 0, ClerkScript_0x99c3b, $ffff
	person_event SPRITE_SUPER_NERD, 6, 9, $5, $1, 255, 255, $a0, 0, SuperNerdScript_0x99c42, $ffff
	person_event SPRITE_GRANNY, 10, 10, $7, $0, 255, 255, $0, 0, GrannyScript_0x99c45, $ffff
; 0x99d49