mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-30 06:13:02 -04:00
44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
MossdeepCity_GameCorner_1F_MapScripts::
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, MossdeepCity_GameCorner_1F_OnFrame
|
|
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, MossdeepCity_GameCorner_1F_OnWarp
|
|
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad
|
|
.byte 0
|
|
|
|
MossdeepCity_GameCorner_1F_OnWarp:
|
|
map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, CableClub_EventScript_CheckTurnAttendant
|
|
.2byte 0
|
|
|
|
MossdeepCity_GameCorner_1F_OnFrame:
|
|
map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, CableClub_EventScript_ExitMinigameRoom
|
|
.2byte 0
|
|
|
|
@ Script is redundant, the label in the goto also does lock and faceplayer
|
|
MossdeepCity_GameCorner_1F_EventScript_InfoMan::
|
|
lock
|
|
faceplayer
|
|
goto MossdeepCity_GameCorner_1F_EventScript_InfoMan2
|
|
release
|
|
end
|
|
|
|
@ Script is redundant, the label in the goto also does lock and faceplayer
|
|
MossdeepCity_GameCorner_1F_EventScript_OldMan::
|
|
lock
|
|
faceplayer
|
|
goto MossdeepCity_GameCorner_1F_EventScript_OldMan2
|
|
release
|
|
end
|
|
|
|
.ifdef FRENCH
|
|
.include "data/maps/MossdeepCity_GameCorner_1F/text_fr.inc"
|
|
.else
|
|
.ifdef ITALIAN
|
|
.include "data/maps/MossdeepCity_GameCorner_1F/text_it.inc"
|
|
.else
|
|
.ifdef SPANISH
|
|
.include "data/maps/MossdeepCity_GameCorner_1F/text_es.inc"
|
|
.else
|
|
.include "data/maps/MossdeepCity_GameCorner_1F/text.inc"
|
|
.endif
|
|
.endif
|
|
.endif
|