shithub: pokecrystal

ref: affcd587d69b18d84bcb473b28723613b755c846
dir: /maps/CherrygroveMart.asm/

View raw version
CherrygroveMart_MapScriptHeader: ; 0x196808
	; trigger count
	db 0

	; callback count
	db 0
; 0x19680a

UnknownScript_0x19680a: ; 0x19680a
	loadfont
	checkbit1 $001f
	iftrue UnknownScript_0x196817
	pokemart $0, $0000
	loadmovesprites
	end
; 0x196817

UnknownScript_0x196817: ; 0x196817
	pokemart $0, $0001
	loadmovesprites
	end
; 0x19681d

UnknownScript_0x19681d: ; 0x19681d
	faceplayer
	loadfont
	checkbit1 $001f
	iftrue UnknownScript_0x19682b
	2writetext UnknownText_0x196834
	closetext
	loadmovesprites
	end
; 0x19682b

UnknownScript_0x19682b: ; 0x19682b
	2writetext UnknownText_0x196873
	closetext
	loadmovesprites
	end
; 0x196831

UnknownScript_0x196831: ; 0x196831
	jumptextfaceplayer UnknownText_0x1968a0
; 0x196834

UnknownText_0x196834: ; 0x196834
	db $0, "They're fresh out", $4f
	db "of # BALLS!", $51
	db "When will they get", $4f
	db "more of them?", $57
; 0x196873

UnknownText_0x196873: ; 0x196873
	db $0, "# BALLS are in", $4f
	db "stock! Now I can", $55
	db "catch #MON!", $57
; 0x1968a0

UnknownText_0x1968a0: ; 0x1968a0
	db $0, "When I was walking", $4f
	db "in the grass, a", $51
	db "bug #MON poi-", $4f
	db "soned my #MON!", $51
	db "I just kept going,", $4f
	db "but then my", $55
	db "#MON fainted.", $51
	db "You should keep an", $4f
	db "ANTIDOTE with you.", $57
; 0x196934

CherrygroveMart_MapEventHeader: ; 0x196934
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $2, 1, GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY
	warp_def $7, $3, 1, GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 3
	person_event $39, 7, 5, $9, $0, 255, 255, $0, 0, UnknownScript_0x19680a, $ffff
	person_event $23, 10, 11, $5, $2, 255, 255, $0, 0, UnknownScript_0x19681d, $ffff
	person_event $27, 9, 6, $6, $0, 255, 255, $80, 0, UnknownScript_0x196831, $ffff
; 0x19696b