shithub: pokecrystal

ref: 8d095cd5b8c8aa120ec4ccb215cd0ee6345a197b
dir: /maps/GoldenrodNameRater.asm/

View raw version
const_value set 2
	const GOLDENRODNAMERATER_NAME_RATER

GoldenrodNameRater_MapScriptHeader:
.SceneScripts:
	db 0

.MapCallbacks:
	db 0

GoldenrodNameRater:
	faceplayer
	opentext
	special SpecialNameRater
	waitbutton
	closetext
	end

GoldenrodNameRaterBookshelf:
	jumpstd difficultbookshelf

GoldenrodNameRaterRadio:
	jumpstd radio2

INCLUDE "text/unused_sweet_honey.asm"

GoldenrodNameRater_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 2
	warp_def 2, 7, 8, GOLDENROD_CITY
	warp_def 3, 7, 8, GOLDENROD_CITY

.CoordEvents:
	db 0

.BGEvents:
	db 3
	bg_event 0, 1, BGEVENT_READ, GoldenrodNameRaterBookshelf
	bg_event 1, 1, BGEVENT_READ, GoldenrodNameRaterBookshelf
	bg_event 7, 1, BGEVENT_READ, GoldenrodNameRaterRadio

.ObjectEvents:
	db 1
	object_event 2, 4, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_DOWN, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodNameRater, -1