pokecrystal-board/maps/MobileTradeRoom.asm

48 lines
926 B
NASM
Raw Normal View History

MobileTradeRoom_MapScripts:
def_scene_scripts
scene_script .InitializeMobileTradeRoom ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
def_callbacks
.InitializeMobileTradeRoom:
2021-06-08 17:35:04 -07:00
sdefer .InitializeAndPreparePokecenter2F
end
.DummyScene:
end
.InitializeAndPreparePokecenter2F:
setscene SCENE_FINISHED
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM
end
MobileTradeRoomConsoleScript:
2018-01-11 22:40:20 -08:00
refreshscreen
special Function1037c2
writetext MobileTradeRoom_EstablishingCommsText
2015-11-25 07:16:29 -08:00
waitbutton
reloadmappart
special Function101231
2015-11-25 07:16:29 -08:00
closetext
end
MobileTradeRoom_EstablishingCommsText:
text "Establishing"
line "communications…"
done
MobileTradeRoom_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-01 19:22:07 -08:00
warp_event 4, 7, POKECENTER_2F, 5
warp_event 5, 7, POKECENTER_2F, 5
def_coord_events
def_bg_events
bg_event 4, 2, BGEVENT_UP, MobileTradeRoomConsoleScript
def_object_events