shithub: pokecrystal

ref: 172dba3c0b38eeea09342efe297ccc7ea9b4d3d3
dir: /maps/MobileTradeRoomMobile.asm/

View raw version
MobileTradeRoomMobile_MapScriptHeader:
.SceneScripts:
	db 2
	scene_script .InitializeMobileTradeRoomMobile
	scene_script .DummyScene

.MapCallbacks:
	db 0

.InitializeMobileTradeRoomMobile:
	priorityjump .InitializeAndPreparePokecenter2F
	end

.DummyScene:
	end

.InitializeAndPreparePokecenter2F:
	setscene $1
	setmapscene POKECENTER_2F, $4
	end

MapMobileTradeRoomMobileSignpost0Script:
	refreshscreen $0
	special Function1037c2
	writetext MobileTradeRoomMobile_EstablishingCommsText
	waitbutton
	reloadmappart
	special Function101231
	closetext
	end

MobileTradeRoomMobile_EstablishingCommsText:
	text "Establishing"
	line "communications…"
	done

MobileTradeRoomMobile_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 2
	warp_def $7, $4, 5, POKECENTER_2F
	warp_def $7, $5, 5, POKECENTER_2F

.CoordEvents:
	db 0

.BGEvents:
	db 1
	bg_event 2, 4, BGEVENT_UP, MapMobileTradeRoomMobileSignpost0Script

.ObjectEvents:
	db 0