shithub: pokecrystal

ref: e6271ca450ea051de57a666868061f94a0a679ed
dir: /maps/PewterMart.asm/

View raw version
PewterMart_MapScriptHeader: ; 0x1a2dc9
	; trigger count
	db 0

	; callback count
	db 0
; 0x1a2dcb

ClerkScript_0x1a2dcb: ; 0x1a2dcb
	loadfont
	pokemart $0, $0013
	loadmovesprites
	end
; 0x1a2dd2

YoungsterScript_0x1a2dd2: ; 0x1a2dd2
	jumptextfaceplayer UnknownText_0x1a2dd8
; 0x1a2dd5

SuperNerdScript_0x1a2dd5: ; 0x1a2dd5
	jumptextfaceplayer UnknownText_0x1a2e3a
; 0x1a2dd8

UnknownText_0x1a2dd8: ; 0x1a2dd8
	text "Hi! Check out my"
	line "GYARADOS!"

	para "I raised it from a"
	line "MAGIKARP. I can't"

	para "believe how strong"
	line "it has become."
	done
; 0x1a2e3a

UnknownText_0x1a2e3a: ; 0x1a2e3a
	text "There once was a"
	line "weird old man who"
	cont "sold MAGIKARP."

	para "He was saying the"
	line "MAGIKARP from the"

	para "LAKE OF RAGE were"
	line "excellent."
	done
; 0x1a2eae

PewterMart_MapEventHeader: ; 0x1a2eae
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $2, 3, GROUP_PEWTER_CITY, MAP_PEWTER_CITY
	warp_def $7, $3, 3, GROUP_PEWTER_CITY, MAP_PEWTER_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_0x1a2dcb, $ffff
	person_event SPRITE_YOUNGSTER, 6, 13, $5, $2, 255, 255, $0, 0, YoungsterScript_0x1a2dd2, $ffff
	person_event SPRITE_SUPER_NERD, 10, 10, $3, $0, 255, 255, $80, 0, SuperNerdScript_0x1a2dd5, $ffff
; 0x1a2ee5