Remove address comments
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
.set LOCALID_COOLTRAINER_F, 4
|
||||
.set LOCALID_BALDING_MAN, 5
|
||||
|
||||
TrainerTower_Lobby_MapScripts:: @ 8164839
|
||||
TrainerTower_Lobby_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_Lobby_OnResume
|
||||
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, TrainerTower_Lobby_OnReturnToField
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_Lobby_OnTransition
|
||||
@@ -12,7 +12,7 @@ TrainerTower_Lobby_MapScripts:: @ 8164839
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_Lobby_OnFrame
|
||||
.byte 0
|
||||
|
||||
TrainerTower_Lobby_OnResume:: @ 8164853
|
||||
TrainerTower_Lobby_OnResume::
|
||||
setvar VAR_TEMP_2, 0
|
||||
ttower_resumetimer
|
||||
ttower_shouldexit
|
||||
@@ -22,10 +22,10 @@ TrainerTower_Lobby_OnResume:: @ 8164853
|
||||
setvar VAR_TEMP_0, 0
|
||||
setobjectxy OBJ_EVENT_ID_PLAYER, 9, 7
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
TrainerTower_Lobby_OnResumeEnd:: @ 8164886
|
||||
TrainerTower_Lobby_OnResumeEnd::
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OnReturnToField:: @ 8164887
|
||||
TrainerTower_Lobby_OnReturnToField::
|
||||
addobject LOCALID_NURSE
|
||||
addobject LOCALID_MART_CLERK
|
||||
addobject LOCALID_RECEPTIONIST
|
||||
@@ -33,26 +33,26 @@ TrainerTower_Lobby_OnReturnToField:: @ 8164887
|
||||
addobject LOCALID_BALDING_MAN
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OnLoad:: @ 8164897
|
||||
TrainerTower_Lobby_OnLoad::
|
||||
compare VAR_TEMP_D, 17
|
||||
call_if_eq TrainerTower_Lobby_OpenCounterBarrier
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OpenCounterBarrier:: @ 81648A3
|
||||
TrainerTower_Lobby_OpenCounterBarrier::
|
||||
setmetatile 17, 10, METATILE_TrainerTower_Floor_ShadeBottomLeft, 0
|
||||
return
|
||||
|
||||
TrainerTower_Lobby_OnTransition:: @ 81648AD
|
||||
TrainerTower_Lobby_OnTransition::
|
||||
setworldmapflag FLAG_WORLD_MAP_TRAINER_TOWER_LOBBY
|
||||
getplayerxy VAR_TEMP_D, VAR_RESULT
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OnFrame:: @ 81648B6
|
||||
TrainerTower_Lobby_OnFrame::
|
||||
map_script_2 VAR_TEMP_0, 0, TrainerTower_Lobby_EventScript_Enter
|
||||
map_script_2 VAR_TEMP_D, 17, TrainerTower_Lobby_EventScript_ExitElevator
|
||||
.2byte 0
|
||||
|
||||
TrainerTower_Lobby_EventScript_ExitElevator:: @ 81648C8
|
||||
TrainerTower_Lobby_EventScript_ExitElevator::
|
||||
lockall
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_ExitElevator
|
||||
waitmovement 0
|
||||
@@ -64,12 +64,12 @@ TrainerTower_Lobby_EventScript_ExitElevator:: @ 81648C8
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_Movement_ExitElevator:: @ 81648EA
|
||||
TrainerTower_Lobby_Movement_ExitElevator::
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
TrainerTower_Lobby_EventScript_Enter:: @ 81648ED
|
||||
TrainerTower_Lobby_EventScript_Enter::
|
||||
setvar VAR_TEMP_0, 1
|
||||
ttower_getchallengestatus
|
||||
switch VAR_RESULT
|
||||
@@ -77,7 +77,7 @@ TrainerTower_Lobby_EventScript_Enter:: @ 81648ED
|
||||
case CHALLENGE_STATUS_UNK, TrainerTower_Lobby_EventScript_164938
|
||||
case CHALLENGE_STATUS_NORMAL, TrainerTower_Lobby_EventScript_EnterEnd
|
||||
|
||||
TrainerTower_Lobby_EventScript_LostChallenge:: @ 8164920
|
||||
TrainerTower_Lobby_EventScript_LostChallenge::
|
||||
lock
|
||||
faceplayer
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
@@ -86,29 +86,29 @@ TrainerTower_Lobby_EventScript_LostChallenge:: @ 8164920
|
||||
goto TrainerTower_Lobby_EventScript_ExitChallenge
|
||||
|
||||
@ Presumably E-Reader related
|
||||
TrainerTower_Lobby_EventScript_164938:: @ 8164938
|
||||
TrainerTower_Lobby_EventScript_164938::
|
||||
lock
|
||||
faceplayer
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
textcolor 1
|
||||
msgbox TrainerTower_Lobby_Text_MoveCounterHereWhenTrainersSwitch
|
||||
TrainerTower_Lobby_EventScript_ExitChallenge:: @ 816494B
|
||||
TrainerTower_Lobby_EventScript_ExitChallenge::
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_WalkDown
|
||||
waitmovement 0
|
||||
setvar VAR_MAP_SCENE_TRAINER_TOWER, 0
|
||||
release
|
||||
TrainerTower_Lobby_EventScript_EnterEnd:: @ 816495C
|
||||
TrainerTower_Lobby_EventScript_EnterEnd::
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_Nurse:: @ 816495D
|
||||
TrainerTower_Lobby_EventScript_Nurse::
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_PkmnCenterNurse
|
||||
release
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_Receptionist:: @ 8164966
|
||||
TrainerTower_Lobby_EventScript_Receptionist::
|
||||
lock
|
||||
faceplayer
|
||||
ttower_getbeatchallenge
|
||||
@@ -117,13 +117,13 @@ TrainerTower_Lobby_EventScript_Receptionist:: @ 8164966
|
||||
msgbox TrainerTower_Lobby_Text_GiveItYourBest
|
||||
goto TrainerTower_Lobby_EventScript_ReceptionistEnd
|
||||
|
||||
TrainerTower_Lobby_EventScript_ThanksForCompeting:: @ 8164988
|
||||
TrainerTower_Lobby_EventScript_ThanksForCompeting::
|
||||
msgbox TrainerTower_Lobby_Text_ThanksForCompeting
|
||||
TrainerTower_Lobby_EventScript_ReceptionistEnd:: @ 8164990
|
||||
TrainerTower_Lobby_EventScript_ReceptionistEnd::
|
||||
release
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_MartClerk:: @ 8164992
|
||||
TrainerTower_Lobby_EventScript_MartClerk::
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
@@ -135,7 +135,7 @@ TrainerTower_Lobby_EventScript_MartClerk:: @ 8164992
|
||||
end
|
||||
|
||||
.align 2
|
||||
TrainerTower_Lobby_Mart_Items:: @ 81649B8
|
||||
TrainerTower_Lobby_Mart_Items::
|
||||
.2byte ITEM_ULTRA_BALL
|
||||
.2byte ITEM_GREAT_BALL
|
||||
.2byte ITEM_FULL_RESTORE
|
||||
@@ -149,7 +149,7 @@ TrainerTower_Lobby_Mart_Items:: @ 81649B8
|
||||
release
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_EntryTrigger:: @ 81649CE
|
||||
TrainerTower_Lobby_EventScript_EntryTrigger::
|
||||
lockall
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
textcolor 1
|
||||
@@ -160,9 +160,9 @@ TrainerTower_Lobby_EventScript_EntryTrigger:: @ 81649CE
|
||||
msgbox TrainerTower_Lobby_Text_TrainersUpToFloorNum
|
||||
goto TrainerTower_Lobby_EventScript_AskEnterChallenge
|
||||
|
||||
TrainerTower_Lobby_EventScript_AllFloorsUsed:: @ 8164A00
|
||||
TrainerTower_Lobby_EventScript_AllFloorsUsed::
|
||||
msgbox TrainerTower_Lobby_Text_TrainersUpEighthFloor
|
||||
TrainerTower_Lobby_EventScript_AskEnterChallenge:: @ 8164A08
|
||||
TrainerTower_Lobby_EventScript_AskEnterChallenge::
|
||||
message TrainerTower_Lobby_Text_LikeToChallengeTrainers
|
||||
waitmessage
|
||||
multichoice 18, 6, MULTICHOICE_YES_NO_INFO, FALSE
|
||||
@@ -173,12 +173,12 @@ TrainerTower_Lobby_EventScript_AskEnterChallenge:: @ 8164A08
|
||||
case SCR_MENU_CANCEL, TrainerTower_Lobby_EventScript_DeclineChallenge
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_ChallengeInfo:: @ 8164A45
|
||||
TrainerTower_Lobby_EventScript_ChallengeInfo::
|
||||
msgbox TrainerTower_Lobby_Text_ExplainTrainerTower
|
||||
goto TrainerTower_Lobby_EventScript_AskEnterChallenge
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_ChooseChallenge:: @ 8164A53
|
||||
TrainerTower_Lobby_EventScript_ChooseChallenge::
|
||||
multichoice 13, 3, MULTICHOICE_TRAINER_TOWER_MODE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, TrainerTower_Lobby_EventScript_BeginChallenge
|
||||
@@ -189,7 +189,7 @@ TrainerTower_Lobby_EventScript_ChooseChallenge:: @ 8164A53
|
||||
case SCR_MENU_CANCEL, TrainerTower_Lobby_EventScript_DeclineChallenge
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_BeginChallenge:: @ 8164AA0
|
||||
TrainerTower_Lobby_EventScript_BeginChallenge::
|
||||
copyvar VAR_0x8005, VAR_RESULT
|
||||
setvar VAR_MAP_SCENE_TRAINER_TOWER, 1
|
||||
special HealPlayerParty
|
||||
@@ -198,7 +198,7 @@ TrainerTower_Lobby_EventScript_BeginChallenge:: @ 8164AA0
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_DeclineChallenge:: @ 8164ABF
|
||||
TrainerTower_Lobby_EventScript_DeclineChallenge::
|
||||
msgbox TrainerTower_Lobby_Text_PleaseVisitUsAgain
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_WalkDown
|
||||
@@ -206,15 +206,15 @@ TrainerTower_Lobby_EventScript_DeclineChallenge:: @ 8164ABF
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_Movement_FaceReceptionist:: @ 8164AD4
|
||||
TrainerTower_Lobby_Movement_FaceReceptionist::
|
||||
face_right
|
||||
step_end
|
||||
|
||||
TrainerTower_Lobby_Movement_WalkDown:: @ 8164AD6
|
||||
TrainerTower_Lobby_Movement_WalkDown::
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
TrainerTower_Lobby_EventScript_ShowRecords:: @ 8164AD8
|
||||
TrainerTower_Lobby_EventScript_ShowRecords::
|
||||
lockall
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8004, 1
|
||||
@@ -223,10 +223,10 @@ TrainerTower_Lobby_EventScript_ShowRecords:: @ 8164AD8
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_CooltrainerF:: @ 8164AE6
|
||||
TrainerTower_Lobby_EventScript_CooltrainerF::
|
||||
msgbox TrainerTower_Lobby_Text_WonderWhatKindsOfTrainers, MSGBOX_NPC
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_BaldingMan:: @ 8164AEF
|
||||
TrainerTower_Lobby_EventScript_BaldingMan::
|
||||
msgbox TrainerTower_Lobby_Text_StairsTougherThanAnyBattle, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user