mirror of
https://github.com/pret/pokeruby.git
synced 2026-10-26 18:30:55 -05:00
Merge pull request #453 from huderlem/battle_tower
Decompile battle_tower
This commit is contained in:
@@ -16,7 +16,7 @@ BattleTower_BattleRoom_EventScript_1608FA:: @ 81608FA
|
||||
addobject 1
|
||||
applymovement 1, BattleTower_BattleRoom_Movement_160AC0
|
||||
waitmovement 0
|
||||
special sub_8135474
|
||||
special PrintBattleTowerTrainerGreeting
|
||||
msgbox 0x20234cc, 4
|
||||
waitmessage
|
||||
closemessage
|
||||
@@ -116,7 +116,7 @@ BattleTower_BattleRoom_EventScript_160A94:: @ 8160A94
|
||||
|
||||
BattleTower_BattleRoom_EventScript_160AB1:: @ 8160AB1
|
||||
fadescreen 1
|
||||
special sub_8135C38
|
||||
special BattleTower_SoftReset
|
||||
end
|
||||
|
||||
BattleTower_BattleRoom_Movement_160AB7:: @ 8160AB7
|
||||
|
||||
@@ -79,7 +79,7 @@ BattleTower_Lobby_EventScript_160342:: @ 8160342
|
||||
special sub_81358A4
|
||||
compare RESULT, 6
|
||||
goto_if_eq BattleTower_Lobby_EventScript_16037D
|
||||
special sub_8135E50
|
||||
special AwardBattleTowerRibbons
|
||||
compare RESULT, 0
|
||||
goto_if_eq BattleTower_Lobby_EventScript_16037D
|
||||
message BattleTower_Lobby_Text_19A6BE
|
||||
@@ -97,7 +97,7 @@ BattleTower_Lobby_EventScript_16037D:: @ 816037D
|
||||
waitmessage
|
||||
setvar 0x8004, 13
|
||||
special sub_8135668
|
||||
special sub_8135D84
|
||||
special DetermineBattleTowerPrize
|
||||
setvar 0x8004, 3
|
||||
special sub_8135BA0
|
||||
playse 55
|
||||
@@ -109,7 +109,7 @@ BattleTower_Lobby_EventScript_1603AD:: @ 81603AD
|
||||
special sub_8135668
|
||||
message BattleTower_Lobby_Text_19A4BB
|
||||
waitmessage
|
||||
special sub_8135DEC
|
||||
special GiveBattleTowerPrize
|
||||
switch RESULT
|
||||
case 0, BattleTower_Lobby_EventScript_160408
|
||||
message BattleTower_Lobby_Text_19A506
|
||||
|
||||
@@ -5,7 +5,7 @@ MossdeepCity_GameCorner_1F_MapScripts:: @ 815AC52
|
||||
.byte 0
|
||||
|
||||
MossdeepCity_GameCorner_1F_MapScript1_15AC62:: @ 815AC62
|
||||
special sub_813601C
|
||||
special ValidateEReaderTrainer
|
||||
compare RESULT, 1
|
||||
call_if 1, MossdeepCity_GameCorner_1F_EventScript_15AC71
|
||||
end
|
||||
@@ -16,7 +16,7 @@ MossdeepCity_GameCorner_1F_EventScript_15AC71:: @ 815AC71
|
||||
return
|
||||
|
||||
MossdeepCity_GameCorner_1F_MapScript1_15AC84:: @ 815AC84
|
||||
special sub_813601C
|
||||
special ValidateEReaderTrainer
|
||||
compare RESULT, 0
|
||||
call_if 1, MossdeepCity_GameCorner_1F_EventScript_15AC9E
|
||||
compare 0x40c0, 0
|
||||
|
||||
@@ -4,7 +4,7 @@ MossdeepCity_GameCorner_B1F_MapScripts:: @ 815AE55
|
||||
.byte 0
|
||||
|
||||
MossdeepCity_GameCorner_B1F_MapScript1_15AE60:: @ 815AE60
|
||||
special sub_8134AB4
|
||||
special SetEReaderTrainerGfxId
|
||||
end
|
||||
|
||||
MossdeepCity_GameCorner_B1F_MapScript2_15AE64:: @ 815AE64
|
||||
@@ -15,7 +15,7 @@ MossdeepCity_GameCorner_B1F_EventScript_15AE6E:: @ 815AE6E
|
||||
lockall
|
||||
applymovement 255, MossdeepCity_GameCorner_B1F_Movement_15AEF9
|
||||
waitmovement 0
|
||||
special sub_81360C0
|
||||
special PrintEReaderTrainerGreeting
|
||||
msgbox 0x20234cc, 4
|
||||
closemessage
|
||||
setvar 0x8004, 2
|
||||
|
||||
Reference in New Issue
Block a user