You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
change more labelss
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
Function38000: ; 38000
|
AI_SwitchOrTryItem: ; 38000
|
||||||
and a
|
and a
|
||||||
|
|
||||||
ld a, [IsInBattle]
|
ld a, [IsInBattle]
|
||||||
@@ -73,6 +73,7 @@ SwitchOften: ; 38045
|
|||||||
ld a, [wc717]
|
ld a, [wc717]
|
||||||
and $f
|
and $f
|
||||||
inc a
|
inc a
|
||||||
|
; In register 'a' is the number (1-6) of the Pkmn to switch to
|
||||||
ld [wc718], a
|
ld [wc718], a
|
||||||
jp AI_TrySwitch
|
jp AI_TrySwitch
|
||||||
; 38083
|
; 38083
|
||||||
@@ -148,7 +149,7 @@ SwitchSometimes: ; 380c1
|
|||||||
; 380ff
|
; 380ff
|
||||||
|
|
||||||
|
|
||||||
Function380ff: ; 380ff
|
CheckSubstatusCantRun: ; 380ff
|
||||||
ld a, [EnemySubStatus5]
|
ld a, [EnemySubStatus5]
|
||||||
bit SUBSTATUS_CANT_RUN, a
|
bit SUBSTATUS_CANT_RUN, a
|
||||||
ret
|
ret
|
||||||
@@ -565,7 +566,7 @@ Function383a3: ; 383a3 (e:43a3)
|
|||||||
call AIUsedItemSound
|
call AIUsedItemSound
|
||||||
call AI_HealStatus
|
call AI_HealStatus
|
||||||
ld a, FULL_HEAL
|
ld a, FULL_HEAL
|
||||||
jp Function38568
|
jp PrintText_UsedItemOn_AND_AIUpdateHUD
|
||||||
|
|
||||||
Function383ae: ; 383ae (e:43ae)
|
Function383ae: ; 383ae (e:43ae)
|
||||||
ld a, MAX_POTION
|
ld a, MAX_POTION
|
||||||
@@ -658,7 +659,7 @@ Function383f8: ; 383f8
|
|||||||
.asm_38436
|
.asm_38436
|
||||||
|
|
||||||
Function38436: ; 38436
|
Function38436: ; 38436
|
||||||
call Function38571
|
call PrintText_UsedItemOn
|
||||||
hlcoord 2, 2
|
hlcoord 2, 2
|
||||||
xor a
|
xor a
|
||||||
ld [wd10a], a
|
ld [wd10a], a
|
||||||
@@ -715,7 +716,7 @@ AI_Switch: ; 3846c
|
|||||||
call CopyBytes
|
call CopyBytes
|
||||||
pop af
|
pop af
|
||||||
jr c, .asm_384a3
|
jr c, .asm_384a3
|
||||||
ld hl, UnknownText_0x384d0
|
ld hl, TextJump_EnemyWithdrew
|
||||||
call PrintText
|
call PrintText
|
||||||
.asm_384a3
|
.asm_384a3
|
||||||
ld a, $1
|
ld a, $1
|
||||||
@@ -735,8 +736,8 @@ AI_Switch: ; 3846c
|
|||||||
ret
|
ret
|
||||||
; 384d0
|
; 384d0
|
||||||
|
|
||||||
UnknownText_0x384d0: ; 384d0
|
TextJump_EnemyWithdrew: ; 384d0
|
||||||
text_jump UnknownText_0x1bcf9c
|
text_jump Text_EnemyWithdrew
|
||||||
db "@"
|
db "@"
|
||||||
; 384d5
|
; 384d5
|
||||||
|
|
||||||
@@ -744,7 +745,7 @@ Function384d5: ; 384d5
|
|||||||
call AIUsedItemSound
|
call AIUsedItemSound
|
||||||
call AI_HealStatus
|
call AI_HealStatus
|
||||||
ld a, FULL_HEAL_RED
|
ld a, FULL_HEAL_RED
|
||||||
jp Function38568
|
jp PrintText_UsedItemOn_AND_AIUpdateHUD
|
||||||
; 384e0
|
; 384e0
|
||||||
|
|
||||||
AI_HealStatus: ; 384e0
|
AI_HealStatus: ; 384e0
|
||||||
@@ -765,7 +766,7 @@ Function384f7: ; 384f7
|
|||||||
ld hl, EnemySubStatus4
|
ld hl, EnemySubStatus4
|
||||||
set SUBSTATUS_X_ACCURACY, [hl]
|
set SUBSTATUS_X_ACCURACY, [hl]
|
||||||
ld a, X_ACCURACY
|
ld a, X_ACCURACY
|
||||||
jp Function38568
|
jp PrintText_UsedItemOn_AND_AIUpdateHUD
|
||||||
; 38504
|
; 38504
|
||||||
|
|
||||||
Function38504: ; 38504
|
Function38504: ; 38504
|
||||||
@@ -773,7 +774,7 @@ Function38504: ; 38504
|
|||||||
ld hl, EnemySubStatus4
|
ld hl, EnemySubStatus4
|
||||||
set SUBSTATUS_MIST, [hl]
|
set SUBSTATUS_MIST, [hl]
|
||||||
ld a, GUARD_SPEC
|
ld a, GUARD_SPEC
|
||||||
jp Function38568
|
jp PrintText_UsedItemOn_AND_AIUpdateHUD
|
||||||
; 38511
|
; 38511
|
||||||
|
|
||||||
Function38511: ; 38511
|
Function38511: ; 38511
|
||||||
@@ -781,7 +782,7 @@ Function38511: ; 38511
|
|||||||
ld hl, EnemySubStatus4
|
ld hl, EnemySubStatus4
|
||||||
set SUBSTATUS_FOCUS_ENERGY, [hl]
|
set SUBSTATUS_FOCUS_ENERGY, [hl]
|
||||||
ld a, DIRE_HIT
|
ld a, DIRE_HIT
|
||||||
jp Function38568
|
jp PrintText_UsedItemOn_AND_AIUpdateHUD
|
||||||
; 3851e
|
; 3851e
|
||||||
|
|
||||||
Function3851e: ; 3851e
|
Function3851e: ; 3851e
|
||||||
@@ -832,23 +833,29 @@ Function38553: ; 38553
|
|||||||
ld b, SP_ATTACK
|
ld b, SP_ATTACK
|
||||||
ld a, X_SPECIAL
|
ld a, X_SPECIAL
|
||||||
|
|
||||||
|
|
||||||
|
; Parameter
|
||||||
|
; a = ITEM_CONSTANT
|
||||||
|
; b = BATTLE_CONSTANT (ATTACK, DEFENSE, SPEED, SP_ATTACK, SP_DEFENSE, ACCURACY, EVASION)
|
||||||
Function38557:
|
Function38557:
|
||||||
ld [wd1f1], a
|
ld [wd1f1], a
|
||||||
push bc
|
push bc
|
||||||
call Function38571
|
call PrintText_UsedItemOn
|
||||||
pop bc
|
pop bc
|
||||||
callba Function361ef
|
callba Function361ef
|
||||||
jp AIUpdateHUD
|
jp AIUpdateHUD
|
||||||
; 38568
|
; 38568
|
||||||
|
|
||||||
|
|
||||||
Function38568: ; 38568
|
; Parameter
|
||||||
|
; a = ITEM_CONSTANT
|
||||||
|
PrintText_UsedItemOn_AND_AIUpdateHUD: ; 38568
|
||||||
ld [wd1f1], a
|
ld [wd1f1], a
|
||||||
call Function38571
|
call PrintText_UsedItemOn
|
||||||
jp AIUpdateHUD
|
jp AIUpdateHUD
|
||||||
; 38571
|
; 38571
|
||||||
|
|
||||||
Function38571: ; 38571
|
PrintText_UsedItemOn: ; 38571
|
||||||
ld a, [wd1f1]
|
ld a, [wd1f1]
|
||||||
ld [wd265], a
|
ld [wd265], a
|
||||||
call GetItemName
|
call GetItemName
|
||||||
@@ -856,11 +863,11 @@ Function38571: ; 38571
|
|||||||
ld de, wd050
|
ld de, wd050
|
||||||
ld bc, ITEM_NAME_LENGTH
|
ld bc, ITEM_NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, UnknownText_0x3858c
|
ld hl, TextJump_EnemyUsedOn
|
||||||
jp PrintText
|
jp PrintText
|
||||||
; 3858c
|
; 3858c
|
||||||
|
|
||||||
UnknownText_0x3858c: ; 3858c
|
TextJump_EnemyUsedOn: ; 3858c
|
||||||
text_jump UnknownText_0x1bcfaf
|
text_jump Text_EnemyUsedOn
|
||||||
db "@"
|
db "@"
|
||||||
; 38591
|
; 38591
|
||||||
|
@@ -129,18 +129,18 @@ Function3c0e5: ; 3c0e5
|
|||||||
ld [wd0ee], a
|
ld [wd0ee], a
|
||||||
ld a, [InLinkBattle]
|
ld a, [InLinkBattle]
|
||||||
and a
|
and a
|
||||||
ld hl, BattleText_0x807bd
|
ld hl, BattleText_WildFled
|
||||||
jr z, .asm_3c115
|
jr z, .asm_3c115
|
||||||
ld a, [wd0ee]
|
ld a, [wd0ee]
|
||||||
and $c0
|
and $c0
|
||||||
ld [wd0ee], a
|
ld [wd0ee], a
|
||||||
ld hl, BattleText_0x807cf
|
ld hl, BattleText_EnemyFled
|
||||||
call Function3d2e0
|
call Function3d2e0
|
||||||
jr nc, .asm_3c115
|
jr nc, .asm_3c115
|
||||||
ld hl, wcd2a
|
ld hl, wcd2a
|
||||||
bit 4, [hl]
|
bit 4, [hl]
|
||||||
jr nz, .asm_3c118
|
jr nz, .asm_3c118
|
||||||
ld hl, BattleText_0x81863
|
ld hl, BattleText_LinkErrorBattleCanceled
|
||||||
|
|
||||||
.asm_3c115
|
.asm_3c115
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
@@ -160,6 +160,7 @@ Function3c0e5: ; 3c0e5
|
|||||||
ret
|
ret
|
||||||
; 3c12f
|
; 3c12f
|
||||||
|
|
||||||
|
|
||||||
Function3c12f: ; 3c12f
|
Function3c12f: ; 3c12f
|
||||||
.loop
|
.loop
|
||||||
call Function3c1bf
|
call Function3c1bf
|
||||||
@@ -939,7 +940,7 @@ Function3c5fe: ; 3c5fe
|
|||||||
call SetEnemyTurn
|
call SetEnemyTurn
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [wc70f], a
|
ld [wc70f], a
|
||||||
callab Function38000
|
callab AI_SwitchOrTryItem
|
||||||
jr c, .asm_3c62f
|
jr c, .asm_3c62f
|
||||||
call Function3c6de
|
call Function3c6de
|
||||||
call Function3d2e0
|
call Function3d2e0
|
||||||
@@ -980,7 +981,7 @@ Function3c664: ; 3c664
|
|||||||
xor a
|
xor a
|
||||||
ld [wc70f], a
|
ld [wc70f], a
|
||||||
call SetEnemyTurn
|
call SetEnemyTurn
|
||||||
callab Function38000
|
callab AI_SwitchOrTryItem
|
||||||
push af
|
push af
|
||||||
call Function3c6cf
|
call Function3c6cf
|
||||||
pop bc
|
pop bc
|
||||||
@@ -4013,7 +4014,7 @@ Function3d8b3: ; 3d8b3
|
|||||||
ld hl, wcd2a
|
ld hl, wcd2a
|
||||||
bit 4, [hl]
|
bit 4, [hl]
|
||||||
jr nz, .asm_3da05
|
jr nz, .asm_3da05
|
||||||
ld hl, BattleText_0x81863
|
ld hl, BattleText_LinkErrorBattleCanceled
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
|
|
||||||
.asm_3da05
|
.asm_3da05
|
||||||
@@ -5160,7 +5161,7 @@ LoadBattleMenu2: ; 3e19b
|
|||||||
ld hl, wcd2a
|
ld hl, wcd2a
|
||||||
bit 4, [hl]
|
bit 4, [hl]
|
||||||
jr nz, .error
|
jr nz, .error
|
||||||
ld hl, BattleText_0x81863
|
ld hl, BattleText_LinkErrorBattleCanceled
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
ld c, 60
|
ld c, 60
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
@@ -7327,9 +7328,11 @@ Function3ee3b: ; 3ee3b
|
|||||||
ld a, [InLinkBattle]
|
ld a, [InLinkBattle]
|
||||||
and a
|
and a
|
||||||
ret nz
|
ret nz
|
||||||
|
|
||||||
ld a, [wcfc0]
|
ld a, [wcfc0]
|
||||||
bit 0, a
|
bit 0, a
|
||||||
ret nz
|
ret nz
|
||||||
|
|
||||||
call Function3f0d4
|
call Function3f0d4
|
||||||
xor a
|
xor a
|
||||||
ld [CurPartyMon], a
|
ld [CurPartyMon], a
|
||||||
|
@@ -142,7 +142,7 @@ SpecialsPointers:: ; c029
|
|||||||
add_special Function170215
|
add_special Function170215
|
||||||
add_special Function1704e1
|
add_special Function1704e1
|
||||||
add_special Function17021d
|
add_special Function17021d
|
||||||
add_special Function170b44
|
add_special Function_LoadOpponentTrainerAndPokemons170b44
|
||||||
add_special Function11ba38
|
add_special Function11ba38
|
||||||
add_special SpecialCheckForBattleTowerRules
|
add_special SpecialCheckForBattleTowerRules
|
||||||
add_special Function117656
|
add_special Function117656
|
||||||
|
@@ -67,7 +67,7 @@ Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
|
|||||||
writebyte $1
|
writebyte $1
|
||||||
special Special_Menu_ChallengeExplanationCancel
|
special Special_Menu_ChallengeExplanationCancel
|
||||||
if_equal $1, Script_ChoseChallenge
|
if_equal $1, Script_ChoseChallenge
|
||||||
if_equal $2, UnknownScript_0x9e4a5
|
if_equal $2, Script_BattleTowerExplanation
|
||||||
jump UnknownScript_0x9e4b0
|
jump UnknownScript_0x9e4b0
|
||||||
|
|
||||||
Script_ChoseChallenge: ; 0x9e40f
|
Script_ChoseChallenge: ; 0x9e40f
|
||||||
@@ -116,7 +116,7 @@ UnknownScript_0x9e454:
|
|||||||
warpcheck
|
warpcheck
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x9e47a:
|
Script_GivePlayerHisPrize: ; 0x9e47a
|
||||||
writebyte $1c
|
writebyte $1c
|
||||||
special Function170687
|
special Function170687
|
||||||
writebyte $1b
|
writebyte $1b
|
||||||
@@ -124,7 +124,7 @@ UnknownScript_0x9e47a:
|
|||||||
if_equal $12, Script_YourPackIsStuffedFull
|
if_equal $12, Script_YourPackIsStuffedFull
|
||||||
itemtotext $0, $1
|
itemtotext $0, $1
|
||||||
giveitem $ff, $5
|
giveitem $ff, $5
|
||||||
writetext UnknownText_0x9eb7e
|
writetext Text_PlayerGotFive
|
||||||
writebyte $1d
|
writebyte $1d
|
||||||
special Function170687
|
special Function170687
|
||||||
loadmovesprites
|
loadmovesprites
|
||||||
@@ -140,7 +140,7 @@ Script_BattleTowerIntroductionYesNo: ; 0x9e49e
|
|||||||
writetext Text_WouldYouLikeToHearAboutTheBattleTower
|
writetext Text_WouldYouLikeToHearAboutTheBattleTower
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x9e4a8
|
iffalse UnknownScript_0x9e4a8
|
||||||
UnknownScript_0x9e4a5:
|
Script_BattleTowerExplanation: ; 0x9e4a5
|
||||||
writetext Text_BattleTowerIntroduction_2
|
writetext Text_BattleTowerIntroduction_2
|
||||||
UnknownScript_0x9e4a8:
|
UnknownScript_0x9e4a8:
|
||||||
writebyte $1
|
writebyte $1
|
||||||
@@ -479,7 +479,7 @@ Text_ThankYou: ; 0x9ea3c
|
|||||||
para ""
|
para ""
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x9ea49:
|
Text_ThanksForVisiting: ; 0x9ea49
|
||||||
text "Thanks for"
|
text "Thanks for"
|
||||||
line "visiting!"
|
line "visiting!"
|
||||||
done
|
done
|
||||||
@@ -502,7 +502,7 @@ UnknownText_0x9ea5f:
|
|||||||
para ""
|
para ""
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x9eaef:
|
Text_CongratulationsYouveBeatenAllTheTrainers: ; 0x9eaef
|
||||||
text "Congratulations!"
|
text "Congratulations!"
|
||||||
|
|
||||||
para "You've beaten all"
|
para "You've beaten all"
|
||||||
@@ -522,7 +522,7 @@ UnknownText_0x9eb45:
|
|||||||
line "CENTER?"
|
line "CENTER?"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x9eb7e:
|
Text_PlayerGotFive: ; 0x9eb7e
|
||||||
text "<PLAYER> got five"
|
text "<PLAYER> got five"
|
||||||
line "@"
|
line "@"
|
||||||
text_from_ram StringBuffer4
|
text_from_ram StringBuffer4
|
||||||
@@ -699,7 +699,7 @@ UnknownText_0x9f076:
|
|||||||
line "tomorrow."
|
line "tomorrow."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x9f0c1:
|
Text_TooMuchTimeElapsedNoRegister: ; 0x9f0c1
|
||||||
text "Sorry, but it's"
|
text "Sorry, but it's"
|
||||||
line "not possible to"
|
line "not possible to"
|
||||||
|
|
||||||
|
@@ -3,25 +3,25 @@ BattleTowerBattleRoom_MapScriptHeader:
|
|||||||
db 2
|
db 2
|
||||||
|
|
||||||
; triggers
|
; triggers
|
||||||
dw UnknownScript_0x9f419, $0000
|
dw Script_EnterBattleRoom, $0000
|
||||||
dw UnknownScript_0x9f420, $0000
|
dw UnknownScript_0x9f420, $0000
|
||||||
|
|
||||||
.MapCallbacks:
|
.MapCallbacks:
|
||||||
db 0
|
db 0
|
||||||
|
|
||||||
UnknownScript_0x9f419:
|
Script_EnterBattleRoom: ; 0x9f419
|
||||||
disappear $2
|
disappear $2
|
||||||
priorityjump UnknownScript_0x9f421
|
priorityjump Script_BattleRoom
|
||||||
dotrigger $1
|
dotrigger $1
|
||||||
|
|
||||||
UnknownScript_0x9f420:
|
UnknownScript_0x9f420:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x9f421:
|
Script_BattleRoom: ; 0x9f421
|
||||||
applymovement PLAYER, MovementData_0x9e58c
|
applymovement PLAYER, MovementData_0x9e58c
|
||||||
UnknownScript_0x9f425:
|
; beat all 7 opponents in a row
|
||||||
|
Script_BattleRoomLoop: ; 0x9f425
|
||||||
writebyte $2
|
writebyte $2
|
||||||
special Function170b44
|
special Function_LoadOpponentTrainerAndPokemons170b44
|
||||||
appear $2
|
appear $2
|
||||||
warpsound
|
warpsound
|
||||||
waitbutton
|
waitbutton
|
||||||
@@ -30,12 +30,12 @@ UnknownScript_0x9f425:
|
|||||||
storetext 1
|
storetext 1
|
||||||
keeptextopen
|
keeptextopen
|
||||||
loadmovesprites
|
loadmovesprites
|
||||||
special Function170215
|
special Function170215 ; calls predef startbattle
|
||||||
special FadeBlackBGMap
|
special FadeBlackBGMap
|
||||||
reloadmap
|
reloadmap
|
||||||
if_not_equal $0, UnknownScript_0x9f4c2
|
if_not_equal $0, UnknownScript_0x9f4c2
|
||||||
copybytetovar wcf64
|
copybytetovar wcf64
|
||||||
if_equal $7, UnknownScript_0x9f4d9
|
if_equal $7, Script_BeatenAllTrainers
|
||||||
applymovement $2, MovementData_0x9e597
|
applymovement $2, MovementData_0x9e597
|
||||||
warpsound
|
warpsound
|
||||||
disappear $2
|
disappear $2
|
||||||
@@ -54,17 +54,17 @@ UnknownScript_0x9f425:
|
|||||||
loadfont
|
loadfont
|
||||||
writetext Text_NextUpOpponentNo
|
writetext Text_NextUpOpponentNo
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x9f483
|
iffalse Script_DontBattleNextOpponent
|
||||||
UnknownScript_0x9f477:
|
Script_ContinueAndBattleNextOpponent: ; 0x9f477
|
||||||
loadmovesprites
|
loadmovesprites
|
||||||
applymovement PLAYER, MovementData_0x9e5a9
|
applymovement PLAYER, MovementData_0x9e5a9
|
||||||
applymovement $3, MovementData_0x9e5a1
|
applymovement $3, MovementData_0x9e5a1
|
||||||
jump UnknownScript_0x9f425
|
jump Script_BattleRoomLoop
|
||||||
|
|
||||||
UnknownScript_0x9f483:
|
Script_DontBattleNextOpponent: ; 0x9f483
|
||||||
writetext Text_SaveAndEndTheSession
|
writetext Text_SaveAndEndTheSession
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x9f4a3
|
iffalse Script_DontSaveAndEndTheSession
|
||||||
writebyte $7
|
writebyte $7
|
||||||
special Function170687
|
special Function170687
|
||||||
writebyte $1f
|
writebyte $1f
|
||||||
@@ -75,10 +75,10 @@ UnknownScript_0x9f483:
|
|||||||
waitbutton
|
waitbutton
|
||||||
special FadeBlackBGMap
|
special FadeBlackBGMap
|
||||||
special Reset
|
special Reset
|
||||||
UnknownScript_0x9f4a3:
|
Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
||||||
writetext Text_CancelYourBattleRoomChallenge
|
writetext Text_CancelYourBattleRoomChallenge
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x9f477
|
iffalse Script_ContinueAndBattleNextOpponent
|
||||||
writebyte $4
|
writebyte $4
|
||||||
special Function170687
|
special Function170687
|
||||||
writebyte $6
|
writebyte $6
|
||||||
@@ -96,25 +96,25 @@ UnknownScript_0x9f4c2:
|
|||||||
writebyte $4
|
writebyte $4
|
||||||
special Function170687
|
special Function170687
|
||||||
loadfont
|
loadfont
|
||||||
writetext UnknownText_0x9ea49
|
writetext Text_ThanksForVisiting
|
||||||
closetext
|
closetext
|
||||||
loadmovesprites
|
loadmovesprites
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x9f4d9:
|
Script_BeatenAllTrainers: ; 0x9f4d9
|
||||||
pause 60
|
pause 60
|
||||||
special Special_BattleTowerFade
|
special Special_BattleTowerFade
|
||||||
warpfacing $1, BATTLE_TOWER_1F, $7, $7
|
warpfacing $1, BATTLE_TOWER_1F, $7, $7
|
||||||
BattleTowerBattleRoomScript_0x9f4e4:
|
BattleTowerBattleRoomScript_0x9f4e4:
|
||||||
loadfont
|
loadfont
|
||||||
writetext UnknownText_0x9eaef
|
writetext Text_CongratulationsYouveBeatenAllTheTrainers
|
||||||
jump UnknownScript_0x9e47a
|
jump Script_GivePlayerHisPrize
|
||||||
|
|
||||||
UnknownScript_0x9f4eb:
|
UnknownScript_0x9f4eb:
|
||||||
writebyte $4
|
writebyte $4
|
||||||
special Function170687
|
special Function170687
|
||||||
loadfont
|
loadfont
|
||||||
writetext UnknownText_0x9f0c1
|
writetext Text_TooMuchTimeElapsedNoRegister
|
||||||
closetext
|
closetext
|
||||||
loadmovesprites
|
loadmovesprites
|
||||||
end
|
end
|
||||||
@@ -125,7 +125,7 @@ UnknownScript_0x9f4f7:
|
|||||||
writebyte $6
|
writebyte $6
|
||||||
special Function170687
|
special Function170687
|
||||||
loadfont
|
loadfont
|
||||||
writetext UnknownText_0x9ea49
|
writetext Text_ThanksForVisiting
|
||||||
writetext Text_WeHopeToServeYouAgain
|
writetext Text_WeHopeToServeYouAgain
|
||||||
closetext
|
closetext
|
||||||
loadmovesprites
|
loadmovesprites
|
||||||
|
@@ -12,14 +12,13 @@ BattleTowerHallway_MapScriptHeader:
|
|||||||
UnknownScript_0x9f5bb:
|
UnknownScript_0x9f5bb:
|
||||||
priorityjump UnknownScript_0x9f5c1
|
priorityjump UnknownScript_0x9f5c1
|
||||||
dotrigger $1
|
dotrigger $1
|
||||||
|
|
||||||
UnknownScript_0x9f5c0:
|
UnknownScript_0x9f5c0:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x9f5c1:
|
UnknownScript_0x9f5c1:
|
||||||
follow $2, PLAYER
|
follow $2, PLAYER
|
||||||
callasm Function_0x9f5cb
|
callasm Function_0x9f5cb
|
||||||
jump UnknownScript_0x9f5dc
|
jump Script_WalkToChosenBattleRoom
|
||||||
|
|
||||||
|
|
||||||
Function_0x9f5cb:
|
Function_0x9f5cb:
|
||||||
@@ -36,35 +35,38 @@ Function_0x9f5cb:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
UnknownScript_0x9f5dc:
|
; enter different rooms for different levels to battle against
|
||||||
if_equal $3, UnknownScript_0x9f603
|
; at least it should look like that
|
||||||
if_equal $4, UnknownScript_0x9f603
|
; because all warps lead to the same room
|
||||||
if_equal $5, UnknownScript_0x9f60a
|
Script_WalkToChosenBattleRoom: ; 0x9f5dc
|
||||||
if_equal $6, UnknownScript_0x9f60a
|
if_equal 3, Script_WalkToBattleRoomL30L40
|
||||||
if_equal $7, UnknownScript_0x9f611
|
if_equal 4, Script_WalkToBattleRoomL30L40
|
||||||
if_equal $8, UnknownScript_0x9f611
|
if_equal 5, Script_WalkToBattleRoomL50L60
|
||||||
if_equal $9, UnknownScript_0x9f618
|
if_equal 6, Script_WalkToBattleRoomL50L60
|
||||||
if_equal $a, UnknownScript_0x9f618
|
if_equal 7, Script_WalkToBattleRoomL70L80
|
||||||
|
if_equal 8, Script_WalkToBattleRoomL70L80
|
||||||
|
if_equal 9, Script_WalkToBattleRoomL90L100
|
||||||
|
if_equal 10, Script_WalkToBattleRoomL90L100
|
||||||
applymovement $2, MovementData_0x9e57a
|
applymovement $2, MovementData_0x9e57a
|
||||||
jump UnknownScript_0x9f61f
|
jump Script_PlayerEntersBattleRoom
|
||||||
|
|
||||||
UnknownScript_0x9f603:
|
Script_WalkToBattleRoomL30L40: ; 0x9f603
|
||||||
applymovement $2, MovementData_0x9e57c
|
applymovement $2, MovementData_0x9e57c
|
||||||
jump UnknownScript_0x9f61f
|
jump Script_PlayerEntersBattleRoom
|
||||||
|
|
||||||
UnknownScript_0x9f60a:
|
Script_WalkToBattleRoomL50L60: ; 0x9f60a
|
||||||
applymovement $2, MovementData_0x9e586
|
applymovement $2, MovementData_0x9e586
|
||||||
jump UnknownScript_0x9f61f
|
jump Script_PlayerEntersBattleRoom
|
||||||
|
|
||||||
UnknownScript_0x9f611:
|
Script_WalkToBattleRoomL70L80: ; 0x9f611
|
||||||
applymovement $2, MovementData_0x9e584
|
applymovement $2, MovementData_0x9e584
|
||||||
jump UnknownScript_0x9f61f
|
jump Script_PlayerEntersBattleRoom
|
||||||
|
|
||||||
UnknownScript_0x9f618:
|
Script_WalkToBattleRoomL90L100: ; 0x9f618
|
||||||
applymovement $2, MovementData_0x9e582
|
applymovement $2, MovementData_0x9e582
|
||||||
jump UnknownScript_0x9f61f
|
jump Script_PlayerEntersBattleRoom
|
||||||
|
|
||||||
UnknownScript_0x9f61f:
|
Script_PlayerEntersBattleRoom: ; 0x9f61f
|
||||||
faceperson PLAYER, $2
|
faceperson PLAYER, $2
|
||||||
loadfont
|
loadfont
|
||||||
writetext Text_PleaseStepThisWay
|
writetext Text_PleaseStepThisWay
|
||||||
|
@@ -9739,11 +9739,11 @@ Function118922: ; 118922
|
|||||||
ld a, [wcd38]
|
ld a, [wcd38]
|
||||||
and a
|
and a
|
||||||
jr nz, .asm_11892d
|
jr nz, .asm_11892d
|
||||||
ld hl, UnknownText_0x11aba5
|
ld hl, Text_WhatLevelDoYouWantToChallenge
|
||||||
jr .asm_118930
|
jr .asm_118930
|
||||||
|
|
||||||
.asm_11892d
|
.asm_11892d
|
||||||
ld hl, UnknownText_0x11abcb
|
ld hl, Text_CheckBattleRoomListByMaxLevel
|
||||||
|
|
||||||
.asm_118930
|
.asm_118930
|
||||||
call Function11a9c0
|
call Function11a9c0
|
||||||
@@ -9770,13 +9770,13 @@ Function118936:
|
|||||||
ld a, [StatusFlags]
|
ld a, [StatusFlags]
|
||||||
bit 6, a
|
bit 6, a
|
||||||
jr nz, .asm_11896b
|
jr nz, .asm_11896b
|
||||||
ld hl, Strings_119d64
|
ld hl, Strings_Ll0ToL40 ; Address to list of strings with the choosable levels
|
||||||
ld a, $5
|
ld a, 5 ; 4 levels to choose from, including 'Cancel'-option
|
||||||
jr .asm_118970
|
jr .asm_118970
|
||||||
|
|
||||||
.asm_11896b
|
.asm_11896b
|
||||||
ld hl, Strings_119d0c
|
ld hl, Strings_L10ToL100 ; Address to list of strings with the choosable levels
|
||||||
ld a, $b
|
ld a, 11 ; 10 levels to choose from, including 'Cancel'-option
|
||||||
|
|
||||||
.asm_118970
|
.asm_118970
|
||||||
ld [wcd4a], a
|
ld [wcd4a], a
|
||||||
@@ -12537,7 +12537,7 @@ MenuData_119cff: ; 119cff
|
|||||||
String_119d07:
|
String_119d07:
|
||||||
db " ▼@"
|
db " ▼@"
|
||||||
|
|
||||||
Strings_119d0c:
|
Strings_L10ToL100: ; 119d0c
|
||||||
db " L:10 @@"
|
db " L:10 @@"
|
||||||
db " L:20 @@"
|
db " L:20 @@"
|
||||||
db " L:30 @@"
|
db " L:30 @@"
|
||||||
@@ -12550,7 +12550,7 @@ Strings_119d0c:
|
|||||||
db " L:100@@"
|
db " L:100@@"
|
||||||
db "CANCEL@@"
|
db "CANCEL@@"
|
||||||
|
|
||||||
Strings_119d64:
|
Strings_Ll0ToL40: ; 119d64
|
||||||
db " L:10 @@"
|
db " L:10 @@"
|
||||||
db " L:20 @@"
|
db " L:20 @@"
|
||||||
db " L:30 @@"
|
db " L:30 @@"
|
||||||
@@ -14274,13 +14274,13 @@ UnknownText_0x11ab8b: ; 0x11ab8b
|
|||||||
done
|
done
|
||||||
; 0x11aba5
|
; 0x11aba5
|
||||||
|
|
||||||
UnknownText_0x11aba5: ; 0x11aba5
|
Text_WhatLevelDoYouWantToChallenge: ; 0x11aba5
|
||||||
text "What level do you"
|
text "What level do you"
|
||||||
line "want to challenge?"
|
line "want to challenge?"
|
||||||
done
|
done
|
||||||
; 0x11abcb
|
; 0x11abcb
|
||||||
|
|
||||||
UnknownText_0x11abcb: ; 0x11abcb
|
Text_CheckBattleRoomListByMaxLevel: ; 0x11abcb
|
||||||
text "Check BATTLE ROOM"
|
text "Check BATTLE ROOM"
|
||||||
line "list by max level?"
|
line "list by max level?"
|
||||||
done
|
done
|
||||||
@@ -24178,7 +24178,7 @@ Function170b16: ; 170b16 (5c:4b16)
|
|||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Function170b44: ; 170b44
|
Function_LoadOpponentTrainerAndPokemons170b44: ; 0x170b44
|
||||||
callba Function_LoadOpponentTrainerAndPokemons
|
callba Function_LoadOpponentTrainerAndPokemons
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
|
@@ -44,7 +44,7 @@ WantsToBattleText:: ; 0x807a9
|
|||||||
prompt
|
prompt
|
||||||
; 0x807bd
|
; 0x807bd
|
||||||
|
|
||||||
BattleText_0x807bd: ; 0x807bd
|
BattleText_WildFled: ; 0x807bd
|
||||||
text "Wild @"
|
text "Wild @"
|
||||||
text_from_ram EnemyMonNick
|
text_from_ram EnemyMonNick
|
||||||
text ""
|
text ""
|
||||||
@@ -52,7 +52,7 @@ BattleText_0x807bd: ; 0x807bd
|
|||||||
prompt
|
prompt
|
||||||
; 0x807cf
|
; 0x807cf
|
||||||
|
|
||||||
BattleText_0x807cf: ; 0x807cf
|
BattleText_EnemyFled: ; 0x807cf
|
||||||
text "Enemy @"
|
text "Enemy @"
|
||||||
text_from_ram EnemyMonNick
|
text_from_ram EnemyMonNick
|
||||||
text ""
|
text ""
|
||||||
@@ -1282,7 +1282,7 @@ IgnoredOrders2Text: ; 0x81850
|
|||||||
prompt
|
prompt
|
||||||
; 0x81863
|
; 0x81863
|
||||||
|
|
||||||
BattleText_0x81863: ; 0x81863
|
BattleText_LinkErrorBattleCanceled: ; 0x81863
|
||||||
text "Link error…"
|
text "Link error…"
|
||||||
|
|
||||||
para "The battle has"
|
para "The battle has"
|
||||||
|
@@ -1295,7 +1295,7 @@ UnknownText_0x1bcf99: ; 0x1bcf99
|
|||||||
done
|
done
|
||||||
; 0x1bcf9c
|
; 0x1bcf9c
|
||||||
|
|
||||||
UnknownText_0x1bcf9c: ; 0x1bcf9c
|
Text_EnemyWithdrew: ; 0x1bcf9c
|
||||||
text "<ENEMY>"
|
text "<ENEMY>"
|
||||||
line "withdrew"
|
line "withdrew"
|
||||||
cont "@"
|
cont "@"
|
||||||
@@ -1304,7 +1304,7 @@ UnknownText_0x1bcf9c: ; 0x1bcf9c
|
|||||||
prompt
|
prompt
|
||||||
; 0x1bcfaf
|
; 0x1bcfaf
|
||||||
|
|
||||||
UnknownText_0x1bcfaf: ; 0x1bcfaf
|
Text_EnemyUsedOn: ; 0x1bcfaf
|
||||||
text "<ENEMY>"
|
text "<ENEMY>"
|
||||||
line "used @"
|
line "used @"
|
||||||
text_from_ram wd050
|
text_from_ram wd050
|
||||||
@@ -1315,19 +1315,19 @@ UnknownText_0x1bcfaf: ; 0x1bcfaf
|
|||||||
prompt
|
prompt
|
||||||
; 0x1bcfc7
|
; 0x1bcfc7
|
||||||
|
|
||||||
UnknownText_0x1bcfc7: ; 0x1bcfc7
|
Text_ThatCantBeUsedRightNow: ; 0x1bcfc7
|
||||||
text "That can't be used"
|
text "That can't be used"
|
||||||
line "right now."
|
line "right now."
|
||||||
prompt
|
prompt
|
||||||
; 0x1bcfe5
|
; 0x1bcfe5
|
||||||
|
|
||||||
UnknownText_0x1bcfe5: ; 0x1bcfe5
|
Text_ThatItemCantBePutInThePack: ; 0x1bcfe5
|
||||||
text "That item can't be"
|
text "That item can't be"
|
||||||
line "put in the PACK."
|
line "put in the PACK."
|
||||||
done
|
done
|
||||||
; 0x1bd009
|
; 0x1bd009
|
||||||
|
|
||||||
UnknownText_0x1bd009: ; 0x1bd009
|
Text_TheItemWasPutInThePack: ; 0x1bd009
|
||||||
text "The @"
|
text "The @"
|
||||||
text_from_ram StringBuffer1
|
text_from_ram StringBuffer1
|
||||||
text ""
|
text ""
|
||||||
@@ -1336,18 +1336,18 @@ UnknownText_0x1bd009: ; 0x1bd009
|
|||||||
done
|
done
|
||||||
; 0x1bd029
|
; 0x1bd029
|
||||||
|
|
||||||
UnknownText_0x1bd029: ; 0x1bd029
|
Text_RemainingTime: ; 0x1bd029
|
||||||
text "Remaining Time"
|
text "Remaining Time"
|
||||||
done
|
done
|
||||||
; 0x1bd039
|
; 0x1bd039
|
||||||
|
|
||||||
UnknownText_0x1bd039: ; 0x1bd039
|
Text_YourPkmnsHPWasHealed: ; 0x1bd039
|
||||||
text "Your #MON's HP"
|
text "Your #MON's HP"
|
||||||
line "was healed."
|
line "was healed."
|
||||||
prompt
|
prompt
|
||||||
; 0x1bd054
|
; 0x1bd054
|
||||||
|
|
||||||
UnknownText_0x1bd054: ; 0x1bd054
|
Text_Warping: ; 0x1bd054
|
||||||
text "Warping…"
|
text "Warping…"
|
||||||
done
|
done
|
||||||
; 0x1bd05e
|
; 0x1bd05e
|
||||||
@@ -1372,7 +1372,7 @@ UnknownText_0x1bd09a: ; 0x1bd09a
|
|||||||
prompt
|
prompt
|
||||||
; 0x1bd0bd
|
; 0x1bd0bd
|
||||||
|
|
||||||
UnknownText_0x1bd0bd: ; 0x1bd0bd
|
Text_BreedingIsNotPossible: ; 0x1bd0bd
|
||||||
text "Breeding is not"
|
text "Breeding is not"
|
||||||
line "possible."
|
line "possible."
|
||||||
prompt
|
prompt
|
||||||
|
Reference in New Issue
Block a user