shithub: pokecrystal

ref: 61dd634698ad3f4e613f9d94b74e5b299dac5da8
dir: /maps/OlivinePokeCenter1F.asm/

View raw version
OlivinePokeCenter1F_MapScriptHeader: ; 0x9c000
	; trigger count
	db 0

	; callback count
	db 0
; 0x9c002

NurseScript_0x9c002: ; 0x9c002
	jumpstd $0000
; 0x9c005

FishingGuruScript_0x9c005: ; 0x9c005
	jumpstd $0033
; 0x9c008

FisherScript_0x9c008: ; 0x9c008
	jumptextfaceplayer UnknownText_0x9c00e
; 0x9c00b

TeacherScript_0x9c00b: ; 0x9c00b
	jumptextfaceplayer UnknownText_0x9c086
; 0x9c00e

UnknownText_0x9c00e: ; 0x9c00e
	db $0, "The SAILOR in the", $4f
	db "OLIVINE CAFE next", $51
	db "door is really", $4f
	db "generous.", $51
	db "He taught my", $4f
	db "#MON STRENGTH.", $51
	db "Now it can move", $4f
	db "big boulders.", $57
; 0x9c086

UnknownText_0x9c086: ; 0x9c086
	db $0, "There's a person", $4f
	db "in CIANWOOD CITY", $55
	db "across the sea.", $51
	db "I heard him brag-", $4f
	db "ging about his", $55
	db "rare #MON.", $57
; 0x9c0e4

OlivinePokeCenter1F_MapEventHeader: ; 0x9c0e4
	; filler
	db 0, 0

	; warps
	db 3
	warp_def $7, $3, 1, GROUP_OLIVINE_CITY, MAP_OLIVINE_CITY
	warp_def $7, $4, 1, GROUP_OLIVINE_CITY, MAP_OLIVINE_CITY
	warp_def $7, $0, 1, GROUP_POKECENTER_2F, MAP_POKECENTER_2F

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 4
	person_event SPRITE_NURSE, 5, 7, $6, $0, 255, 255, $0, 0, NurseScript_0x9c002, $ffff
	person_event SPRITE_FISHING_GURU, 8, 12, $5, $1, 255, 255, $0, 0, FishingGuruScript_0x9c005, $ffff
	person_event SPRITE_FISHER, 7, 6, $6, $0, 255, 255, $a0, 0, FisherScript_0x9c008, $ffff
	person_event SPRITE_TEACHER, 5, 11, $6, $0, 255, 255, $0, 0, TeacherScript_0x9c00b, $ffff
; 0x9c12d