mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 19:24:16 +01:00
fix merge conflicts
This commit is contained in:
commit
9ee9a20152
@ -1886,7 +1886,7 @@ sub_8035C4C: @ 8035C4C
|
|||||||
ldrb r2, [r0]
|
ldrb r2, [r0]
|
||||||
cmp r2, 0x3
|
cmp r2, 0x3
|
||||||
bne _08035C68
|
bne _08035C68
|
||||||
ldr r0, =gUnknown_085CCBAD
|
ldr r0, =gText_Draw
|
||||||
movs r1, 0x15
|
movs r1, 0x15
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
b _08035D68
|
b _08035D68
|
||||||
@ -1962,10 +1962,10 @@ _08035CE2:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _08035D36
|
beq _08035D36
|
||||||
_08035CFC:
|
_08035CFC:
|
||||||
ldr r0, =gUnknown_085CCB9E
|
ldr r0, =gText_Win
|
||||||
movs r1, 0x17
|
movs r1, 0x17
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCBA5
|
ldr r0, =gText_Loss
|
||||||
movs r1, 0x16
|
movs r1, 0x16
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
b _08035D68
|
b _08035D68
|
||||||
@ -1983,19 +1983,19 @@ _08035D20:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _08035D58
|
beq _08035D58
|
||||||
_08035D36:
|
_08035D36:
|
||||||
ldr r0, =gUnknown_085CCB9E
|
ldr r0, =gText_Win
|
||||||
movs r1, 0x16
|
movs r1, 0x16
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCBA5
|
ldr r0, =gText_Loss
|
||||||
movs r1, 0x17
|
movs r1, 0x17
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
b _08035D68
|
b _08035D68
|
||||||
.pool
|
.pool
|
||||||
_08035D58:
|
_08035D58:
|
||||||
ldr r0, =gUnknown_085CCB9E
|
ldr r0, =gText_Win
|
||||||
movs r1, 0x17
|
movs r1, 0x17
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCBA5
|
ldr r0, =gText_Loss
|
||||||
movs r1, 0x16
|
movs r1, 0x16
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
_08035D68:
|
_08035D68:
|
||||||
|
@ -4995,7 +4995,7 @@ _08039470:
|
|||||||
beq _0803947E
|
beq _0803947E
|
||||||
b _0803975E
|
b _0803975E
|
||||||
_0803947E:
|
_0803947E:
|
||||||
ldr r0, =gUnknown_085CD28F
|
ldr r0, =gText_RecordBattleToPass
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r1, =gBattleCommunication
|
ldr r1, =gBattleCommunication
|
||||||
@ -5018,7 +5018,7 @@ _080394AC:
|
|||||||
movs r2, 0x1D
|
movs r2, 0x1D
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl sub_8056A3C
|
bl sub_8056A3C
|
||||||
ldr r0, =gUnknown_085CCABB
|
ldr r0, =gText_BattleYesNoChoice
|
||||||
movs r1, 0xC
|
movs r1, 0xC
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r4, =gBattleCommunication
|
ldr r4, =gBattleCommunication
|
||||||
@ -5213,7 +5213,7 @@ _08039678:
|
|||||||
bne _080396A0
|
bne _080396A0
|
||||||
movs r0, 0x37
|
movs r0, 0x37
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r0, =gUnknown_085CD2CB
|
ldr r0, =gText_BattleRecordedOnPass
|
||||||
_08039686:
|
_08039686:
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -9235,7 +9235,7 @@ _0803B7EA:
|
|||||||
ldr r1, =gAbsentBankFlags
|
ldr r1, =gAbsentBankFlags
|
||||||
ldrb r1, [r1]
|
ldrb r1, [r1]
|
||||||
strb r1, [r0]
|
strb r1, [r0]
|
||||||
ldr r0, =gUnknown_085CC23E
|
ldr r0, =gText_EmptyString3
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r1, =gBattleMainFunc
|
ldr r1, =gBattleMainFunc
|
||||||
@ -9506,7 +9506,7 @@ _0803BAB2:
|
|||||||
ldr r4, =gNoOfAllBanks
|
ldr r4, =gNoOfAllBanks
|
||||||
ldr r0, =gAbsentBankFlags
|
ldr r0, =gAbsentBankFlags
|
||||||
mov r12, r0
|
mov r12, r0
|
||||||
ldr r1, =gUnknown_085CC23E
|
ldr r1, =gText_EmptyString3
|
||||||
mov r9, r1
|
mov r9, r1
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
cmp r2, r0
|
cmp r2, r0
|
||||||
|
@ -14790,7 +14790,7 @@ _0804E084:
|
|||||||
movs r2, 0x1D
|
movs r2, 0x1D
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl sub_8056A3C
|
bl sub_8056A3C
|
||||||
ldr r0, =gUnknown_085CCABB
|
ldr r0, =gText_BattleYesNoChoice
|
||||||
movs r1, 0xC
|
movs r1, 0xC
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r1, =gBattleScripting
|
ldr r1, =gBattleScripting
|
||||||
@ -15154,7 +15154,7 @@ _0804E3E0:
|
|||||||
movs r2, 0x1D
|
movs r2, 0x1D
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl sub_8056A3C
|
bl sub_8056A3C
|
||||||
ldr r0, =gUnknown_085CCABB
|
ldr r0, =gText_BattleYesNoChoice
|
||||||
movs r1, 0xC
|
movs r1, 0xC
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldrb r0, [r5, 0x1F]
|
ldrb r0, [r5, 0x1F]
|
||||||
@ -16078,7 +16078,7 @@ _0804EBD8:
|
|||||||
movs r2, 0x1D
|
movs r2, 0x1D
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl sub_8056A3C
|
bl sub_8056A3C
|
||||||
ldr r0, =gUnknown_085CCABB
|
ldr r0, =gText_BattleYesNoChoice
|
||||||
movs r1, 0xC
|
movs r1, 0xC
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
@ -17915,7 +17915,7 @@ _0804FC32:
|
|||||||
bl sub_81A5D44
|
bl sub_81A5D44
|
||||||
b _0804FD70
|
b _0804FD70
|
||||||
_0804FC38:
|
_0804FC38:
|
||||||
ldr r1, =gUnknown_085CD1C8
|
ldr r1, =gRefereeStringsTable
|
||||||
ldr r0, =gBattlescriptCurrInstr
|
ldr r0, =gBattlescriptCurrInstr
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
ldrb r0, [r0, 0x1]
|
ldrb r0, [r0, 0x1]
|
||||||
@ -30831,7 +30831,7 @@ _08056C2C:
|
|||||||
movs r2, 0x1D
|
movs r2, 0x1D
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl sub_8056A3C
|
bl sub_8056A3C
|
||||||
ldr r0, =gUnknown_085CCABB
|
ldr r0, =gText_BattleYesNoChoice
|
||||||
movs r1, 0xC
|
movs r1, 0xC
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r1, =gBattleCommunication
|
ldr r1, =gBattleCommunication
|
||||||
|
@ -1245,7 +1245,7 @@ _08057F80:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0x1B
|
movs r1, 0x1B
|
||||||
bl battle_menu_cursor_related_2
|
bl battle_menu_cursor_related_2
|
||||||
ldr r0, =gUnknown_085CCACA
|
ldr r0, =gText_BattleSwitchWhich
|
||||||
movs r1, 0xB
|
movs r1, 0xB
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r1, =gBattleBankFunc
|
ldr r1, =gBattleBankFunc
|
||||||
@ -4377,7 +4377,7 @@ _08059AF4:
|
|||||||
sub_8059B18: @ 8059B18
|
sub_8059B18: @ 8059B18
|
||||||
push {r4,lr}
|
push {r4,lr}
|
||||||
ldr r4, =gDisplayedStringBattle
|
ldr r4, =gDisplayedStringBattle
|
||||||
ldr r1, =gUnknown_085CCA6F
|
ldr r1, =gText_MoveInterfacePP
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -4449,7 +4449,7 @@ sub_8059BB0: @ 8059BB0
|
|||||||
ldr r0, =gBattleBufferA + 4
|
ldr r0, =gBattleBufferA + 4
|
||||||
adds r4, r0
|
adds r4, r0
|
||||||
ldr r6, =gDisplayedStringBattle
|
ldr r6, =gDisplayedStringBattle
|
||||||
ldr r1, =gUnknown_085CCA73
|
ldr r1, =gText_MoveInterfaceType
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
movs r1, 0xFC
|
movs r1, 0xFC
|
||||||
@ -4716,7 +4716,7 @@ b_link_standby_message: @ 8059DC0
|
|||||||
strh r1, [r0]
|
strh r1, [r0]
|
||||||
ldr r0, =gUnknown_02022E16
|
ldr r0, =gUnknown_02022E16
|
||||||
strh r1, [r0]
|
strh r1, [r0]
|
||||||
ldr r0, =gUnknown_085CCA29
|
ldr r0, =gText_LinkStandby
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
_08059DE0:
|
_08059DE0:
|
||||||
@ -8532,7 +8532,7 @@ dp01t_12_6_battle_menu: @ 805C044
|
|||||||
ldr r1, =sub_805C004
|
ldr r1, =sub_805C004
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
bl sub_817F2A8
|
bl sub_817F2A8
|
||||||
ldr r0, =gUnknown_085CCA3A
|
ldr r0, =gText_BattleMenu
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
@ -8550,7 +8550,7 @@ _0805C062:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8059CB4
|
bl sub_8059CB4
|
||||||
ldr r0, =gUnknown_085CC9F3
|
ldr r0, =gText_WhatWillPkmnDo
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -8578,7 +8578,7 @@ sub_805C0B0: @ 805C0B0
|
|||||||
movs r2, 0x1D
|
movs r2, 0x1D
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl sub_8056A3C
|
bl sub_8056A3C
|
||||||
ldr r0, =gUnknown_085CCABB
|
ldr r0, =gText_BattleYesNoChoice
|
||||||
movs r1, 0xC
|
movs r1, 0xC
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r1, =gUnknown_03005D74
|
ldr r1, =gUnknown_03005D74
|
||||||
|
@ -860,7 +860,7 @@ sub_8159A94: @ 8159A94
|
|||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =sub_8159A54
|
ldr r1, =sub_8159A54
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
ldr r0, =gUnknown_085CCA54
|
ldr r0, =gText_SafariZoneMenu
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
@ -878,7 +878,7 @@ _08159AAE:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8059CB4
|
bl sub_8059CB4
|
||||||
ldr r0, =gUnknown_085CCA04
|
ldr r0, =gText_WhatWillPkmnDo2
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
|
@ -3674,7 +3674,7 @@ dp01t_12_1_battle_menu: @ 816A470
|
|||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =sub_816A430
|
ldr r1, =sub_816A430
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
ldr r0, =gUnknown_085CCA3A
|
ldr r0, =gText_BattleMenu
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
@ -3692,7 +3692,7 @@ _0816A48A:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8059CB4
|
bl sub_8059CB4
|
||||||
ldr r0, =gUnknown_085CCA15
|
ldr r0, =gText_WhatWillWallyDo
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1802,7 +1802,7 @@ _0818F974:
|
|||||||
sub_818F9B0: @ 818F9B0
|
sub_818F9B0: @ 818F9B0
|
||||||
push {lr}
|
push {lr}
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r2, =gUnknown_085CCD20
|
ldr r2, =gRoundsStringTable
|
||||||
ldr r1, =gSaveBlock2Ptr
|
ldr r1, =gSaveBlock2Ptr
|
||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
ldr r3, =0x00000cb2
|
ldr r3, =0x00000cb2
|
||||||
@ -1821,7 +1821,7 @@ sub_818F9B0: @ 818F9B0
|
|||||||
sub_818F9E0: @ 818F9E0
|
sub_818F9E0: @ 818F9E0
|
||||||
push {lr}
|
push {lr}
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r2, =gUnknown_085CCD20
|
ldr r2, =gRoundsStringTable
|
||||||
ldr r1, =gSaveBlock2Ptr
|
ldr r1, =gSaveBlock2Ptr
|
||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
ldr r3, =0x00000cb2
|
ldr r3, =0x00000cb2
|
||||||
@ -10605,7 +10605,7 @@ _081944FC:
|
|||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
strb r1, [r0, 0x5]
|
strb r1, [r0, 0x5]
|
||||||
ldr r0, =gUnknown_085CCCEE
|
ldr r0, =gText_BattleTourney
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
add r0, sp, 0x4
|
add r0, sp, 0x4
|
||||||
strb r1, [r0, 0x4]
|
strb r1, [r0, 0x4]
|
||||||
|
@ -2398,7 +2398,7 @@ sub_819B9B4: @ 819B9B4
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EEBB2
|
ldr r2, =gText_RentalPkmn2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -2481,20 +2481,20 @@ sub_819BA64: @ 819BA64
|
|||||||
ldrb r0, [r0, 0x5]
|
ldrb r0, [r0, 0x5]
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _0819BA88
|
bne _0819BA88
|
||||||
ldr r2, =gUnknown_085EEBC1
|
ldr r2, =gText_SelectFirstPkmn
|
||||||
b _0819BA9C
|
b _0819BA9C
|
||||||
.pool
|
.pool
|
||||||
_0819BA88:
|
_0819BA88:
|
||||||
cmp r0, 0x2
|
cmp r0, 0x2
|
||||||
bne _0819BA94
|
bne _0819BA94
|
||||||
ldr r2, =gUnknown_085EEBDB
|
ldr r2, =gText_SelectSecondPkmn
|
||||||
b _0819BA9C
|
b _0819BA9C
|
||||||
.pool
|
.pool
|
||||||
_0819BA94:
|
_0819BA94:
|
||||||
ldr r2, =gUnknown_085EEC2D
|
ldr r2, =gText_TheseThreePkmnOkay
|
||||||
cmp r0, 0x3
|
cmp r0, 0x3
|
||||||
bne _0819BA9C
|
bne _0819BA9C
|
||||||
ldr r2, =gUnknown_085EEBF6
|
ldr r2, =gText_SelectThirdPkmn
|
||||||
_0819BA9C:
|
_0819BA9C:
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
@ -2521,7 +2521,7 @@ sub_819BAC8: @ 819BAC8
|
|||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EEC50
|
ldr r2, =gText_CantSelectSamePkmn
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -2560,7 +2560,7 @@ sub_819BAFC: @ 819BAFC
|
|||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
movs r6, 0
|
movs r6, 0
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EEC15
|
ldr r0, =gText_Summary
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2571,7 +2571,7 @@ sub_819BAFC: @ 819BAFC
|
|||||||
beq _0819BB60
|
beq _0819BB60
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EEC24
|
ldr r0, =gText_Deselect
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2583,7 +2583,7 @@ sub_819BAFC: @ 819BAFC
|
|||||||
_0819BB60:
|
_0819BB60:
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EEC10
|
ldr r0, =gText_Rent
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2595,7 +2595,7 @@ _0819BB74:
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EEC1D
|
ldr r0, =gText_Others2
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2625,7 +2625,7 @@ sub_819BBA8: @ 819BBA8
|
|||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EEC49
|
ldr r0, =gText_Yes2
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2634,7 +2634,7 @@ sub_819BBA8: @ 819BBA8
|
|||||||
bl box_print
|
bl box_print
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EEC4D
|
ldr r0, =gText_No2
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -4584,7 +4584,7 @@ sub_819CC24: @ 819CC24
|
|||||||
ldrsh r5, [r4, r0]
|
ldrsh r5, [r4, r0]
|
||||||
cmp r5, 0
|
cmp r5, 0
|
||||||
bne _0819CC5A
|
bne _0819CC5A
|
||||||
ldr r0, =gUnknown_085EECBB
|
ldr r0, =gText_QuitSwapping
|
||||||
bl sub_819EBEC
|
bl sub_819EBEC
|
||||||
ldr r0, =gUnknown_03001284
|
ldr r0, =gUnknown_03001284
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
@ -4670,7 +4670,7 @@ sub_819CCD4: @ 819CCD4
|
|||||||
adds r1, 0x30
|
adds r1, 0x30
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
bl sub_819F2B4
|
bl sub_819F2B4
|
||||||
ldr r0, =gUnknown_085EECF0
|
ldr r0, =gText_AcceptThisPkmn
|
||||||
bl sub_819EBEC
|
bl sub_819EBEC
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
adds r0, 0x20
|
adds r0, 0x20
|
||||||
@ -6176,12 +6176,12 @@ _0819D948:
|
|||||||
ldrb r0, [r0, 0x14]
|
ldrb r0, [r0, 0x14]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0819D964
|
bne _0819D964
|
||||||
ldr r0, =gUnknown_085EEC73
|
ldr r0, =gText_SelectPkmnToSwap
|
||||||
bl sub_819EBEC
|
bl sub_819EBEC
|
||||||
b _0819D96A
|
b _0819D96A
|
||||||
.pool
|
.pool
|
||||||
_0819D964:
|
_0819D964:
|
||||||
ldr r0, =gUnknown_085EEC8B
|
ldr r0, =gText_SelectPkmnToAccept
|
||||||
bl sub_819EBEC
|
bl sub_819EBEC
|
||||||
_0819D96A:
|
_0819D96A:
|
||||||
ldr r0, =gUnknown_03001284
|
ldr r0, =gUnknown_03001284
|
||||||
@ -6765,7 +6765,7 @@ _0819DF02:
|
|||||||
b _0819E006
|
b _0819E006
|
||||||
.pool
|
.pool
|
||||||
_0819DF10:
|
_0819DF10:
|
||||||
ldr r0, =gUnknown_085EEC73
|
ldr r0, =gText_SelectPkmnToSwap
|
||||||
bl sub_819EBEC
|
bl sub_819EBEC
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
bl PutWindowTilemap
|
bl PutWindowTilemap
|
||||||
@ -8272,7 +8272,7 @@ sub_819EB18: @ 819EB18
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EEC66
|
ldr r2, =gText_PkmnSwap
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -8402,7 +8402,7 @@ sub_819EC20: @ 819EC20
|
|||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EECAA
|
ldr r0, =gText_Summary2
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -8411,7 +8411,7 @@ sub_819EC20: @ 819EC20
|
|||||||
bl box_print
|
bl box_print
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EECA5
|
ldr r0, =gText_Swap
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -8420,7 +8420,7 @@ sub_819EC20: @ 819EC20
|
|||||||
bl box_print
|
bl box_print
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EECB2
|
ldr r0, =gText_Rechoose
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -8450,7 +8450,7 @@ sub_819EC94: @ 819EC94
|
|||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EECCA
|
ldr r0, =gText_Yes3
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -8459,7 +8459,7 @@ sub_819EC94: @ 819EC94
|
|||||||
bl box_print
|
bl box_print
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EECCE
|
ldr r0, =gText_No3
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -8523,12 +8523,12 @@ sub_819ED34: @ 819ED34
|
|||||||
beq _0819ED56
|
beq _0819ED56
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _0819ED60
|
bne _0819ED60
|
||||||
ldr r0, =gUnknown_085EECD1
|
ldr r0, =gText_PkmnForSwap
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x5
|
movs r2, 0x5
|
||||||
bl sub_819ECF0
|
bl sub_819ECF0
|
||||||
_0819ED56:
|
_0819ED56:
|
||||||
ldr r0, =gUnknown_085EECDD
|
ldr r0, =gText_Cancel3
|
||||||
movs r1, 0x18
|
movs r1, 0x18
|
||||||
movs r2, 0x5
|
movs r2, 0x5
|
||||||
bl sub_819ECF0
|
bl sub_819ECF0
|
||||||
@ -8554,12 +8554,12 @@ sub_819ED78: @ 819ED78
|
|||||||
beq _0819ED9A
|
beq _0819ED9A
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _0819EDA4
|
bne _0819EDA4
|
||||||
ldr r0, =gUnknown_085EECD1
|
ldr r0, =gText_PkmnForSwap
|
||||||
movs r1, 0x8
|
movs r1, 0x8
|
||||||
movs r2, 0x3
|
movs r2, 0x3
|
||||||
bl sub_819ECF0
|
bl sub_819ECF0
|
||||||
_0819ED9A:
|
_0819ED9A:
|
||||||
ldr r0, =gUnknown_085EECDD
|
ldr r0, =gText_Cancel3
|
||||||
movs r1, 0x20
|
movs r1, 0x20
|
||||||
movs r2, 0x3
|
movs r2, 0x3
|
||||||
bl sub_819ECF0
|
bl sub_819ECF0
|
||||||
@ -8588,14 +8588,14 @@ _0819EDCC:
|
|||||||
ldrb r0, [r0, 0x14]
|
ldrb r0, [r0, 0x14]
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _0819EDF6
|
bne _0819EDF6
|
||||||
ldr r0, =gUnknown_085EECD1
|
ldr r0, =gText_PkmnForSwap
|
||||||
movs r1, 0x8
|
movs r1, 0x8
|
||||||
movs r2, 0x3
|
movs r2, 0x3
|
||||||
bl sub_819ECF0
|
bl sub_819ECF0
|
||||||
b _0819EDF6
|
b _0819EDF6
|
||||||
.pool
|
.pool
|
||||||
_0819EDEC:
|
_0819EDEC:
|
||||||
ldr r0, =gUnknown_085EECDD
|
ldr r0, =gText_Cancel3
|
||||||
movs r1, 0x20
|
movs r1, 0x20
|
||||||
movs r2, 0x3
|
movs r2, 0x3
|
||||||
bl sub_819ECF0
|
bl sub_819ECF0
|
||||||
@ -9401,7 +9401,7 @@ _0819F4C8:
|
|||||||
.4byte _0819F548
|
.4byte _0819F548
|
||||||
.4byte _0819F568
|
.4byte _0819F568
|
||||||
_0819F4DC:
|
_0819F4DC:
|
||||||
ldr r0, =gUnknown_085EED0A
|
ldr r0, =gText_SamePkmnInPartyAlready
|
||||||
bl sub_819EBEC
|
bl sub_819EBEC
|
||||||
ldr r0, =gUnknown_03001284
|
ldr r0, =gUnknown_03001284
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
@ -9446,7 +9446,7 @@ _0819F52C:
|
|||||||
bl CopyWindowToVram
|
bl CopyWindowToVram
|
||||||
b _0819F54E
|
b _0819F54E
|
||||||
_0819F548:
|
_0819F548:
|
||||||
ldr r0, =gUnknown_085EEC8B
|
ldr r0, =gText_SelectPkmnToAccept
|
||||||
bl sub_819EBEC
|
bl sub_819EBEC
|
||||||
_0819F54E:
|
_0819F54E:
|
||||||
ldr r0, =gTasks
|
ldr r0, =gTasks
|
||||||
@ -11469,9 +11469,9 @@ _081A0528:
|
|||||||
movs r0, 0x12
|
movs r0, 0x12
|
||||||
mov r10, r0
|
mov r10, r0
|
||||||
movs r6, 0x8
|
movs r6, 0x8
|
||||||
ldr r0, =gUnknown_085EAEB1
|
ldr r0, =gText_Lv50
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
ldr r0, =gUnknown_085EAEB8
|
ldr r0, =gText_OpenLevel
|
||||||
str r0, [sp, 0x10]
|
str r0, [sp, 0x10]
|
||||||
b _081A0652
|
b _081A0652
|
||||||
.pool
|
.pool
|
||||||
@ -11580,9 +11580,9 @@ _081A061C:
|
|||||||
movs r0, 0x12
|
movs r0, 0x12
|
||||||
mov r10, r0
|
mov r10, r0
|
||||||
movs r6, 0x8
|
movs r6, 0x8
|
||||||
ldr r0, =gUnknown_085ED193
|
ldr r0, =gText_Give
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
ldr r0, =gUnknown_085ED198
|
ldr r0, =gText_NoNeed
|
||||||
str r0, [sp, 0x10]
|
str r0, [sp, 0x10]
|
||||||
b _081A0652
|
b _081A0652
|
||||||
.pool
|
.pool
|
||||||
@ -11590,9 +11590,9 @@ _081A0634:
|
|||||||
movs r1, 0x14
|
movs r1, 0x14
|
||||||
mov r10, r1
|
mov r10, r1
|
||||||
movs r6, 0x8
|
movs r6, 0x8
|
||||||
ldr r0, =gUnknown_085EAE62
|
ldr r0, =gText_Yes
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
ldr r0, =gUnknown_085EAE66
|
ldr r0, =gText_No
|
||||||
str r0, [sp, 0x10]
|
str r0, [sp, 0x10]
|
||||||
b _081A0652
|
b _081A0652
|
||||||
.pool
|
.pool
|
||||||
@ -12950,11 +12950,11 @@ _081A1140:
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A115C
|
bne _081A115C
|
||||||
ldr r1, =gUnknown_085EAEB1
|
ldr r1, =gText_Lv50
|
||||||
b _081A1174
|
b _081A1174
|
||||||
.pool
|
.pool
|
||||||
_081A115C:
|
_081A115C:
|
||||||
ldr r1, =gUnknown_085EAEB8
|
ldr r1, =gText_OpenLevel
|
||||||
b _081A1174
|
b _081A1174
|
||||||
.pool
|
.pool
|
||||||
_081A1164:
|
_081A1164:
|
||||||
@ -14386,7 +14386,7 @@ _081A1D24:
|
|||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE302
|
ldr r1, =gText_WinStreak
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
@ -14434,7 +14434,7 @@ sub_81A1D78: @ 81A1D78
|
|||||||
adds r4, r0
|
adds r4, r0
|
||||||
adds r4, r1
|
adds r4, r1
|
||||||
ldrh r1, [r4]
|
ldrh r1, [r4]
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
bl sub_81A1CD8
|
bl sub_81A1CD8
|
||||||
add sp, 0x4
|
add sp, 0x4
|
||||||
@ -14545,7 +14545,7 @@ _081A1E66:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A1E88
|
bne _081A1E88
|
||||||
ldr r0, =gUnknown_085EE311
|
ldr r0, =gText_Current
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
mov r2, r8
|
mov r2, r8
|
||||||
@ -14554,7 +14554,7 @@ _081A1E66:
|
|||||||
b _081A1E96
|
b _081A1E96
|
||||||
.pool
|
.pool
|
||||||
_081A1E88:
|
_081A1E88:
|
||||||
ldr r0, =gUnknown_085EE320
|
ldr r0, =gText_Prev
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
mov r2, r8
|
mov r2, r8
|
||||||
@ -14593,7 +14593,7 @@ sub_81A1EA8: @ 81A1EA8
|
|||||||
cmp r7, 0
|
cmp r7, 0
|
||||||
bne _081A1EF0
|
bne _081A1EF0
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE158
|
ldr r1, =gText_SingleBattleRoomResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081A1F28
|
b _081A1F28
|
||||||
.pool
|
.pool
|
||||||
@ -14601,7 +14601,7 @@ _081A1EF0:
|
|||||||
cmp r7, 0x1
|
cmp r7, 0x1
|
||||||
bne _081A1F08
|
bne _081A1F08
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE178
|
ldr r1, =gText_DoubleBattleRoomResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081A1F28
|
b _081A1F28
|
||||||
.pool
|
.pool
|
||||||
@ -14609,13 +14609,13 @@ _081A1F08:
|
|||||||
cmp r7, 0x2
|
cmp r7, 0x2
|
||||||
bne _081A1F20
|
bne _081A1F20
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE198
|
ldr r1, =gText_MultiBattleRoomResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081A1F28
|
b _081A1F28
|
||||||
.pool
|
.pool
|
||||||
_081A1F20:
|
_081A1F20:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE1B7
|
ldr r1, =gText_LinkMultiBattleRoomResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081A1F28:
|
_081A1F28:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
@ -14623,7 +14623,7 @@ _081A1F28:
|
|||||||
bl sub_81A1C4C
|
bl sub_81A1C4C
|
||||||
ldr r6, =gUnknown_0203AB74
|
ldr r6, =gUnknown_0203AB74
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EE2F2
|
ldr r2, =gText_Lv502
|
||||||
movs r1, 0x31
|
movs r1, 0x31
|
||||||
mov r8, r1
|
mov r8, r1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
@ -14635,7 +14635,7 @@ _081A1F28:
|
|||||||
movs r3, 0x10
|
movs r3, 0x10
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EE2F9
|
ldr r2, =gText_OpenLv
|
||||||
movs r1, 0x61
|
movs r1, 0x61
|
||||||
mov r9, r1
|
mov r9, r1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
@ -14830,8 +14830,8 @@ _081A20E6:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A210C
|
bne _081A210C
|
||||||
ldr r0, =gUnknown_085EE311
|
ldr r0, =gText_Current
|
||||||
ldr r1, =gUnknown_085EE338
|
ldr r1, =gText_ClearStreak
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
mov r2, r8
|
mov r2, r8
|
||||||
@ -14840,8 +14840,8 @@ _081A20E6:
|
|||||||
b _081A211C
|
b _081A211C
|
||||||
.pool
|
.pool
|
||||||
_081A210C:
|
_081A210C:
|
||||||
ldr r0, =gUnknown_085EE320
|
ldr r0, =gText_Prev
|
||||||
ldr r1, =gUnknown_085EE338
|
ldr r1, =gText_ClearStreak
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
mov r2, r8
|
mov r2, r8
|
||||||
@ -14881,13 +14881,13 @@ sub_81A2134: @ 81A2134
|
|||||||
cmp r7, 0
|
cmp r7, 0
|
||||||
bne _081A217C
|
bne _081A217C
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE1DB
|
ldr r1, =gText_SingleBattleTourneyResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081A2184
|
b _081A2184
|
||||||
.pool
|
.pool
|
||||||
_081A217C:
|
_081A217C:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE1FE
|
ldr r1, =gText_DoubleBattleTourneyResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081A2184:
|
_081A2184:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
@ -14895,7 +14895,7 @@ _081A2184:
|
|||||||
bl sub_81A1C4C
|
bl sub_81A1C4C
|
||||||
ldr r1, =gUnknown_0203AB74
|
ldr r1, =gUnknown_0203AB74
|
||||||
ldrb r0, [r1]
|
ldrb r0, [r1]
|
||||||
ldr r2, =gUnknown_085EE2F2
|
ldr r2, =gText_Lv502
|
||||||
movs r6, 0x21
|
movs r6, 0x21
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
movs r5, 0xFF
|
movs r5, 0xFF
|
||||||
@ -14907,7 +14907,7 @@ _081A2184:
|
|||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r1, =gUnknown_0203AB74
|
ldr r1, =gUnknown_0203AB74
|
||||||
ldrb r0, [r1]
|
ldrb r0, [r1]
|
||||||
ldr r2, =gUnknown_085EE2F9
|
ldr r2, =gText_OpenLv
|
||||||
movs r1, 0x61
|
movs r1, 0x61
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -14935,13 +14935,13 @@ _081A2184:
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0x31
|
movs r0, 0x31
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
ldr r1, =gUnknown_085EE338
|
ldr r1, =gText_ClearStreak
|
||||||
movs r3, 0x40
|
movs r3, 0x40
|
||||||
bl sub_81A2008
|
bl sub_81A2008
|
||||||
ldr r1, =gUnknown_085EE332
|
ldr r1, =gText_Total
|
||||||
mov r10, r1
|
mov r10, r1
|
||||||
ldr r0, =gUnknown_085EE349
|
ldr r0, =gText_Championships
|
||||||
mov r8, r0
|
mov r8, r0
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00000d1c
|
ldr r1, =0x00000d1c
|
||||||
@ -14972,8 +14972,8 @@ _081A2184:
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0x71
|
movs r0, 0x71
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
ldr r1, =gUnknown_085EE338
|
ldr r1, =gText_ClearStreak
|
||||||
movs r3, 0x40
|
movs r3, 0x40
|
||||||
bl sub_81A2008
|
bl sub_81A2008
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
@ -15052,7 +15052,7 @@ _081A2304:
|
|||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE302
|
ldr r1, =gText_WinStreak
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
@ -15100,7 +15100,7 @@ sub_81A2358: @ 81A2358
|
|||||||
adds r4, r0
|
adds r4, r0
|
||||||
adds r4, r1
|
adds r4, r1
|
||||||
ldrh r1, [r4]
|
ldrh r1, [r4]
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
bl sub_81A22B8
|
bl sub_81A22B8
|
||||||
add sp, 0x4
|
add sp, 0x4
|
||||||
@ -15186,7 +15186,7 @@ _081A241E:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A2440
|
bne _081A2440
|
||||||
ldr r0, =gUnknown_085EE311
|
ldr r0, =gText_Current
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
mov r2, r8
|
mov r2, r8
|
||||||
@ -15195,7 +15195,7 @@ _081A241E:
|
|||||||
b _081A244E
|
b _081A244E
|
||||||
.pool
|
.pool
|
||||||
_081A2440:
|
_081A2440:
|
||||||
ldr r0, =gUnknown_085EE320
|
ldr r0, =gText_Prev
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
mov r2, r8
|
mov r2, r8
|
||||||
@ -15234,13 +15234,13 @@ sub_81A2460: @ 81A2460
|
|||||||
cmp r7, 0
|
cmp r7, 0
|
||||||
bne _081A24A8
|
bne _081A24A8
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE221
|
ldr r1, =gText_SingleBattleHallResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081A24B0
|
b _081A24B0
|
||||||
.pool
|
.pool
|
||||||
_081A24A8:
|
_081A24A8:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE241
|
ldr r1, =gText_DoubleBattleHallResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081A24B0:
|
_081A24B0:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
@ -15248,7 +15248,7 @@ _081A24B0:
|
|||||||
bl sub_81A1C4C
|
bl sub_81A1C4C
|
||||||
ldr r6, =gUnknown_0203AB74
|
ldr r6, =gUnknown_0203AB74
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EE2F2
|
ldr r2, =gText_Lv502
|
||||||
movs r1, 0x31
|
movs r1, 0x31
|
||||||
mov r8, r1
|
mov r8, r1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
@ -15260,7 +15260,7 @@ _081A24B0:
|
|||||||
movs r3, 0x10
|
movs r3, 0x10
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EE2F9
|
ldr r2, =gText_OpenLv
|
||||||
movs r1, 0x61
|
movs r1, 0x61
|
||||||
mov r9, r1
|
mov r9, r1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
@ -15434,8 +15434,8 @@ _081A264C:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A2674
|
bne _081A2674
|
||||||
ldr r0, =gUnknown_085EE311
|
ldr r0, =gText_Current
|
||||||
ldr r1, =gUnknown_085EE35B
|
ldr r1, =gText_RoomsCleared
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
@ -15444,8 +15444,8 @@ _081A264C:
|
|||||||
b _081A2684
|
b _081A2684
|
||||||
.pool
|
.pool
|
||||||
_081A2674:
|
_081A2674:
|
||||||
ldr r0, =gUnknown_085EE320
|
ldr r0, =gText_Prev
|
||||||
ldr r1, =gUnknown_085EE35B
|
ldr r1, =gText_RoomsCleared
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
@ -15480,14 +15480,14 @@ sub_81A2698: @ 81A2698
|
|||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE261
|
ldr r1, =gText_BattleChoiceResults
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81A1C4C
|
bl sub_81A1C4C
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EE2F2
|
ldr r2, =gText_Lv502
|
||||||
movs r1, 0x21
|
movs r1, 0x21
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r5, 0xFF
|
movs r5, 0xFF
|
||||||
@ -15498,7 +15498,7 @@ sub_81A2698: @ 81A2698
|
|||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EE2F9
|
ldr r2, =gText_OpenLv
|
||||||
movs r1, 0x61
|
movs r1, 0x61
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -15513,9 +15513,9 @@ sub_81A2698: @ 81A2698
|
|||||||
movs r2, 0x72
|
movs r2, 0x72
|
||||||
movs r3, 0x21
|
movs r3, 0x21
|
||||||
bl sub_81A2618
|
bl sub_81A2618
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
mov r10, r0
|
mov r10, r0
|
||||||
ldr r7, =gUnknown_085EE35B
|
ldr r7, =gText_RoomsCleared
|
||||||
ldr r5, =gSaveBlock2Ptr
|
ldr r5, =gSaveBlock2Ptr
|
||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
ldr r1, =0x00000e08
|
ldr r1, =0x00000e08
|
||||||
@ -15529,9 +15529,9 @@ sub_81A2698: @ 81A2698
|
|||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r3, 0x40
|
movs r3, 0x40
|
||||||
bl sub_81A258C
|
bl sub_81A258C
|
||||||
ldr r0, =gUnknown_085EE332
|
ldr r0, =gText_Total
|
||||||
mov r8, r0
|
mov r8, r0
|
||||||
ldr r1, =gUnknown_085EE36D
|
ldr r1, =gText_TimesCleared
|
||||||
mov r9, r1
|
mov r9, r1
|
||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
ldr r1, =0x00000e0c
|
ldr r1, =0x00000e0c
|
||||||
@ -15633,7 +15633,7 @@ _081A2834:
|
|||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE381
|
ldr r1, =gText_KOsInARow
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
@ -15678,7 +15678,7 @@ sub_81A2888: @ 81A2888
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
adds r1, r0
|
adds r1, r0
|
||||||
ldrh r1, [r1]
|
ldrh r1, [r1]
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
str r3, [sp]
|
str r3, [sp]
|
||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
adds r3, r5, 0
|
adds r3, r5, 0
|
||||||
@ -15743,7 +15743,7 @@ _081A2928:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A2948
|
bne _081A2948
|
||||||
ldr r0, =gUnknown_085EE311
|
ldr r0, =gText_Current
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
@ -15752,7 +15752,7 @@ _081A2928:
|
|||||||
b _081A2956
|
b _081A2956
|
||||||
.pool
|
.pool
|
||||||
_081A2948:
|
_081A2948:
|
||||||
ldr r0, =gUnknown_085EE320
|
ldr r0, =gText_Prev
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
@ -15785,14 +15785,14 @@ sub_81A2968: @ 81A2968
|
|||||||
movs r0, 0xA
|
movs r0, 0xA
|
||||||
bl sub_81A1C90
|
bl sub_81A1C90
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE27C
|
ldr r1, =gText_SetKOTourneyResults
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
bl sub_81A1C4C
|
bl sub_81A1C4C
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
ldr r2, =gUnknown_085EE2F2
|
ldr r2, =gText_Lv502
|
||||||
movs r1, 0x31
|
movs r1, 0x31
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r6, 0xFF
|
movs r6, 0xFF
|
||||||
@ -15803,7 +15803,7 @@ sub_81A2968: @ 81A2968
|
|||||||
movs r3, 0x10
|
movs r3, 0x10
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
ldr r2, =gUnknown_085EE2F9
|
ldr r2, =gText_OpenLv
|
||||||
movs r1, 0x61
|
movs r1, 0x61
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -15896,7 +15896,7 @@ _081A2A80:
|
|||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE302
|
ldr r1, =gText_WinStreak
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
@ -15915,7 +15915,7 @@ _081A2A80:
|
|||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085EE392
|
ldr r1, =gText_TimesVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
@ -15973,7 +15973,7 @@ sub_81A2B04: @ 81A2B04
|
|||||||
adds r2, r0
|
adds r2, r0
|
||||||
adds r2, r1
|
adds r2, r1
|
||||||
ldrh r2, [r2]
|
ldrh r2, [r2]
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
str r3, [sp]
|
str r3, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
str r5, [sp, 0x8]
|
str r5, [sp, 0x8]
|
||||||
@ -16102,7 +16102,7 @@ _081A2C3E:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A2C68
|
bne _081A2C68
|
||||||
ldr r0, =gUnknown_085EE311
|
ldr r0, =gText_Current
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
mov r1, r9
|
mov r1, r9
|
||||||
@ -16116,7 +16116,7 @@ _081A2C3E:
|
|||||||
b _081A2C80
|
b _081A2C80
|
||||||
.pool
|
.pool
|
||||||
_081A2C68:
|
_081A2C68:
|
||||||
ldr r0, =gUnknown_085EE320
|
ldr r0, =gText_Prev
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
mov r1, r9
|
mov r1, r9
|
||||||
@ -16160,13 +16160,13 @@ sub_81A2C94: @ 81A2C94
|
|||||||
cmp r7, 0
|
cmp r7, 0
|
||||||
bne _081A2CD8
|
bne _081A2CD8
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE298
|
ldr r1, =gText_BattleSwapSingleResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081A2CE0
|
b _081A2CE0
|
||||||
.pool
|
.pool
|
||||||
_081A2CD8:
|
_081A2CD8:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE2B8
|
ldr r1, =gText_BattleSwapDoubleResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081A2CE0:
|
_081A2CE0:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
@ -16175,7 +16175,7 @@ _081A2CE0:
|
|||||||
ldr r0, =gUnknown_0203AB74
|
ldr r0, =gUnknown_0203AB74
|
||||||
mov r8, r0
|
mov r8, r0
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EE2F2
|
ldr r2, =gText_Lv502
|
||||||
movs r6, 0x21
|
movs r6, 0x21
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
movs r5, 0xFF
|
movs r5, 0xFF
|
||||||
@ -16187,7 +16187,7 @@ _081A2CE0:
|
|||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
ldrb r0, [r1]
|
ldrb r0, [r1]
|
||||||
ldr r2, =gUnknown_085EE326
|
ldr r2, =gText_RentalSwap
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
str r4, [sp, 0x8]
|
str r4, [sp, 0x8]
|
||||||
@ -16196,7 +16196,7 @@ _081A2CE0:
|
|||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
ldrb r0, [r1]
|
ldrb r0, [r1]
|
||||||
ldr r2, =gUnknown_085EE2F9
|
ldr r2, =gText_OpenLv
|
||||||
movs r1, 0x61
|
movs r1, 0x61
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -16301,7 +16301,7 @@ _081A2E00:
|
|||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE39C
|
ldr r1, =gText_FloorsCleared
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
@ -16346,7 +16346,7 @@ sub_81A2E54: @ 81A2E54
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
adds r1, r0
|
adds r1, r0
|
||||||
ldrh r1, [r1]
|
ldrh r1, [r1]
|
||||||
ldr r0, =gUnknown_085EE319
|
ldr r0, =gText_Record
|
||||||
str r3, [sp]
|
str r3, [sp]
|
||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
adds r3, r5, 0
|
adds r3, r5, 0
|
||||||
@ -16413,7 +16413,7 @@ _081A2EF8:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081A2F18
|
bne _081A2F18
|
||||||
ldr r0, =gUnknown_085EE311
|
ldr r0, =gText_Current
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
@ -16422,7 +16422,7 @@ _081A2EF8:
|
|||||||
b _081A2F26
|
b _081A2F26
|
||||||
.pool
|
.pool
|
||||||
_081A2F18:
|
_081A2F18:
|
||||||
ldr r0, =gUnknown_085EE320
|
ldr r0, =gText_Prev
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
@ -16453,14 +16453,14 @@ sub_81A2F38: @ 81A2F38
|
|||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE2D8
|
ldr r1, =gText_BattleQuestResults
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
bl sub_81A1C4C
|
bl sub_81A1C4C
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
ldr r2, =gUnknown_085EE2F2
|
ldr r2, =gText_Lv502
|
||||||
movs r1, 0x31
|
movs r1, 0x31
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r6, 0xFF
|
movs r6, 0xFF
|
||||||
@ -16471,7 +16471,7 @@ sub_81A2F38: @ 81A2F38
|
|||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
ldr r2, =gUnknown_085EE2F9
|
ldr r2, =gText_OpenLv
|
||||||
movs r1, 0x61
|
movs r1, 0x61
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -16532,7 +16532,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
mov r9, r0
|
mov r9, r0
|
||||||
ldr r1, =gUnknown_085EDF86
|
ldr r1, =gText_LinkContestResults
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
mov r1, r9
|
mov r1, r9
|
||||||
@ -16550,7 +16550,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
str r5, [sp, 0x8]
|
str r5, [sp, 0x8]
|
||||||
mov r2, r9
|
mov r2, r9
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r7, =gUnknown_085EDFA0
|
ldr r7, =gText_1st
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r2, 0x26
|
movs r2, 0x26
|
||||||
@ -16568,7 +16568,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r7, =gUnknown_085EDFA4
|
ldr r7, =gText_2nd
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r2, 0x26
|
movs r2, 0x26
|
||||||
@ -16585,7 +16585,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r7, =gUnknown_085EDFA8
|
ldr r7, =gText_3rd
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r2, 0x26
|
movs r2, 0x26
|
||||||
@ -16602,7 +16602,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r7, =gUnknown_085EDFAC
|
ldr r7, =gText_4th
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r2, 0x26
|
movs r2, 0x26
|
||||||
@ -16620,7 +16620,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
ldr r2, =gUnknown_085EB0E8
|
ldr r2, =gText_Cool
|
||||||
movs r1, 0x29
|
movs r1, 0x29
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -16629,7 +16629,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
ldr r2, =gUnknown_085EB0ED
|
ldr r2, =gText_Beauty
|
||||||
movs r1, 0x39
|
movs r1, 0x39
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -16638,7 +16638,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
ldr r2, =gUnknown_085EB0F4
|
ldr r2, =gText_Cute
|
||||||
movs r1, 0x49
|
movs r1, 0x49
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -16647,7 +16647,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
ldr r2, =gUnknown_085EB0F9
|
ldr r2, =gText_Smart
|
||||||
movs r1, 0x59
|
movs r1, 0x59
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -16656,7 +16656,7 @@ sub_81A2FF8: @ 81A2FF8
|
|||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
ldr r2, =gUnknown_085EB0FF
|
ldr r2, =gText_Tough
|
||||||
movs r1, 0x69
|
movs r1, 0x69
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -18104,7 +18104,7 @@ _081A3E38:
|
|||||||
cmp r5, r4
|
cmp r5, r4
|
||||||
bne _081A3E50
|
bne _081A3E50
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB79
|
ldr r1, =gText_SpaceAndSpace
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A3EC8
|
b _081A3EC8
|
||||||
.pool
|
.pool
|
||||||
@ -18112,7 +18112,7 @@ _081A3E50:
|
|||||||
cmp r5, r4
|
cmp r5, r4
|
||||||
ble _081A3EC8
|
ble _081A3EC8
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB7F
|
ldr r1, =gText_CommaSpace
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A3EC8
|
b _081A3EC8
|
||||||
.pool
|
.pool
|
||||||
@ -18120,17 +18120,17 @@ _081A3E68:
|
|||||||
cmp r4, r5
|
cmp r4, r5
|
||||||
bne _081A3E80
|
bne _081A3E80
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB79
|
ldr r1, =gText_SpaceAndSpace
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A3E88
|
b _081A3E88
|
||||||
.pool
|
.pool
|
||||||
_081A3E80:
|
_081A3E80:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB7F
|
ldr r1, =gText_CommaSpace
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
_081A3E88:
|
_081A3E88:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB86
|
ldr r1, =gText_NewLine
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A3EC8
|
b _081A3EC8
|
||||||
.pool
|
.pool
|
||||||
@ -18138,17 +18138,17 @@ _081A3EA0:
|
|||||||
cmp r4, r5
|
cmp r4, r5
|
||||||
bne _081A3EB8
|
bne _081A3EB8
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB79
|
ldr r1, =gText_SpaceAndSpace
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A3EC0
|
b _081A3EC0
|
||||||
.pool
|
.pool
|
||||||
_081A3EB8:
|
_081A3EB8:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB7F
|
ldr r1, =gText_CommaSpace
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
_081A3EC0:
|
_081A3EC0:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB84
|
ldr r1, =gText_ScrollTextUp
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
_081A3EC8:
|
_081A3EC8:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
@ -18495,10 +18495,10 @@ _081A416A:
|
|||||||
cmp r4, 0
|
cmp r4, 0
|
||||||
bne _081A41A4
|
bne _081A41A4
|
||||||
ldr r4, =gStringVar1
|
ldr r4, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB82
|
ldr r1, =gText_Space2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
ldr r1, =gUnknown_085CCB88
|
ldr r1, =gText_Are
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A4202
|
b _081A4202
|
||||||
@ -18509,17 +18509,17 @@ _081A41A4:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _081A41C0
|
beq _081A41C0
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB84
|
ldr r1, =gText_ScrollTextUp
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A41C8
|
b _081A41C8
|
||||||
.pool
|
.pool
|
||||||
_081A41C0:
|
_081A41C0:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB82
|
ldr r1, =gText_Space2
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
_081A41C8:
|
_081A41C8:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085CCB8C
|
ldr r1, =gText_Are2
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _081A4202
|
b _081A4202
|
||||||
.pool
|
.pool
|
||||||
@ -18966,7 +18966,7 @@ sub_81A4594: @ 81A4594
|
|||||||
ldrb r5, [r1]
|
ldrb r5, [r1]
|
||||||
lsls r4, r0, 1
|
lsls r4, r0, 1
|
||||||
adds r4, r0
|
adds r4, r0
|
||||||
ldr r1, =gUnknown_085EE424
|
ldr r1, =gText_1Dot
|
||||||
adds r4, r1
|
adds r4, r1
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
lsls r3, r1, 27
|
lsls r3, r1, 27
|
||||||
@ -19076,7 +19076,7 @@ sub_81A4684: @ 81A4684
|
|||||||
ldrb r0, [r1]
|
ldrb r0, [r1]
|
||||||
lsls r2, r6, 1
|
lsls r2, r6, 1
|
||||||
adds r2, r6
|
adds r2, r6
|
||||||
ldr r1, =gUnknown_085EE424
|
ldr r1, =gText_1Dot
|
||||||
adds r2, r1
|
adds r2, r1
|
||||||
lsls r3, r7, 27
|
lsls r3, r7, 27
|
||||||
lsrs r3, 24
|
lsrs r3, 24
|
||||||
@ -20577,30 +20577,30 @@ _081A5328:
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
negs r0, r0
|
negs r0, r0
|
||||||
strb r0, [r1, 0x1]
|
strb r0, [r1, 0x1]
|
||||||
ldr r0, =gUnknown_085CCDB2
|
ldr r0, =gText_JapaneseHonorific
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r4, =gDisplayedStringBattle
|
ldr r4, =gDisplayedStringBattle
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0xF
|
movs r1, 0xF
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCDB5
|
ldr r0, =gText_Vs
|
||||||
movs r1, 0x10
|
movs r1, 0x10
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCDB8
|
ldr r0, =gText_RivalBuffer
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCDBB
|
ldr r0, =gText_Mind
|
||||||
movs r1, 0x12
|
movs r1, 0x12
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCDC0
|
ldr r0, =gText_Skill
|
||||||
movs r1, 0x13
|
movs r1, 0x13
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCDC6
|
ldr r0, =gText_Body
|
||||||
movs r1, 0x14
|
movs r1, 0x14
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gUnknown_085CCDCB
|
ldr r0, =gText_Judgement
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x15
|
movs r1, 0x15
|
||||||
@ -20684,7 +20684,7 @@ _081A544C:
|
|||||||
_081A5464:
|
_081A5464:
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81A5558
|
bl sub_81A5558
|
||||||
ldr r0, =gUnknown_085CCDCB
|
ldr r0, =gText_Judgement
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
movs r1, 0x15
|
movs r1, 0x15
|
||||||
|
@ -3760,7 +3760,7 @@ sub_80741E8: @ 80741E8
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r7, r0, 24
|
lsrs r7, r0, 24
|
||||||
ldr r5, =gDisplayedStringBattle
|
ldr r5, =gDisplayedStringBattle
|
||||||
ldr r1, =gUnknown_085ED228
|
ldr r1, =gText_HighlightDarkGrey
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -3802,15 +3802,15 @@ _0807424A:
|
|||||||
beq _08074268
|
beq _08074268
|
||||||
cmp r6, 0xFE
|
cmp r6, 0xFE
|
||||||
beq _08074270
|
beq _08074270
|
||||||
ldr r1, =gUnknown_085ED238
|
ldr r1, =gText_DynColor2
|
||||||
b _08074272
|
b _08074272
|
||||||
.pool
|
.pool
|
||||||
_08074268:
|
_08074268:
|
||||||
ldr r1, =gUnknown_085ED22E
|
ldr r1, =gText_DynColor2Male
|
||||||
b _08074272
|
b _08074272
|
||||||
.pool
|
.pool
|
||||||
_08074270:
|
_08074270:
|
||||||
ldr r1, =gUnknown_085ED233
|
ldr r1, =gText_DynColor1Female
|
||||||
_08074272:
|
_08074272:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
@ -4375,7 +4375,7 @@ sub_8074770: @ 8074770
|
|||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
lsls r4, 24
|
lsls r4, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r0, =gUnknown_085CCB2C
|
ldr r0, =gText_SafariBalls
|
||||||
add r1, sp, 0x4
|
add r1, sp, 0x4
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
@ -4419,7 +4419,7 @@ sub_80747D8: @ 80747D8
|
|||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
lsls r4, 24
|
lsls r4, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r1, =gUnknown_085CCB3C
|
ldr r1, =gText_SafariBallLeft
|
||||||
add r0, sp, 0x4
|
add r0, sp, 0x4
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gNumSafariBalls
|
ldr r1, =gNumSafariBalls
|
||||||
|
@ -136,12 +136,12 @@ _0814E1CC:
|
|||||||
movs r0, 0x80
|
movs r0, 0x80
|
||||||
lsls r0, 17
|
lsls r0, 17
|
||||||
ands r2, r0
|
ands r2, r0
|
||||||
ldr r7, =gUnknown_085CBBCD
|
ldr r7, =gText_TwoTrainersWantToBattle
|
||||||
cmp r2, 0
|
cmp r2, 0
|
||||||
bne _0814E200
|
bne _0814E200
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E200:
|
_0814E200:
|
||||||
ldr r7, =gUnknown_085CD318
|
ldr r7, =gText_TwoTrainersWantToBattle3
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E214:
|
_0814E214:
|
||||||
@ -151,19 +151,19 @@ _0814E214:
|
|||||||
lsls r0, 4
|
lsls r0, 4
|
||||||
cmp r1, r0
|
cmp r1, r0
|
||||||
bne _0814E22C
|
bne _0814E22C
|
||||||
ldr r7, =gUnknown_085CBB9C
|
ldr r7, =gText_TrainerXYWantsToBattle
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E22C:
|
_0814E22C:
|
||||||
movs r0, 0x80
|
movs r0, 0x80
|
||||||
lsls r0, 17
|
lsls r0, 17
|
||||||
ands r2, r0
|
ands r2, r0
|
||||||
ldr r7, =gUnknown_085CBBB9
|
ldr r7, =gText_TrainerXWantsToBattle
|
||||||
cmp r2, 0
|
cmp r2, 0
|
||||||
bne _0814E23A
|
bne _0814E23A
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E23A:
|
_0814E23A:
|
||||||
ldr r7, =gUnknown_085CD301
|
ldr r7, =gText_TrainerWantsToBattle
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E248:
|
_0814E248:
|
||||||
@ -175,12 +175,12 @@ _0814E248:
|
|||||||
movs r0, 0x80
|
movs r0, 0x80
|
||||||
lsls r0, 8
|
lsls r0, 8
|
||||||
ands r2, r0
|
ands r2, r0
|
||||||
ldr r7, =gUnknown_085CBB9C
|
ldr r7, =gText_TrainerXYWantsToBattle
|
||||||
cmp r2, 0
|
cmp r2, 0
|
||||||
bne _0814E260
|
bne _0814E260
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E260:
|
_0814E260:
|
||||||
ldr r7, =gUnknown_085CCE17
|
ldr r7, =gText_TwoTrainersWantToBattle2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E26C:
|
_0814E26C:
|
||||||
@ -189,7 +189,7 @@ _0814E26C:
|
|||||||
ands r0, r2
|
ands r0, r2
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E280
|
beq _0814E280
|
||||||
ldr r7, =gUnknown_085CBB5A
|
ldr r7, =gText_WildPkmnAppeared2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E280:
|
_0814E280:
|
||||||
@ -197,19 +197,19 @@ _0814E280:
|
|||||||
ands r0, r2
|
ands r0, r2
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E290
|
beq _0814E290
|
||||||
ldr r7, =gUnknown_085CBB82
|
ldr r7, =gText_TwoWildPkmnAppeared
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E290:
|
_0814E290:
|
||||||
movs r0, 0x80
|
movs r0, 0x80
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
ands r2, r0
|
ands r2, r0
|
||||||
ldr r7, =gUnknown_085CBB47
|
ldr r7, =gText_WildPkmnAppeared
|
||||||
cmp r2, 0
|
cmp r2, 0
|
||||||
bne _0814E29E
|
bne _0814E29E
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E29E:
|
_0814E29E:
|
||||||
ldr r7, =gUnknown_085CBB6D
|
ldr r7, =gText_WildPkmnAppearedPause
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E2AC:
|
_0814E2AC:
|
||||||
@ -230,7 +230,7 @@ _0814E2AC:
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E2DC
|
beq _0814E2DC
|
||||||
ldr r7, =gUnknown_085CCE38
|
ldr r7, =gText_TrainerXYSentOutZGoN
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E2DC:
|
_0814E2DC:
|
||||||
@ -239,22 +239,22 @@ _0814E2DC:
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E2F0
|
beq _0814E2F0
|
||||||
ldr r7, =gUnknown_085CBC96
|
ldr r7, =gText_GoTwoPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E2F0:
|
_0814E2F0:
|
||||||
movs r0, 0x40
|
movs r0, 0x40
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r7, =gUnknown_085CBC96
|
ldr r7, =gText_GoTwoPkmn
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
bne _0814E2FC
|
bne _0814E2FC
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E2FC:
|
_0814E2FC:
|
||||||
ldr r7, =gUnknown_085CBCE5
|
ldr r7, =gText_EnemySentOutPkmnGoPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E308:
|
_0814E308:
|
||||||
ldr r7, =gUnknown_085CBC8E
|
ldr r7, =gText_GoPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E310:
|
_0814E310:
|
||||||
@ -275,7 +275,7 @@ _0814E310:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E33C
|
beq _0814E33C
|
||||||
_0814E330:
|
_0814E330:
|
||||||
ldr r7, =gUnknown_085CCDDE
|
ldr r7, =gText_TwoTrainersSentPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E33C:
|
_0814E33C:
|
||||||
@ -283,18 +283,18 @@ _0814E33C:
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E34C
|
beq _0814E34C
|
||||||
ldr r7, =gUnknown_085CBC4E
|
ldr r7, =gText_TwoTrainersSentOutPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E34C:
|
_0814E34C:
|
||||||
ldr r0, =0x02000002
|
ldr r0, =0x02000002
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r7, =gUnknown_085CBBFA
|
ldr r7, =gText_TrainerXYSentOutTwoPkmn
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
bne _0814E358
|
bne _0814E358
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E358:
|
_0814E358:
|
||||||
ldr r7, =gUnknown_085CBC37
|
ldr r7, =gText_TrainerXSentOutTwoPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E368:
|
_0814E368:
|
||||||
@ -306,12 +306,12 @@ _0814E368:
|
|||||||
ldrh r1, [r0]
|
ldrh r1, [r0]
|
||||||
movs r0, 0xC0
|
movs r0, 0xC0
|
||||||
lsls r0, 4
|
lsls r0, 4
|
||||||
ldr r7, =gUnknown_085CBC27
|
ldr r7, =gText_TrainerXSentOutPkmn
|
||||||
cmp r1, r0
|
cmp r1, r0
|
||||||
beq _0814E380
|
beq _0814E380
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E380:
|
_0814E380:
|
||||||
ldr r7, =gUnknown_085CBBE7
|
ldr r7, =gText_TrainerXYSentOutPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E394:
|
_0814E394:
|
||||||
@ -327,7 +327,7 @@ _0814E394:
|
|||||||
ldrb r2, [r0]
|
ldrb r2, [r0]
|
||||||
cmp r2, 0
|
cmp r2, 0
|
||||||
bne _0814E3BC
|
bne _0814E3BC
|
||||||
ldr r7, =gUnknown_085CBCFD
|
ldr r7, =gText_PkmnThatsEnough
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E3BC:
|
_0814E3BC:
|
||||||
@ -340,16 +340,16 @@ _0814E3BC:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E3D8
|
beq _0814E3D8
|
||||||
_0814E3CC:
|
_0814E3CC:
|
||||||
ldr r7, =gUnknown_085CBD1B
|
ldr r7, =gText_PkmnComeBack
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E3D8:
|
_0814E3D8:
|
||||||
ldr r7, =gUnknown_085CBD3D
|
ldr r7, =gText_PkmnGoodComeBack
|
||||||
cmp r2, 0x2
|
cmp r2, 0x2
|
||||||
beq _0814E3E0
|
beq _0814E3E0
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E3E0:
|
_0814E3E0:
|
||||||
ldr r7, =gUnknown_085CBD2A
|
ldr r7, =gText_PkmnOkComeBack
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E3EC:
|
_0814E3EC:
|
||||||
@ -370,16 +370,16 @@ _0814E406:
|
|||||||
ldr r0, [r2]
|
ldr r0, [r2]
|
||||||
movs r1, 0x40
|
movs r1, 0x40
|
||||||
ands r0, r1
|
ands r0, r1
|
||||||
ldr r7, =gUnknown_085CBD65
|
ldr r7, =gText_TrainerXWithdrewPkmn
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814E414
|
bne _0814E414
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E414:
|
_0814E414:
|
||||||
ldr r7, =gUnknown_085CBD75
|
ldr r7, =gText_TrainerXWithdrewPkmn2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E428:
|
_0814E428:
|
||||||
ldr r7, =gUnknown_085CBD52
|
ldr r7, =gText_TrainerXYWithdrewPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E430:
|
_0814E430:
|
||||||
@ -402,22 +402,22 @@ _0814E430:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814E468
|
beq _0814E468
|
||||||
_0814E456:
|
_0814E456:
|
||||||
ldr r7, =gUnknown_085CBCA5
|
ldr r7, =gText_GoPkmn2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E468:
|
_0814E468:
|
||||||
cmp r2, 0x1
|
cmp r2, 0x1
|
||||||
bne _0814E474
|
bne _0814E474
|
||||||
ldr r7, =gUnknown_085CBCAD
|
ldr r7, =gText_DoItPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E474:
|
_0814E474:
|
||||||
ldr r7, =gUnknown_085CBCC7
|
ldr r7, =gText_YourFoesWeakGetEmPkmn
|
||||||
cmp r2, 0x2
|
cmp r2, 0x2
|
||||||
beq _0814E47C
|
beq _0814E47C
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E47C:
|
_0814E47C:
|
||||||
ldr r7, =gUnknown_085CBCB8
|
ldr r7, =gText_GoForItPkmn
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E488:
|
_0814E488:
|
||||||
@ -440,7 +440,7 @@ _0814E4AC:
|
|||||||
ands r1, r0
|
ands r1, r0
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814E4BC
|
beq _0814E4BC
|
||||||
ldr r7, =gUnknown_085CBC7E
|
ldr r7, =gText_TrainerXSentOutPkmn3
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E4BC:
|
_0814E4BC:
|
||||||
@ -448,12 +448,12 @@ _0814E4BC:
|
|||||||
ldrh r1, [r0]
|
ldrh r1, [r0]
|
||||||
movs r0, 0xC0
|
movs r0, 0xC0
|
||||||
lsls r0, 4
|
lsls r0, 4
|
||||||
ldr r7, =gUnknown_085CBC6E
|
ldr r7, =gText_TrainerXSentOutPkmn2
|
||||||
cmp r1, r0
|
cmp r1, r0
|
||||||
beq _0814E4CC
|
beq _0814E4CC
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E4CC:
|
_0814E4CC:
|
||||||
ldr r7, =gUnknown_085CBC14
|
ldr r7, =gText_TrainerXYSentOutPkmn2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E4DC:
|
_0814E4DC:
|
||||||
@ -465,7 +465,7 @@ _0814E4DC:
|
|||||||
mov r1, r9
|
mov r1, r9
|
||||||
ldrb r0, [r1, 0x17]
|
ldrb r0, [r1, 0x17]
|
||||||
_0814E4EA:
|
_0814E4EA:
|
||||||
ldr r7, =gUnknown_085CCE04
|
ldr r7, =gText_TrainerXYSentOutPkmn3
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
beq _0814E4F2
|
beq _0814E4F2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
@ -489,7 +489,7 @@ _0814E4F8:
|
|||||||
ldrb r2, [r1]
|
ldrb r2, [r1]
|
||||||
lsls r1, r2, 4
|
lsls r1, r2, 4
|
||||||
adds r1, r2
|
adds r1, r2
|
||||||
ldr r2, =gUnknown_085CCBBC
|
ldr r2, =gText_UnknownMoveTypes
|
||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0814E544
|
b _0814E544
|
||||||
@ -505,7 +505,7 @@ _0814E534:
|
|||||||
_0814E544:
|
_0814E544:
|
||||||
ldr r0, =gBattleTextBuff2
|
ldr r0, =gBattleTextBuff2
|
||||||
bl sub_814F950
|
bl sub_814F950
|
||||||
ldr r7, =gUnknown_085CBDAC
|
ldr r7, =gText_XUsedY2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E55C:
|
_0814E55C:
|
||||||
@ -539,7 +539,7 @@ _0814E58A:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bhi _0814E5A4
|
bhi _0814E5A4
|
||||||
ldr r7, =gUnknown_085CB4CA
|
ldr r7, =gText_GotAwaySafely
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E5A4:
|
_0814E5A4:
|
||||||
@ -547,12 +547,12 @@ _0814E5A4:
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
movs r1, 0x40
|
movs r1, 0x40
|
||||||
ands r0, r1
|
ands r0, r1
|
||||||
ldr r7, =gUnknown_085CB5D2
|
ldr r7, =gText_WildFled
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814E5B4
|
bne _0814E5B4
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E5B4:
|
_0814E5B4:
|
||||||
ldr r7, =gUnknown_085CB5DF
|
ldr r7, =gText_TwoWildFled
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E5C4:
|
_0814E5C4:
|
||||||
@ -594,18 +594,18 @@ _0814E60E:
|
|||||||
movs r0, 0x80
|
movs r0, 0x80
|
||||||
lsls r0, 16
|
lsls r0, 16
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r7, =gUnknown_085CB538
|
ldr r7, =gText_PlayerBeatTwo
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814E6D8
|
beq _0814E6D8
|
||||||
ldr r7, =gUnknown_085CCE53
|
ldr r7, =gText_TwoEnemiesDefeated
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E628:
|
_0814E628:
|
||||||
ldr r7, =gUnknown_085CB567
|
ldr r7, =gText_PlayerLostToTwo
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E630:
|
_0814E630:
|
||||||
ldr r7, =gUnknown_085CB5A6
|
ldr r7, =gText_PlayerBattledToDrawVsTwo
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E638:
|
_0814E638:
|
||||||
@ -630,15 +630,15 @@ _0814E660:
|
|||||||
beq _0814E678
|
beq _0814E678
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E666:
|
_0814E666:
|
||||||
ldr r7, =gUnknown_085CBA2E
|
ldr r7, =gText_PlayerDefeatedXY
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E670:
|
_0814E670:
|
||||||
ldr r7, =gUnknown_085CD24C
|
ldr r7, =gText_PlayerLostAgainst2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E678:
|
_0814E678:
|
||||||
ldr r7, =gUnknown_085CD267
|
ldr r7, =gText_PlayerBattledToDraw2
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E680:
|
_0814E680:
|
||||||
@ -657,15 +657,15 @@ _0814E698:
|
|||||||
beq _0814E6B0
|
beq _0814E6B0
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
_0814E69E:
|
_0814E69E:
|
||||||
ldr r7, =gUnknown_085CB524
|
ldr r7, =gText_PlayerDefeated
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E6A8:
|
_0814E6A8:
|
||||||
ldr r7, =gUnknown_085CB54F
|
ldr r7, =gText_PlayerLostAgainst
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E6B0:
|
_0814E6B0:
|
||||||
ldr r7, =gUnknown_085CB581
|
ldr r7, =gText_PlayerBattledToDraw
|
||||||
b _0814E6D8
|
b _0814E6D8
|
||||||
.pool
|
.pool
|
||||||
_0814E6B8:
|
_0814E6B8:
|
||||||
@ -679,7 +679,7 @@ _0814E6B8:
|
|||||||
b _0814E6DE
|
b _0814E6DE
|
||||||
.pool
|
.pool
|
||||||
_0814E6CC:
|
_0814E6CC:
|
||||||
ldr r1, =gUnknown_085CC270
|
ldr r1, =gBattleStringsTable
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
subs r0, 0xC
|
subs r0, 0xC
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
@ -1104,10 +1104,10 @@ _0814EAF8:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r4, =gUnknown_085CBD85
|
ldr r4, =gText_WildPkmnPrefix
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814EB36
|
beq _0814EB36
|
||||||
ldr r4, =gUnknown_085CBD8B
|
ldr r4, =gText_FoePkmnPrefix
|
||||||
b _0814EB36
|
b _0814EB36
|
||||||
.pool
|
.pool
|
||||||
_0814EB2C:
|
_0814EB2C:
|
||||||
@ -1229,10 +1229,10 @@ _0814EC38:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r4, =gUnknown_085CBD85
|
ldr r4, =gText_WildPkmnPrefix
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814EC56
|
beq _0814EC56
|
||||||
ldr r4, =gUnknown_085CBD8B
|
ldr r4, =gText_FoePkmnPrefix
|
||||||
_0814EC56:
|
_0814EC56:
|
||||||
ldrb r1, [r4]
|
ldrb r1, [r4]
|
||||||
adds r0, r1, 0
|
adds r0, r1, 0
|
||||||
@ -1294,10 +1294,10 @@ _0814ECD4:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r4, =gUnknown_085CBD85
|
ldr r4, =gText_WildPkmnPrefix
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814ECF2
|
beq _0814ECF2
|
||||||
ldr r4, =gUnknown_085CBD8B
|
ldr r4, =gText_FoePkmnPrefix
|
||||||
_0814ECF2:
|
_0814ECF2:
|
||||||
ldrb r1, [r4]
|
ldrb r1, [r4]
|
||||||
adds r0, r1, 0
|
adds r0, r1, 0
|
||||||
@ -1359,10 +1359,10 @@ _0814ED70:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r4, =gUnknown_085CBD85
|
ldr r4, =gText_WildPkmnPrefix
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814ED8E
|
beq _0814ED8E
|
||||||
ldr r4, =gUnknown_085CBD8B
|
ldr r4, =gText_FoePkmnPrefix
|
||||||
_0814ED8E:
|
_0814ED8E:
|
||||||
ldrb r1, [r4]
|
ldrb r1, [r4]
|
||||||
adds r0, r1, 0
|
adds r0, r1, 0
|
||||||
@ -1424,10 +1424,10 @@ _0814EE0C:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r4, =gUnknown_085CBD85
|
ldr r4, =gText_WildPkmnPrefix
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814EE2A
|
beq _0814EE2A
|
||||||
ldr r4, =gUnknown_085CBD8B
|
ldr r4, =gText_FoePkmnPrefix
|
||||||
_0814EE2A:
|
_0814EE2A:
|
||||||
ldrb r1, [r4]
|
ldrb r1, [r4]
|
||||||
adds r0, r1, 0
|
adds r0, r1, 0
|
||||||
@ -1489,10 +1489,10 @@ _0814EEA8:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r4, =gUnknown_085CBD85
|
ldr r4, =gText_WildPkmnPrefix
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814EEC6
|
beq _0814EEC6
|
||||||
ldr r4, =gUnknown_085CBD8B
|
ldr r4, =gText_FoePkmnPrefix
|
||||||
_0814EEC6:
|
_0814EEC6:
|
||||||
ldrb r1, [r4]
|
ldrb r1, [r4]
|
||||||
adds r0, r1, 0
|
adds r0, r1, 0
|
||||||
@ -1569,7 +1569,7 @@ _0814EF6A:
|
|||||||
ldrb r1, [r0]
|
ldrb r1, [r0]
|
||||||
lsls r0, r1, 4
|
lsls r0, r1, 4
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085CCBBC
|
ldr r1, =gText_UnknownMoveTypes
|
||||||
adds r4, r0, r1
|
adds r4, r0, r1
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
.pool
|
.pool
|
||||||
@ -1626,7 +1626,7 @@ _0814EFEC:
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gUnknown_085CC0AD
|
ldr r1, =gText_BerrySuffix
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _0814F5BE
|
b _0814F5BE
|
||||||
@ -1652,13 +1652,13 @@ _0814F014:
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gUnknown_085CC0AD
|
ldr r1, =gText_BerrySuffix
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _0814F5BE
|
b _0814F5BE
|
||||||
.pool
|
.pool
|
||||||
_0814F05C:
|
_0814F05C:
|
||||||
ldr r4, =gUnknown_085CC0A0
|
ldr r4, =gText_EnigmaBerry
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
.pool
|
.pool
|
||||||
_0814F064:
|
_0814F064:
|
||||||
@ -1996,10 +1996,10 @@ _0814F330:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
ands r1, r0
|
ands r1, r0
|
||||||
ldr r4, =gUnknown_085CBD85
|
ldr r4, =gText_WildPkmnPrefix
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _0814F34E
|
beq _0814F34E
|
||||||
ldr r4, =gUnknown_085CBD8B
|
ldr r4, =gText_FoePkmnPrefix
|
||||||
_0814F34E:
|
_0814F34E:
|
||||||
ldrb r1, [r4]
|
ldrb r1, [r4]
|
||||||
adds r0, r1, 0
|
adds r0, r1, 0
|
||||||
@ -2051,12 +2051,12 @@ _0814F3C4:
|
|||||||
ldr r0, =0x000008ab
|
ldr r0, =0x000008ab
|
||||||
bl FlagGet
|
bl FlagGet
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
ldr r4, =gUnknown_085CC015
|
ldr r4, =gText_Someones
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814F3D4
|
bne _0814F3D4
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
_0814F3D4:
|
_0814F3D4:
|
||||||
ldr r4, =gUnknown_085CC01F
|
ldr r4, =gText_Lanettes
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
.pool
|
.pool
|
||||||
_0814F3E4:
|
_0814F3E4:
|
||||||
@ -2069,12 +2069,12 @@ _0814F3EE:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl GetBankSide
|
bl GetBankSide
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
ldr r4, =gUnknown_085CBD9A
|
ldr r4, =gText_FoePkmnPrefix3
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814F3FE
|
beq _0814F3FE
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
_0814F3FE:
|
_0814F3FE:
|
||||||
ldr r4, =gUnknown_085CBD9E
|
ldr r4, =gText_AllyPkmnPrefix2
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
.pool
|
.pool
|
||||||
_0814F410:
|
_0814F410:
|
||||||
@ -2087,12 +2087,12 @@ _0814F41A:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl GetBankSide
|
bl GetBankSide
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
ldr r4, =gUnknown_085CBD91
|
ldr r4, =gText_FoePkmnPrefix2
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814F42A
|
beq _0814F42A
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
_0814F42A:
|
_0814F42A:
|
||||||
ldr r4, =gUnknown_085CBD95
|
ldr r4, =gText_AllyPkmnPrefix
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
.pool
|
.pool
|
||||||
_0814F43C:
|
_0814F43C:
|
||||||
@ -2105,12 +2105,12 @@ _0814F446:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl GetBankSide
|
bl GetBankSide
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
ldr r4, =gUnknown_085CBDA3
|
ldr r4, =gText_FoePkmnPrefix4
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814F456
|
beq _0814F456
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
_0814F456:
|
_0814F456:
|
||||||
ldr r4, =gUnknown_085CBDA7
|
ldr r4, =gText_AllyPkmnPrefix3
|
||||||
b _0814F5C0
|
b _0814F5C0
|
||||||
.pool
|
.pool
|
||||||
_0814F468:
|
_0814F468:
|
||||||
@ -2387,7 +2387,7 @@ _0814F6AC:
|
|||||||
ldrb r0, [r0, 0x2]
|
ldrb r0, [r0, 0x2]
|
||||||
lsls r0, 8
|
lsls r0, 8
|
||||||
orrs r1, r0
|
orrs r1, r0
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
subs r1, 0xC
|
subs r1, 0xC
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
adds r1, r0
|
adds r1, r0
|
||||||
@ -2485,13 +2485,13 @@ _0814F768:
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814F788
|
beq _0814F788
|
||||||
ldr r1, =gUnknown_085CBD8B
|
ldr r1, =gText_FoePkmnPrefix
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _0814F790
|
b _0814F790
|
||||||
.pool
|
.pool
|
||||||
_0814F788:
|
_0814F788:
|
||||||
ldr r1, =gUnknown_085CBD85
|
ldr r1, =gText_WildPkmnPrefix
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
_0814F790:
|
_0814F790:
|
||||||
@ -2562,7 +2562,7 @@ _0814F81A:
|
|||||||
b _0814F8DE
|
b _0814F8DE
|
||||||
.pool
|
.pool
|
||||||
_0814F828:
|
_0814F828:
|
||||||
ldr r1, =gUnknown_085CBE6C
|
ldr r1, =gPokeblockWasTooXStringTable
|
||||||
adds r0, r5, r7
|
adds r0, r5, r7
|
||||||
ldrb r0, [r0, 0x1]
|
ldrb r0, [r0, 0x1]
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
@ -2618,11 +2618,11 @@ _0814F858:
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gUnknown_085CC0AD
|
ldr r1, =gText_BerrySuffix
|
||||||
b _0814F8BE
|
b _0814F8BE
|
||||||
.pool
|
.pool
|
||||||
_0814F8BC:
|
_0814F8BC:
|
||||||
ldr r1, =gUnknown_085CC0A0
|
ldr r1, =gText_EnigmaBerry
|
||||||
_0814F8BE:
|
_0814F8BE:
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
@ -2679,7 +2679,7 @@ _0814F918:
|
|||||||
blt _0814F944
|
blt _0814F944
|
||||||
cmp r2, 0x2
|
cmp r2, 0x2
|
||||||
bgt _0814F938
|
bgt _0814F938
|
||||||
ldr r1, =gUnknown_085CCBB5
|
ldr r1, =gText_SpaceIs
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0814F944
|
b _0814F944
|
||||||
@ -2687,7 +2687,7 @@ _0814F918:
|
|||||||
_0814F938:
|
_0814F938:
|
||||||
cmp r2, 0x4
|
cmp r2, 0x4
|
||||||
bgt _0814F944
|
bgt _0814F944
|
||||||
ldr r1, =gUnknown_085CCBB9
|
ldr r1, =gText_ApostropheS
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_0814F944:
|
_0814F944:
|
||||||
@ -2744,26 +2744,26 @@ _0814F99C:
|
|||||||
.4byte _0814F9C8
|
.4byte _0814F9C8
|
||||||
.4byte _0814F9D8
|
.4byte _0814F9D8
|
||||||
_0814F9B0:
|
_0814F9B0:
|
||||||
ldr r1, =gUnknown_085CBDB7
|
ldr r1, =gText_ExclamationMark
|
||||||
b _0814F9CA
|
b _0814F9CA
|
||||||
.pool
|
.pool
|
||||||
_0814F9B8:
|
_0814F9B8:
|
||||||
ldr r1, =gUnknown_085CBDB9
|
ldr r1, =gText_ExclamationMark2
|
||||||
b _0814F9CA
|
b _0814F9CA
|
||||||
.pool
|
.pool
|
||||||
_0814F9C0:
|
_0814F9C0:
|
||||||
ldr r1, =gUnknown_085CBDBB
|
ldr r1, =gText_ExclamationMark3
|
||||||
b _0814F9CA
|
b _0814F9CA
|
||||||
.pool
|
.pool
|
||||||
_0814F9C8:
|
_0814F9C8:
|
||||||
ldr r1, =gUnknown_085CBDBD
|
ldr r1, =gText_ExclamationMark4
|
||||||
_0814F9CA:
|
_0814F9CA:
|
||||||
adds r0, r3, 0
|
adds r0, r3, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0814F9E0
|
b _0814F9E0
|
||||||
.pool
|
.pool
|
||||||
_0814F9D8:
|
_0814F9D8:
|
||||||
ldr r1, =gUnknown_085CBDBF
|
ldr r1, =gText_ExclamationMark5
|
||||||
adds r0, r3, 0
|
adds r0, r3, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_0814F9E0:
|
_0814F9E0:
|
||||||
|
@ -488,7 +488,7 @@ sub_813C2F4: @ 813C2F4
|
|||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF6A1
|
ldr r1, =gText_TotalRecordWLD
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -672,7 +672,7 @@ sub_813C4BC: @ 813C4BC
|
|||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF68D
|
ldr r1, =gText_PlayersBattleResults
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -697,7 +697,7 @@ sub_813C4BC: @ 813C4BC
|
|||||||
mov r9, r1
|
mov r9, r1
|
||||||
add r0, r9
|
add r0, r9
|
||||||
bl sub_813C2F4
|
bl sub_813C2F4
|
||||||
ldr r1, =gUnknown_085EF6BD
|
ldr r1, =gText_WinLoseDraw
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
|
@ -5627,7 +5627,7 @@ _080827AA:
|
|||||||
ldr r0, [r6]
|
ldr r0, [r6]
|
||||||
ldr r1, =0x000011b8
|
ldr r1, =0x000011b8
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085EE42D
|
ldr r1, =gText_SavingDontTurnOff2
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_808417C
|
bl sub_808417C
|
||||||
bl sub_800ADF8
|
bl sub_800ADF8
|
||||||
@ -8350,7 +8350,7 @@ ShowBerryBlenderRecordWindow: @ 8083E24
|
|||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r6, =gUnknown_085EE44F
|
ldr r6, =gText_BlenderMaxSpeedRecord
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r6, 0
|
adds r1, r6, 0
|
||||||
movs r2, 0x90
|
movs r2, 0x90
|
||||||
@ -8367,7 +8367,7 @@ ShowBerryBlenderRecordWindow: @ 8083E24
|
|||||||
adds r2, r6, 0
|
adds r2, r6, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
ldr r2, =gUnknown_085EE473
|
ldr r2, =gText_234Players
|
||||||
movs r1, 0x29
|
movs r1, 0x29
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
|
@ -5,588 +5,4 @@
|
|||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
thumb_func_start sub_81BF384
|
|
||||||
sub_81BF384: @ 81BF384
|
|
||||||
push {r4,lr}
|
|
||||||
ldr r0, =0x0000ffff
|
|
||||||
bl DisableInterrupts
|
|
||||||
movs r0, 0x1
|
|
||||||
bl EnableInterrupts
|
|
||||||
bl m4aSoundVSyncOff
|
|
||||||
movs r0, 0
|
|
||||||
bl SetVBlankCallback
|
|
||||||
bl ResetSpriteData
|
|
||||||
bl ResetTasks
|
|
||||||
bl remove_some_task
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
ldr r4, =gUnknown_030012B8
|
|
||||||
movs r0, 0x50
|
|
||||||
bl AllocZeroed
|
|
||||||
str r0, [r4]
|
|
||||||
movs r1, 0
|
|
||||||
strb r1, [r0]
|
|
||||||
ldr r1, [r4]
|
|
||||||
movs r0, 0x6
|
|
||||||
strb r0, [r1, 0x1]
|
|
||||||
ldr r0, =sub_81BF3DC
|
|
||||||
bl SetMainCallback2
|
|
||||||
pop {r4}
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
.pool
|
|
||||||
thumb_func_end sub_81BF384
|
|
||||||
|
|
||||||
thumb_func_start sub_81BF3DC
|
|
||||||
sub_81BF3DC: @ 81BF3DC
|
|
||||||
push {r4,r5,lr}
|
|
||||||
sub sp, 0x4
|
|
||||||
ldr r1, =gUnknown_030012B8
|
|
||||||
ldr r0, [r1]
|
|
||||||
ldrb r0, [r0]
|
|
||||||
adds r5, r1, 0
|
|
||||||
cmp r0, 0x7
|
|
||||||
bls _081BF3EE
|
|
||||||
b _081BF592
|
|
||||||
_081BF3EE:
|
|
||||||
lsls r0, 2
|
|
||||||
ldr r1, =_081BF400
|
|
||||||
adds r0, r1
|
|
||||||
ldr r0, [r0]
|
|
||||||
mov pc, r0
|
|
||||||
.pool
|
|
||||||
.align 2, 0
|
|
||||||
_081BF400:
|
|
||||||
.4byte _081BF420
|
|
||||||
.4byte _081BF430
|
|
||||||
.4byte _081BF45C
|
|
||||||
.4byte _081BF488
|
|
||||||
.4byte _081BF4BC
|
|
||||||
.4byte _081BF514
|
|
||||||
.4byte _081BF552
|
|
||||||
.4byte _081BF574
|
|
||||||
_081BF420:
|
|
||||||
bl sub_81BF5A4
|
|
||||||
ldr r0, =gUnknown_030012B8
|
|
||||||
ldr r1, [r0]
|
|
||||||
movs r0, 0x1
|
|
||||||
b _081BF590
|
|
||||||
.pool
|
|
||||||
_081BF430:
|
|
||||||
movs r0, 0x5
|
|
||||||
bl sub_81BF7A4
|
|
||||||
cmp r0, 0x5
|
|
||||||
beq _081BF43C
|
|
||||||
b _081BF592
|
|
||||||
_081BF43C:
|
|
||||||
ldr r0, =gMain
|
|
||||||
ldrh r1, [r0, 0x2E]
|
|
||||||
movs r0, 0x1
|
|
||||||
ands r0, r1
|
|
||||||
cmp r0, 0
|
|
||||||
bne _081BF44A
|
|
||||||
b _081BF592
|
|
||||||
_081BF44A:
|
|
||||||
ldr r0, =gUnknown_030012B8
|
|
||||||
ldr r1, [r0]
|
|
||||||
movs r0, 0x2
|
|
||||||
b _081BF590
|
|
||||||
.pool
|
|
||||||
_081BF45C:
|
|
||||||
movs r0, 0
|
|
||||||
bl sub_81BF7A4
|
|
||||||
cmp r0, 0
|
|
||||||
beq _081BF468
|
|
||||||
b _081BF592
|
|
||||||
_081BF468:
|
|
||||||
ldr r0, =gMain
|
|
||||||
ldrh r1, [r0, 0x2E]
|
|
||||||
movs r0, 0x1
|
|
||||||
ands r0, r1
|
|
||||||
cmp r0, 0
|
|
||||||
bne _081BF476
|
|
||||||
b _081BF592
|
|
||||||
_081BF476:
|
|
||||||
ldr r0, =gUnknown_030012B8
|
|
||||||
ldr r1, [r0]
|
|
||||||
movs r0, 0x3
|
|
||||||
b _081BF590
|
|
||||||
.pool
|
|
||||||
_081BF488:
|
|
||||||
movs r0, 0x1
|
|
||||||
bl sub_81BF7A4
|
|
||||||
cmp r0, 0x1
|
|
||||||
beq _081BF494
|
|
||||||
b _081BF592
|
|
||||||
_081BF494:
|
|
||||||
ldr r4, =gUnknown_030012B8
|
|
||||||
ldr r0, [r4]
|
|
||||||
ldr r1, =gUnknown_089A6550
|
|
||||||
str r1, [r0, 0x2C]
|
|
||||||
adds r0, 0x4F
|
|
||||||
movs r5, 0
|
|
||||||
strb r5, [r0]
|
|
||||||
ldr r0, [r4]
|
|
||||||
adds r0, 0x4
|
|
||||||
bl MultiBootInit
|
|
||||||
ldr r1, [r4]
|
|
||||||
strh r5, [r1, 0x2]
|
|
||||||
movs r0, 0x4
|
|
||||||
b _081BF590
|
|
||||||
.pool
|
|
||||||
_081BF4BC:
|
|
||||||
adds r4, r5, 0
|
|
||||||
ldr r0, [r4]
|
|
||||||
adds r0, 0x4
|
|
||||||
bl MultiBootMain
|
|
||||||
ldr r4, [r4]
|
|
||||||
ldrb r0, [r4, 0x1C]
|
|
||||||
cmp r0, 0
|
|
||||||
bne _081BF4D8
|
|
||||||
ldr r0, [r4, 0x20]
|
|
||||||
ldr r1, =0x00020200
|
|
||||||
ands r0, r1
|
|
||||||
cmp r0, r1
|
|
||||||
beq _081BF4E4
|
|
||||||
_081BF4D8:
|
|
||||||
movs r0, 0
|
|
||||||
strh r0, [r4, 0x2]
|
|
||||||
b _081BF592
|
|
||||||
.pool
|
|
||||||
_081BF4E4:
|
|
||||||
ldrh r0, [r4, 0x2]
|
|
||||||
adds r0, 0x1
|
|
||||||
strh r0, [r4, 0x2]
|
|
||||||
lsls r0, 16
|
|
||||||
lsrs r0, 16
|
|
||||||
cmp r0, 0xB4
|
|
||||||
bls _081BF592
|
|
||||||
adds r0, r4, 0x4
|
|
||||||
ldr r1, =gMultiBootProgram_BerryGlitchFix_Start
|
|
||||||
ldr r2, =gMultiBootProgram_BerryGlitchFix_End
|
|
||||||
subs r2, r1
|
|
||||||
movs r3, 0x1
|
|
||||||
str r3, [sp]
|
|
||||||
movs r3, 0x4
|
|
||||||
bl MultiBootStartMaster
|
|
||||||
ldr r1, [r5]
|
|
||||||
movs r0, 0x5
|
|
||||||
b _081BF590
|
|
||||||
.pool
|
|
||||||
_081BF514:
|
|
||||||
movs r0, 0x2
|
|
||||||
bl sub_81BF7A4
|
|
||||||
adds r4, r0, 0
|
|
||||||
cmp r4, 0x2
|
|
||||||
bne _081BF592
|
|
||||||
ldr r5, =gUnknown_030012B8
|
|
||||||
ldr r0, [r5]
|
|
||||||
adds r0, 0x4
|
|
||||||
bl MultiBootMain
|
|
||||||
ldr r0, [r5]
|
|
||||||
adds r0, 0x4
|
|
||||||
bl MultiBootCheckComplete
|
|
||||||
cmp r0, 0
|
|
||||||
beq _081BF540
|
|
||||||
ldr r1, [r5]
|
|
||||||
movs r0, 0x6
|
|
||||||
b _081BF590
|
|
||||||
.pool
|
|
||||||
_081BF540:
|
|
||||||
ldr r1, [r5]
|
|
||||||
adds r0, r1, 0
|
|
||||||
adds r0, 0x22
|
|
||||||
ldrb r0, [r0]
|
|
||||||
ands r4, r0
|
|
||||||
cmp r4, 0
|
|
||||||
bne _081BF592
|
|
||||||
movs r0, 0x7
|
|
||||||
b _081BF590
|
|
||||||
_081BF552:
|
|
||||||
movs r0, 0x3
|
|
||||||
bl sub_81BF7A4
|
|
||||||
cmp r0, 0x3
|
|
||||||
bne _081BF592
|
|
||||||
ldr r0, =gMain
|
|
||||||
ldrh r1, [r0, 0x2E]
|
|
||||||
movs r0, 0x1
|
|
||||||
ands r0, r1
|
|
||||||
cmp r0, 0
|
|
||||||
beq _081BF592
|
|
||||||
bl DoSoftReset
|
|
||||||
b _081BF592
|
|
||||||
.pool
|
|
||||||
_081BF574:
|
|
||||||
movs r0, 0x4
|
|
||||||
bl sub_81BF7A4
|
|
||||||
cmp r0, 0x4
|
|
||||||
bne _081BF592
|
|
||||||
ldr r0, =gMain
|
|
||||||
ldrh r1, [r0, 0x2E]
|
|
||||||
movs r0, 0x1
|
|
||||||
ands r0, r1
|
|
||||||
cmp r0, 0
|
|
||||||
beq _081BF592
|
|
||||||
ldr r0, =gUnknown_030012B8
|
|
||||||
ldr r1, [r0]
|
|
||||||
movs r0, 0x1
|
|
||||||
_081BF590:
|
|
||||||
strb r0, [r1]
|
|
||||||
_081BF592:
|
|
||||||
add sp, 0x4
|
|
||||||
pop {r4,r5}
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
.pool
|
|
||||||
thumb_func_end sub_81BF3DC
|
|
||||||
|
|
||||||
thumb_func_start sub_81BF5A4
|
|
||||||
sub_81BF5A4: @ 81BF5A4
|
|
||||||
push {r4-r6,lr}
|
|
||||||
mov r6, r8
|
|
||||||
push {r6}
|
|
||||||
sub sp, 0x10
|
|
||||||
movs r0, 0x8
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r0, 0xA
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r0, 0x10
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r0, 0x12
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r0, 0x14
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r0, 0x16
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r0, 0x50
|
|
||||||
movs r1, 0
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r1, 0
|
|
||||||
str r1, [sp, 0xC]
|
|
||||||
ldr r4, =0x040000d4
|
|
||||||
add r0, sp, 0xC
|
|
||||||
str r0, [r4]
|
|
||||||
movs r0, 0xC0
|
|
||||||
lsls r0, 19
|
|
||||||
str r0, [r4, 0x4]
|
|
||||||
ldr r0, =0x85006000
|
|
||||||
str r0, [r4, 0x8]
|
|
||||||
ldr r0, [r4, 0x8]
|
|
||||||
str r1, [sp, 0xC]
|
|
||||||
add r0, sp, 0xC
|
|
||||||
str r0, [r4]
|
|
||||||
movs r0, 0xE0
|
|
||||||
lsls r0, 19
|
|
||||||
str r0, [r4, 0x4]
|
|
||||||
ldr r2, =0x85000100
|
|
||||||
str r2, [r4, 0x8]
|
|
||||||
ldr r0, [r4, 0x8]
|
|
||||||
str r1, [sp, 0xC]
|
|
||||||
add r0, sp, 0xC
|
|
||||||
str r0, [r4]
|
|
||||||
movs r0, 0xA0
|
|
||||||
lsls r0, 19
|
|
||||||
str r0, [r4, 0x4]
|
|
||||||
str r2, [r4, 0x8]
|
|
||||||
ldr r0, [r4, 0x8]
|
|
||||||
movs r0, 0
|
|
||||||
bl ResetBgsAndClearDma3BusyFlags
|
|
||||||
ldr r1, =gUnknown_08618108
|
|
||||||
movs r0, 0
|
|
||||||
movs r2, 0x2
|
|
||||||
bl InitBgsFromTemplates
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl ChangeBgX
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl ChangeBgY
|
|
||||||
movs r0, 0x1
|
|
||||||
movs r1, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl ChangeBgX
|
|
||||||
movs r0, 0x1
|
|
||||||
movs r1, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl ChangeBgY
|
|
||||||
ldr r0, =gUnknown_08618110
|
|
||||||
bl InitWindows
|
|
||||||
bl DeactivateAllTextPrinters
|
|
||||||
ldr r0, =gUnknown_08618138
|
|
||||||
str r0, [r4]
|
|
||||||
ldr r0, =0x050001e0
|
|
||||||
str r0, [r4, 0x4]
|
|
||||||
ldr r0, =0x84000008
|
|
||||||
str r0, [r4, 0x8]
|
|
||||||
ldr r0, [r4, 0x8]
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0x40
|
|
||||||
bl SetGpuReg
|
|
||||||
movs r0, 0x2
|
|
||||||
movs r1, 0
|
|
||||||
bl FillWindowPixelBuffer
|
|
||||||
movs r0, 0x3
|
|
||||||
movs r1, 0
|
|
||||||
bl FillWindowPixelBuffer
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0xAA
|
|
||||||
bl FillWindowPixelBuffer
|
|
||||||
ldr r5, =gUnknown_08617E9B
|
|
||||||
movs r0, 0
|
|
||||||
adds r1, r5, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl GetStringWidth
|
|
||||||
adds r1, r0, 0
|
|
||||||
movs r4, 0x78
|
|
||||||
subs r0, r4, r1
|
|
||||||
lsrs r1, r0, 31
|
|
||||||
adds r0, r1
|
|
||||||
asrs r0, 1
|
|
||||||
lsls r2, r0, 24
|
|
||||||
lsrs r2, 24
|
|
||||||
ldr r6, =gUnknown_0861815B
|
|
||||||
str r6, [sp]
|
|
||||||
movs r0, 0x1
|
|
||||||
negs r0, r0
|
|
||||||
mov r8, r0
|
|
||||||
str r0, [sp, 0x4]
|
|
||||||
str r5, [sp, 0x8]
|
|
||||||
movs r0, 0x2
|
|
||||||
movs r1, 0
|
|
||||||
movs r3, 0x3
|
|
||||||
bl box_print
|
|
||||||
ldr r5, =gUnknown_08617E8D
|
|
||||||
movs r0, 0
|
|
||||||
adds r1, r5, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl GetStringWidth
|
|
||||||
adds r1, r0, 0
|
|
||||||
subs r4, r1
|
|
||||||
lsrs r0, r4, 31
|
|
||||||
adds r4, r0
|
|
||||||
asrs r4, 1
|
|
||||||
adds r0, r4, 0
|
|
||||||
adds r0, 0x78
|
|
||||||
lsls r2, r0, 24
|
|
||||||
lsrs r2, 24
|
|
||||||
str r6, [sp]
|
|
||||||
mov r0, r8
|
|
||||||
str r0, [sp, 0x4]
|
|
||||||
str r5, [sp, 0x8]
|
|
||||||
movs r0, 0x2
|
|
||||||
movs r1, 0
|
|
||||||
movs r3, 0x3
|
|
||||||
bl box_print
|
|
||||||
movs r0, 0
|
|
||||||
adds r1, r5, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl GetStringWidth
|
|
||||||
adds r1, r0, 0
|
|
||||||
movs r0, 0x70
|
|
||||||
subs r0, r1
|
|
||||||
lsrs r1, r0, 31
|
|
||||||
adds r0, r1
|
|
||||||
asrs r0, 1
|
|
||||||
lsls r2, r0, 24
|
|
||||||
lsrs r2, 24
|
|
||||||
str r6, [sp]
|
|
||||||
mov r0, r8
|
|
||||||
str r0, [sp, 0x4]
|
|
||||||
str r5, [sp, 0x8]
|
|
||||||
movs r0, 0x3
|
|
||||||
movs r1, 0
|
|
||||||
movs r3, 0
|
|
||||||
bl box_print
|
|
||||||
ldr r4, =gUnknown_08617E78
|
|
||||||
movs r0, 0x1
|
|
||||||
adds r1, r4, 0
|
|
||||||
movs r2, 0
|
|
||||||
bl GetStringWidth
|
|
||||||
adds r1, r0, 0
|
|
||||||
movs r0, 0xD0
|
|
||||||
subs r0, r1
|
|
||||||
lsrs r1, r0, 31
|
|
||||||
adds r0, r1
|
|
||||||
asrs r0, 1
|
|
||||||
lsls r2, r0, 24
|
|
||||||
lsrs r2, 24
|
|
||||||
ldr r0, =gUnknown_08618158
|
|
||||||
str r0, [sp]
|
|
||||||
mov r0, r8
|
|
||||||
str r0, [sp, 0x4]
|
|
||||||
str r4, [sp, 0x8]
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0x1
|
|
||||||
movs r3, 0x2
|
|
||||||
bl box_print
|
|
||||||
movs r0, 0x2
|
|
||||||
movs r1, 0x2
|
|
||||||
bl CopyWindowToVram
|
|
||||||
movs r0, 0x3
|
|
||||||
movs r1, 0x2
|
|
||||||
bl CopyWindowToVram
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0x2
|
|
||||||
bl CopyWindowToVram
|
|
||||||
add sp, 0x10
|
|
||||||
pop {r3}
|
|
||||||
mov r8, r3
|
|
||||||
pop {r4-r6}
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
.pool
|
|
||||||
thumb_func_end sub_81BF5A4
|
|
||||||
|
|
||||||
thumb_func_start sub_81BF7A4
|
|
||||||
sub_81BF7A4: @ 81BF7A4
|
|
||||||
push {r4,r5,lr}
|
|
||||||
adds r4, r0, 0
|
|
||||||
ldr r5, =gUnknown_030012B8
|
|
||||||
ldr r0, [r5]
|
|
||||||
ldrb r0, [r0, 0x1]
|
|
||||||
cmp r0, r4
|
|
||||||
bne _081BF7BC
|
|
||||||
adds r0, r4, 0
|
|
||||||
b _081BF7DC
|
|
||||||
.pool
|
|
||||||
_081BF7BC:
|
|
||||||
cmp r0, 0x6
|
|
||||||
bne _081BF7CC
|
|
||||||
adds r0, r4, 0
|
|
||||||
bl sub_81BF7E8
|
|
||||||
ldr r0, [r5]
|
|
||||||
strb r4, [r0, 0x1]
|
|
||||||
b _081BF7D6
|
|
||||||
_081BF7CC:
|
|
||||||
bl sub_81BF8D8
|
|
||||||
ldr r1, [r5]
|
|
||||||
movs r0, 0x6
|
|
||||||
strb r0, [r1, 0x1]
|
|
||||||
_081BF7D6:
|
|
||||||
ldr r0, =gUnknown_030012B8
|
|
||||||
ldr r0, [r0]
|
|
||||||
ldrb r0, [r0, 0x1]
|
|
||||||
_081BF7DC:
|
|
||||||
pop {r4,r5}
|
|
||||||
pop {r1}
|
|
||||||
bx r1
|
|
||||||
.pool
|
|
||||||
thumb_func_end sub_81BF7A4
|
|
||||||
|
|
||||||
thumb_func_start sub_81BF7E8
|
|
||||||
sub_81BF7E8: @ 81BF7E8
|
|
||||||
push {r4-r6,lr}
|
|
||||||
sub sp, 0xC
|
|
||||||
adds r6, r0, 0
|
|
||||||
movs r0, 0x20
|
|
||||||
str r0, [sp]
|
|
||||||
str r0, [sp, 0x4]
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0
|
|
||||||
movs r2, 0
|
|
||||||
movs r3, 0
|
|
||||||
bl FillBgTilemapBufferRect_Palette0
|
|
||||||
movs r0, 0x1
|
|
||||||
movs r1, 0xAA
|
|
||||||
bl FillWindowPixelBuffer
|
|
||||||
ldr r0, =gUnknown_08618158
|
|
||||||
str r0, [sp]
|
|
||||||
movs r0, 0x1
|
|
||||||
negs r0, r0
|
|
||||||
str r0, [sp, 0x4]
|
|
||||||
ldr r0, =gUnknown_08618160
|
|
||||||
lsls r4, r6, 2
|
|
||||||
adds r0, r4, r0
|
|
||||||
ldr r0, [r0]
|
|
||||||
str r0, [sp, 0x8]
|
|
||||||
movs r0, 0x1
|
|
||||||
movs r1, 0x1
|
|
||||||
movs r2, 0
|
|
||||||
movs r3, 0
|
|
||||||
bl box_print
|
|
||||||
movs r0, 0x1
|
|
||||||
bl PutWindowTilemap
|
|
||||||
movs r0, 0x1
|
|
||||||
movs r1, 0x2
|
|
||||||
bl CopyWindowToVram
|
|
||||||
cmp r6, 0x5
|
|
||||||
bhi _081BF87E
|
|
||||||
ldr r0, =_081BF850
|
|
||||||
adds r0, r4, r0
|
|
||||||
ldr r0, [r0]
|
|
||||||
mov pc, r0
|
|
||||||
.pool
|
|
||||||
.align 2, 0
|
|
||||||
_081BF850:
|
|
||||||
.4byte _081BF868
|
|
||||||
.4byte _081BF870
|
|
||||||
.4byte _081BF868
|
|
||||||
.4byte _081BF868
|
|
||||||
.4byte _081BF868
|
|
||||||
.4byte _081BF878
|
|
||||||
_081BF868:
|
|
||||||
movs r0, 0x2
|
|
||||||
bl PutWindowTilemap
|
|
||||||
b _081BF87E
|
|
||||||
_081BF870:
|
|
||||||
movs r0, 0x3
|
|
||||||
bl PutWindowTilemap
|
|
||||||
b _081BF87E
|
|
||||||
_081BF878:
|
|
||||||
movs r0, 0
|
|
||||||
bl PutWindowTilemap
|
|
||||||
_081BF87E:
|
|
||||||
movs r0, 0
|
|
||||||
bl CopyBgTilemapBufferToVram
|
|
||||||
ldr r5, =gUnknown_08618178
|
|
||||||
lsls r4, r6, 1
|
|
||||||
adds r4, r6
|
|
||||||
lsls r4, 2
|
|
||||||
adds r0, r4, r5
|
|
||||||
ldr r0, [r0]
|
|
||||||
ldr r1, =0x06004000
|
|
||||||
bl LZ77UnCompVram
|
|
||||||
adds r0, r5, 0x4
|
|
||||||
adds r0, r4, r0
|
|
||||||
ldr r0, [r0]
|
|
||||||
ldr r1, =0x0600f800
|
|
||||||
bl LZ77UnCompVram
|
|
||||||
adds r5, 0x8
|
|
||||||
adds r4, r5
|
|
||||||
ldr r0, [r4]
|
|
||||||
movs r1, 0xA0
|
|
||||||
lsls r1, 19
|
|
||||||
ldr r2, =0x04000040
|
|
||||||
bl CpuSet
|
|
||||||
movs r0, 0
|
|
||||||
bl ShowBg
|
|
||||||
movs r0, 0x1
|
|
||||||
bl ShowBg
|
|
||||||
add sp, 0xC
|
|
||||||
pop {r4-r6}
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
.pool
|
|
||||||
thumb_func_end sub_81BF7E8
|
|
||||||
|
|
||||||
thumb_func_start sub_81BF8D8
|
|
||||||
sub_81BF8D8: @ 81BF8D8
|
|
||||||
push {lr}
|
|
||||||
movs r0, 0
|
|
||||||
bl HideBg
|
|
||||||
movs r0, 0x1
|
|
||||||
bl HideBg
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
thumb_func_end sub_81BF8D8
|
|
||||||
|
|
||||||
.align 2, 0 @ Don't pad with nop.
|
.align 2, 0 @ Don't pad with nop.
|
||||||
|
@ -511,7 +511,7 @@ sub_8178090: @ 8178090
|
|||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0xFF
|
movs r1, 0xFF
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r4, =gUnknown_085E926B
|
ldr r4, =gText_BerryTag
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x40
|
movs r2, 0x40
|
||||||
@ -573,7 +573,7 @@ sub_8178110: @ 8178110
|
|||||||
adds r1, r6, 0
|
adds r1, r6, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9263
|
ldr r1, =gText_UnkF908Var1Var2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -602,7 +602,7 @@ sub_8178174: @ 8178174
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl GetBerryInfo
|
bl GetBerryInfo
|
||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
ldr r2, =gUnknown_085E9225
|
ldr r2, =gText_SizeSlash
|
||||||
movs r7, 0x1
|
movs r7, 0x1
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
@ -652,7 +652,7 @@ _081781C8:
|
|||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9233
|
ldr r1, =gText_Var1DotVar2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
str r7, [sp]
|
str r7, [sp]
|
||||||
@ -694,7 +694,7 @@ itemid_copy_name: @ 8178250
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl GetBerryInfo
|
bl GetBerryInfo
|
||||||
adds r6, r0, 0
|
adds r6, r0, 0
|
||||||
ldr r2, =gUnknown_085E922C
|
ldr r2, =gText_FirmSlash
|
||||||
movs r5, 0x11
|
movs r5, 0x11
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
|
@ -55,7 +55,7 @@ sub_80B23B0: @ 80B23B0
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl SetStandardWindowBorderStyle
|
bl SetStandardWindowBorderStyle
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE667
|
ldr r1, =gText_XPLink
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
|
@ -33,7 +33,7 @@ sub_817ACE4: @ 817ACE4
|
|||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0xE
|
movs r3, 0xE
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r2, =gUnknown_085EFA8F
|
ldr r2, =gText_ClearAllSaveData
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -87,7 +87,7 @@ _0817AD68:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EFAAA
|
ldr r2, =gText_ClearingData
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
|
@ -1579,7 +1579,7 @@ _080D84B8:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080D853C
|
beq _080D853C
|
||||||
add r0, sp, 0x4
|
add r0, sp, 0x4
|
||||||
ldr r1, =gUnknown_085ED1A0
|
ldr r1, =gText_ColorLightShadowDarkGrey
|
||||||
b _080D8566
|
b _080D8566
|
||||||
.pool
|
.pool
|
||||||
_080D853C:
|
_080D853C:
|
||||||
@ -1603,7 +1603,7 @@ _080D853C:
|
|||||||
cmp r0, 0x3
|
cmp r0, 0x3
|
||||||
beq _080D856C
|
beq _080D856C
|
||||||
add r0, sp, 0x4
|
add r0, sp, 0x4
|
||||||
ldr r1, =gUnknown_085ED1A7
|
ldr r1, =gText_ColorBlue
|
||||||
_080D8566:
|
_080D8566:
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
@ -6407,7 +6407,7 @@ sub_80DAED4: @ 80DAED4
|
|||||||
lsls r4, r1, 24
|
lsls r4, r1, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
ldr r1, =gUnknown_085ED1AB
|
ldr r1, =gText_ColorTransparent
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r1, r0, 0
|
adds r1, r0, 0
|
||||||
subs r0, r1, 0x1
|
subs r0, r1, 0x1
|
||||||
@ -15507,7 +15507,7 @@ _080DF784:
|
|||||||
mov r9, r0
|
mov r9, r0
|
||||||
_080DF7AE:
|
_080DF7AE:
|
||||||
add r0, sp, 0x4
|
add r0, sp, 0x4
|
||||||
ldr r1, =gUnknown_085ED1B2
|
ldr r1, =gText_CDot
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
ldr r0, =gUnknown_02039F26
|
ldr r0, =gUnknown_02039F26
|
||||||
@ -15604,7 +15604,7 @@ _080DF874:
|
|||||||
mov r10, r1
|
mov r10, r1
|
||||||
_080DF884:
|
_080DF884:
|
||||||
add r0, sp, 0x4
|
add r0, sp, 0x4
|
||||||
ldr r1, =gUnknown_085ED1B5
|
ldr r1, =gText_BDot
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =gUnknown_02039F34
|
ldr r0, =gUnknown_02039F34
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
|
@ -283,7 +283,7 @@ sub_80F5A74: @ 80F5A74
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
cmp r5, r0
|
cmp r5, r0
|
||||||
bne _080F5A96
|
bne _080F5A96
|
||||||
ldr r1, =gUnknown_085ED21E
|
ldr r1, =gText_ColorDarkGrey
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r6, r0, 0
|
adds r6, r0, 0
|
||||||
@ -655,7 +655,7 @@ _080F5E2E:
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080F5E78
|
beq _080F5E78
|
||||||
ldr r0, =gUnknown_085ED207
|
ldr r0, =gText_CommunicationStandby
|
||||||
bl sub_80F707C
|
bl sub_80F707C
|
||||||
ldr r0, =sub_80F5ED8
|
ldr r0, =sub_80F5ED8
|
||||||
b _080F5EB8
|
b _080F5EB8
|
||||||
@ -784,7 +784,7 @@ sub_80F5F74: @ 80F5F74
|
|||||||
ldr r0, =sub_80F68F0
|
ldr r0, =sub_80F68F0
|
||||||
movs r1, 0x14
|
movs r1, 0x14
|
||||||
bl CreateTask
|
bl CreateTask
|
||||||
ldr r0, =gUnknown_085ED1B8
|
ldr r0, =gText_AnnouncingResults
|
||||||
ldr r1, =gUnknown_0203A034
|
ldr r1, =gUnknown_0203A034
|
||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
@ -828,7 +828,7 @@ _080F5FF0:
|
|||||||
_080F5FF8:
|
_080F5FF8:
|
||||||
cmp r0, 0x3
|
cmp r0, 0x3
|
||||||
bne _080F6030
|
bne _080F6030
|
||||||
ldr r0, =gUnknown_085ED1D0
|
ldr r0, =gText_PreliminaryResults
|
||||||
ldr r1, =gUnknown_0203A034
|
ldr r1, =gUnknown_0203A034
|
||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
@ -970,7 +970,7 @@ sub_80F60F0: @ 80F60F0
|
|||||||
cmp r0, 0x15
|
cmp r0, 0x15
|
||||||
bne _080F615E
|
bne _080F615E
|
||||||
strh r3, [r1, 0xA]
|
strh r3, [r1, 0xA]
|
||||||
ldr r0, =gUnknown_085ED1E9
|
ldr r0, =gText_Round2Results
|
||||||
ldr r1, [r5]
|
ldr r1, [r5]
|
||||||
ldrb r1, [r1]
|
ldrb r1, [r1]
|
||||||
bl sub_80F6B78
|
bl sub_80F6B78
|
||||||
@ -1265,7 +1265,7 @@ _080F636E:
|
|||||||
adds r4, r1
|
adds r4, r1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gUnknown_085ED1FA
|
ldr r1, =gText_Var1sVar2Won
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r0, =gUnknown_0203A034
|
ldr r0, =gUnknown_0203A034
|
||||||
@ -1679,7 +1679,7 @@ sub_80F671C: @ 80F671C
|
|||||||
ldrsh r0, [r4, r1]
|
ldrsh r0, [r4, r1]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _080F676E
|
bne _080F676E
|
||||||
ldr r0, =gUnknown_085ED207
|
ldr r0, =gText_CommunicationStandby
|
||||||
bl sub_80F707C
|
bl sub_80F707C
|
||||||
bl sub_800AC34
|
bl sub_800AC34
|
||||||
ldr r0, =sub_80F677C
|
ldr r0, =sub_80F677C
|
||||||
|
56
asm/crt0.s
56
asm/crt0.s
@ -18,17 +18,65 @@ Start: @ 8000000
|
|||||||
|
|
||||||
.global GPIOPortData
|
.global GPIOPortData
|
||||||
GPIOPortData: @ 80000C4
|
GPIOPortData: @ 80000C4
|
||||||
.hword 0
|
.2byte 0
|
||||||
|
|
||||||
.global GPIOPortDirection
|
.global GPIOPortDirection
|
||||||
GPIOPortDirection: @ 80000C6
|
GPIOPortDirection: @ 80000C6
|
||||||
.hword 0
|
.2byte 0
|
||||||
|
|
||||||
.global GPIOPortReadEnable
|
.global GPIOPortReadEnable
|
||||||
GPIOPortReadEnable: @ 80000C8
|
GPIOPortReadEnable: @ 80000C8
|
||||||
.hword 0
|
.2byte 0
|
||||||
|
|
||||||
.incbin "baserom.gba", 0xCA, 0x204 - 0xCA
|
@ 80000CA
|
||||||
|
.2byte 0
|
||||||
|
|
||||||
|
@ 80000CC
|
||||||
|
.space 0x34
|
||||||
|
|
||||||
|
.4byte 3
|
||||||
|
.4byte 2
|
||||||
|
|
||||||
|
.ascii "pokemon emerald version"
|
||||||
|
.space 9
|
||||||
|
|
||||||
|
.4byte gMonFrontPicTable
|
||||||
|
.4byte gMonBackPicTable
|
||||||
|
.4byte gMonPaletteTable
|
||||||
|
.4byte gMonShinyPaletteTable
|
||||||
|
.4byte gMonIconTable
|
||||||
|
.4byte gMonIconPaletteIndices
|
||||||
|
.4byte gMonIconPaletteTable
|
||||||
|
.4byte gSpeciesNames
|
||||||
|
.4byte gMoveNames
|
||||||
|
.4byte gDecorations
|
||||||
|
|
||||||
|
.4byte 0x00001270, 0x0000139c, 0x00000018, 0x00000988
|
||||||
|
.4byte 0x00003b24, 0x00000046, 0x000008e4, 0x000008ac
|
||||||
|
.4byte 0x00000182
|
||||||
|
|
||||||
|
.byte 0x07, 0x0a, 0x0a, 0x0a, 0x0c, 0x0c, 0x06, 0x0c
|
||||||
|
.byte 0x06, 0x10, 0x12, 0x0c, 0x0f, 0x0b, 0x01, 0x08
|
||||||
|
|
||||||
|
.4byte 0x0000000c, 0x00000f2c, 0x00003d88, 0x00000234
|
||||||
|
.4byte 0x00000238, 0x00000009, 0x0000000a, 0x00000000
|
||||||
|
.4byte 0x00000008, 0x00000ca8, 0x00000ca8, 0x000031c7
|
||||||
|
.4byte 0x000031b3, 0x00000000
|
||||||
|
|
||||||
|
.4byte gBaseStats
|
||||||
|
.4byte gAbilityNames
|
||||||
|
.4byte gAbilityDescriptionPointers
|
||||||
|
.4byte gItems
|
||||||
|
.4byte gBattleMoves
|
||||||
|
.4byte gUnknown_0832C400
|
||||||
|
.4byte gUnknown_0832C460
|
||||||
|
|
||||||
|
.4byte 0x000000a8, 0x00000864, 0x0000089b
|
||||||
|
|
||||||
|
.byte 0x1e, 0x1e, 0x10, 0x40
|
||||||
|
|
||||||
|
.4byte 0x0000322e, 0x00000498, 0x000031a8, 0x000031f8
|
||||||
|
.4byte 0x00000034, 0x00000000, 0x00000000
|
||||||
|
|
||||||
.arm
|
.arm
|
||||||
.align 2, 0
|
.align 2, 0
|
||||||
|
@ -2800,7 +2800,7 @@ _08070FCC:
|
|||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
mov r1, sp
|
mov r1, sp
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gUnknown_085EF881
|
ldr r4, =gText_NewLine2
|
||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
@ -2810,7 +2810,7 @@ _08070FCC:
|
|||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
ldr r1, =gUnknown_085EF883
|
ldr r1, =gText_Exit4
|
||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
add sp, 0x28
|
add sp, 0x28
|
||||||
@ -2834,7 +2834,7 @@ sub_8071038: @ 8071038
|
|||||||
movs r5, 0
|
movs r5, 0
|
||||||
_08071046:
|
_08071046:
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
ldr r1, =gUnknown_085EF888
|
ldr r1, =gText_Lv
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
movs r0, 0x8C
|
movs r0, 0x8C
|
||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
@ -2856,7 +2856,7 @@ _08071046:
|
|||||||
mov r1, sp
|
mov r1, sp
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
ldr r1, =gUnknown_085EF881
|
ldr r1, =gText_NewLine2
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
adds r0, r5, 0x1
|
adds r0, r5, 0x1
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
@ -2971,7 +2971,7 @@ sub_8071148: @ 8071148
|
|||||||
mov r8, r3
|
mov r8, r3
|
||||||
lsls r5, 24
|
lsls r5, 24
|
||||||
lsrs r5, 24
|
lsrs r5, 24
|
||||||
ldr r1, =gUnknown_085EF888
|
ldr r1, =gText_Lv
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
movs r0, 0x8C
|
movs r0, 0x8C
|
||||||
|
@ -336,7 +336,7 @@ sub_8126C48: @ 8126C48
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08126C7C
|
bne _08126C7C
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA83D
|
ldr r1, =gText_NoDecorations
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8126DA4
|
ldr r2, =sub_8126DA4
|
||||||
@ -376,7 +376,7 @@ sub_8126CA4: @ 8126CA4
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08126CD8
|
bne _08126CD8
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAAEC
|
ldr r1, =gText_NoDecorationsInUse
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8126DA4
|
ldr r2, =sub_8126DA4
|
||||||
@ -420,7 +420,7 @@ sub_8126D10: @ 8126D10
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08126D44
|
bne _08126D44
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA83D
|
ldr r1, =gText_NoDecorations
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8126DA4
|
ldr r2, =sub_8126DA4
|
||||||
@ -656,7 +656,7 @@ _08126F0C:
|
|||||||
ldr r2, =gText_Cancel
|
ldr r2, =gText_Cancel
|
||||||
cmp r0, 0x2
|
cmp r0, 0x2
|
||||||
bne _08126F2C
|
bne _08126F2C
|
||||||
ldr r2, =gUnknown_085EB7EA
|
ldr r2, =gText_Exit
|
||||||
_08126F2C:
|
_08126F2C:
|
||||||
lsls r0, r4, 4
|
lsls r0, r4, 4
|
||||||
adds r0, 0x1
|
adds r0, 0x1
|
||||||
@ -798,7 +798,7 @@ sub_8127058: @ 8127058
|
|||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
lsls r4, r1, 24
|
lsls r4, r1, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r1, =gUnknown_085EA7C8
|
ldr r1, =gText_Color161Shadow161
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
cmp r4, 0x1
|
cmp r4, 0x1
|
||||||
bne _08127078
|
bne _08127078
|
||||||
@ -909,7 +909,7 @@ _08127154:
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
bl sub_8126A58
|
bl sub_8126A58
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA83D
|
ldr r1, =gText_NoDecorations
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8127180
|
ldr r2, =sub_8127180
|
||||||
@ -2637,7 +2637,7 @@ sub_8127F68: @ 8127F68
|
|||||||
cmp r0, 0x7
|
cmp r0, 0x7
|
||||||
beq _08127FAC
|
beq _08127FAC
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA9AE
|
ldr r1, =gText_CantPlaceInRoom
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8127A5C
|
ldr r2, =sub_8127A5C
|
||||||
@ -2682,13 +2682,13 @@ _08127FE8:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08128018
|
bne _08128018
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA8EA
|
ldr r1, =gText_NoMoreDecorations
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _08128020
|
b _08128020
|
||||||
.pool
|
.pool
|
||||||
_08128018:
|
_08128018:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA931
|
ldr r1, =gText_NoMoreDecorations2
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_08128020:
|
_08128020:
|
||||||
ldr r1, =gStringVar4
|
ldr r1, =gStringVar4
|
||||||
@ -2699,7 +2699,7 @@ _08128020:
|
|||||||
.pool
|
.pool
|
||||||
_08128038:
|
_08128038:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA8D2
|
ldr r1, =gText_InUseAlready
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8127A5C
|
ldr r2, =sub_8127A5C
|
||||||
@ -3169,7 +3169,7 @@ sub_8128414: @ 8128414
|
|||||||
strh r2, [r0, 0x3C]
|
strh r2, [r0, 0x3C]
|
||||||
bl sub_8128DE0
|
bl sub_8128DE0
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA8BF
|
ldr r1, =gText_CancelDecorating
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8128B80
|
ldr r2, =sub_8128B80
|
||||||
@ -3835,7 +3835,7 @@ sub_8128950: @ 8128950
|
|||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081289A4
|
bne _081289A4
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA897
|
ldr r1, =gText_PlaceItHere
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_81289D0
|
ldr r2, =sub_81289D0
|
||||||
@ -3848,7 +3848,7 @@ _081289A4:
|
|||||||
movs r0, 0x20
|
movs r0, 0x20
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA8A6
|
ldr r1, =gText_CantBePlacedHere
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8129020
|
ldr r2, =sub_8129020
|
||||||
@ -5810,7 +5810,7 @@ _08129968:
|
|||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _08129994
|
bne _08129994
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAAC5
|
ldr r1, =gText_DecorationReturnedToPC
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8129D64
|
ldr r2, =sub_8129D64
|
||||||
@ -6137,7 +6137,7 @@ sub_8129BF8: @ 8129BF8
|
|||||||
ldr r1, =SpriteCallbackDummy
|
ldr r1, =SpriteCallbackDummy
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAA62
|
ldr r1, =gText_StopPuttingAwayDecorations
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_812A1F0
|
ldr r2, =sub_812A1F0
|
||||||
@ -6162,7 +6162,7 @@ sub_8129C74: @ 8129C74
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _08129CA8
|
beq _08129CA8
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAAA3
|
ldr r1, =gText_ReturnDecorationToPC
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_812A1A0
|
ldr r2, =sub_812A1A0
|
||||||
@ -6216,7 +6216,7 @@ _08129CDE:
|
|||||||
ldr r1, =SpriteCallbackDummy
|
ldr r1, =SpriteCallbackDummy
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAA62
|
ldr r1, =gText_StopPuttingAwayDecorations
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_812A1F0
|
ldr r2, =sub_812A1F0
|
||||||
@ -6228,7 +6228,7 @@ _08129D14:
|
|||||||
.pool
|
.pool
|
||||||
_08129D3C:
|
_08129D3C:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAA81
|
ldr r1, =gText_NoDecorationHere
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8129D64
|
ldr r2, =sub_8129D64
|
||||||
@ -7087,7 +7087,7 @@ sub_812A3D4: @ 812A3D4
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAA14
|
ldr r1, =gText_DecorationWillBeDiscarded
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_812A458
|
ldr r2, =sub_812A458
|
||||||
@ -7098,7 +7098,7 @@ sub_812A3D4: @ 812A3D4
|
|||||||
.pool
|
.pool
|
||||||
_0812A430:
|
_0812A430:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA9E0
|
ldr r1, =gText_CantThrowAwayInUse
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8127A5C
|
ldr r2, =sub_8127A5C
|
||||||
@ -7151,7 +7151,7 @@ sub_812A478: @ 812A478
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl sub_8127814
|
bl sub_8127814
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAA3D
|
ldr r1, =gText_DecorationThrownAway
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_8127A5C
|
ldr r2, =sub_8127A5C
|
||||||
|
@ -262,7 +262,7 @@ pokedex_diploma_something: @ 8177AD4
|
|||||||
movs r0, 0x14
|
movs r0, 0x14
|
||||||
bl SetGpuReg
|
bl SetGpuReg
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EE855
|
ldr r1, =gText_DexNational
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _08177B0C
|
b _08177B0C
|
||||||
.pool
|
.pool
|
||||||
@ -271,11 +271,11 @@ _08177AFC:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl SetGpuReg
|
bl SetGpuReg
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EE84F
|
ldr r1, =gText_DexHoenn
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08177B0C:
|
_08177B0C:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE85E
|
ldr r1, =gText_PokedexDiploma
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
|
@ -3296,7 +3296,7 @@ sub_811BB40: @ 811BB40
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
cmp r0, 0x4
|
cmp r0, 0x4
|
||||||
bne _0811BB5C
|
bne _0811BB5C
|
||||||
ldr r0, =gUnknown_085EC3B4
|
ldr r0, =gText_StopGivingPkmnMail
|
||||||
b _0811BB7A
|
b _0811BB7A
|
||||||
.pool
|
.pool
|
||||||
_0811BB5C:
|
_0811BB5C:
|
||||||
@ -3306,13 +3306,13 @@ _0811BB5C:
|
|||||||
bgt _0811BB78
|
bgt _0811BB78
|
||||||
cmp r0, 0xF
|
cmp r0, 0xF
|
||||||
blt _0811BB78
|
blt _0811BB78
|
||||||
ldr r0, =gUnknown_085EC706
|
ldr r0, =gText_LikeToQuitQuiz
|
||||||
str r0, [r2]
|
str r0, [r2]
|
||||||
ldr r0, =gUnknown_085EC727
|
ldr r0, =gText_ChallengeQuestionMark
|
||||||
b _0811BB7E
|
b _0811BB7E
|
||||||
.pool
|
.pool
|
||||||
_0811BB78:
|
_0811BB78:
|
||||||
ldr r0, =gUnknown_085EC3A6
|
ldr r0, =gText_QuitEditing
|
||||||
_0811BB7A:
|
_0811BB7A:
|
||||||
str r0, [r2]
|
str r0, [r2]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -3325,9 +3325,9 @@ _0811BB7E:
|
|||||||
|
|
||||||
thumb_func_start sub_811BB88
|
thumb_func_start sub_811BB88
|
||||||
sub_811BB88: @ 811BB88
|
sub_811BB88: @ 811BB88
|
||||||
ldr r2, =gUnknown_085EC410
|
ldr r2, =gText_AllTextBeingEditedWill
|
||||||
str r2, [r0]
|
str r2, [r0]
|
||||||
ldr r0, =gUnknown_085EC42F
|
ldr r0, =gText_BeDeletedThatOkay
|
||||||
str r0, [r1]
|
str r0, [r1]
|
||||||
bx lr
|
bx lr
|
||||||
.pool
|
.pool
|
||||||
@ -3711,11 +3711,11 @@ sub_811BDF0: @ 811BDF0
|
|||||||
b _0811BE3C
|
b _0811BE3C
|
||||||
.pool
|
.pool
|
||||||
_0811BE34:
|
_0811BE34:
|
||||||
ldr r1, =gUnknown_085EC6B2
|
ldr r1, =gText_Lady
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
_0811BE3C:
|
_0811BE3C:
|
||||||
ldr r1, =gUnknown_085EC6A8
|
ldr r1, =gText_F700sQuiz
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
add sp, 0x20
|
add sp, 0x20
|
||||||
@ -6054,35 +6054,35 @@ _0811D16A:
|
|||||||
bl sub_811BB88
|
bl sub_811BB88
|
||||||
b _0811D1BC
|
b _0811D1BC
|
||||||
_0811D174:
|
_0811D174:
|
||||||
ldr r0, =gUnknown_085EC743
|
ldr r0, =gText_CreateAQuiz
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
b _0811D1BC
|
b _0811D1BC
|
||||||
.pool
|
.pool
|
||||||
_0811D180:
|
_0811D180:
|
||||||
ldr r0, =gUnknown_085EC752
|
ldr r0, =gText_SelectTheAnswer
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
b _0811D1BC
|
b _0811D1BC
|
||||||
.pool
|
.pool
|
||||||
_0811D18C:
|
_0811D18C:
|
||||||
ldr r0, =gUnknown_085EC4C9
|
ldr r0, =gText_OnlyOnePhrase
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
ldr r0, =gUnknown_085EC4E9
|
ldr r0, =gText_OriginalSongWillBeUsed
|
||||||
b _0811D1BA
|
b _0811D1BA
|
||||||
.pool
|
.pool
|
||||||
_0811D19C:
|
_0811D19C:
|
||||||
ldr r0, =gUnknown_085EC765
|
ldr r0, =gText_LyricsCantBeDeleted
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
b _0811D1BC
|
b _0811D1BC
|
||||||
.pool
|
.pool
|
||||||
_0811D1A8:
|
_0811D1A8:
|
||||||
ldr r0, =gUnknown_085EC520
|
ldr r0, =gText_CombineTwoWordsOrPhrases
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
b _0811D1BC
|
b _0811D1BC
|
||||||
.pool
|
.pool
|
||||||
_0811D1B4:
|
_0811D1B4:
|
||||||
ldr r0, =gUnknown_085EC672
|
ldr r0, =gText_YouCannotQuitHere
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
ldr r0, =gUnknown_085EC688
|
ldr r0, =gText_SectionMustBeCompleted
|
||||||
_0811D1BA:
|
_0811D1BA:
|
||||||
str r0, [sp, 0x10]
|
str r0, [sp, 0x10]
|
||||||
_0811D1BC:
|
_0811D1BC:
|
||||||
@ -9442,7 +9442,7 @@ CopyEasyChatWord: @ 811EBBC
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0811EBD8
|
beq _0811EBD8
|
||||||
ldr r1, =gUnknown_085EEA42
|
ldr r1, =gText_ThreeQuestionMarks
|
||||||
b _0811EBEA
|
b _0811EBEA
|
||||||
.pool
|
.pool
|
||||||
_0811EBD8:
|
_0811EBD8:
|
||||||
@ -9693,7 +9693,7 @@ _0811ED94:
|
|||||||
b _0811EDB2
|
b _0811EDB2
|
||||||
.pool
|
.pool
|
||||||
_0811EDB0:
|
_0811EDB0:
|
||||||
ldr r0, =gUnknown_085EEA42
|
ldr r0, =gText_ThreeQuestionMarks
|
||||||
_0811EDB2:
|
_0811EDB2:
|
||||||
bl StringLength
|
bl StringLength
|
||||||
lsls r0, 16
|
lsls r0, 16
|
||||||
|
@ -1333,7 +1333,7 @@ _0813E6D4:
|
|||||||
bl _0813F1A4
|
bl _0813F1A4
|
||||||
_0813E6E4:
|
_0813E6E4:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085CC990
|
ldr r1, =gText_PkmnIsEvolving
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -1621,7 +1621,7 @@ _0813E990:
|
|||||||
bl _0813F1A4
|
bl _0813F1A4
|
||||||
_0813E99E:
|
_0813E99E:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085CC9A6
|
ldr r1, =gText_CongratsPkmnEvolved
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -1857,13 +1857,13 @@ _0813EBB8:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0813EBE4
|
beq _0813EBE4
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085CC9EE
|
ldr r1, =gText_EllipsisQuestionMark
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _0813EBEC
|
b _0813EBEC
|
||||||
.pool
|
.pool
|
||||||
_0813EBE4:
|
_0813EBE4:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085CC9D3
|
ldr r1, =gText_PkmnStoppedEvolving
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_0813EBEC:
|
_0813EBEC:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
@ -1895,7 +1895,7 @@ _0813EC2A:
|
|||||||
bl sub_804F574
|
bl sub_804F574
|
||||||
ldr r0, =0x0000016f
|
ldr r0, =0x0000016f
|
||||||
bl PlayFanfare
|
bl PlayFanfare
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0xC]
|
ldr r0, [r0, 0xC]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -1992,7 +1992,7 @@ _0813ED0A:
|
|||||||
b _0813F1A4
|
b _0813F1A4
|
||||||
_0813ED16:
|
_0813ED16:
|
||||||
bl sub_804F574
|
bl sub_804F574
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x10]
|
ldr r0, [r0, 0x10]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -2021,7 +2021,7 @@ _0813ED56:
|
|||||||
beq _0813ED62
|
beq _0813ED62
|
||||||
b _0813F1A4
|
b _0813F1A4
|
||||||
_0813ED62:
|
_0813ED62:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x14]
|
ldr r0, [r0, 0x14]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -2046,7 +2046,7 @@ _0813ED90:
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0813EDCE
|
bne _0813EDCE
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x18]
|
ldr r0, [r0, 0x18]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -2085,7 +2085,7 @@ _0813EDEA:
|
|||||||
movs r2, 0x1D
|
movs r2, 0x1D
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl sub_8056A3C
|
bl sub_8056A3C
|
||||||
ldr r0, =gUnknown_085CCABB
|
ldr r0, =gText_BattleYesNoChoice
|
||||||
movs r1, 0xC
|
movs r1, 0xC
|
||||||
bl battle_show_message_maybe
|
bl battle_show_message_maybe
|
||||||
ldr r0, =gTasks
|
ldr r0, =gTasks
|
||||||
@ -2285,7 +2285,7 @@ _0813EFC8:
|
|||||||
bl IsHMMove2
|
bl IsHMMove2
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0813F014
|
beq _0813F014
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r3, =0x000004cc
|
ldr r3, =0x000004cc
|
||||||
adds r0, r3
|
adds r0, r3
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
@ -2333,7 +2333,7 @@ _0813F014:
|
|||||||
b _0813F1A2
|
b _0813F1A2
|
||||||
.pool
|
.pool
|
||||||
_0813F05C:
|
_0813F05C:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
movs r1, 0xCF
|
movs r1, 0xCF
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
@ -2365,7 +2365,7 @@ _0813F09E:
|
|||||||
beq _0813F0AA
|
beq _0813F0AA
|
||||||
b _0813F1A4
|
b _0813F1A4
|
||||||
_0813F0AA:
|
_0813F0AA:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x1C]
|
ldr r0, [r0, 0x1C]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -2390,7 +2390,7 @@ _0813F0D8:
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0813F1A4
|
bne _0813F1A4
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
movs r1, 0xD0
|
movs r1, 0xD0
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
@ -2409,7 +2409,7 @@ _0813F0D8:
|
|||||||
b _0813F1A4
|
b _0813F1A4
|
||||||
.pool
|
.pool
|
||||||
_0813F120:
|
_0813F120:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x20]
|
ldr r0, [r0, 0x20]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -2429,7 +2429,7 @@ _0813F120:
|
|||||||
b _0813F1A4
|
b _0813F1A4
|
||||||
.pool
|
.pool
|
||||||
_0813F154:
|
_0813F154:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x24]
|
ldr r0, [r0, 0x24]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r0, =gDisplayedStringBattle
|
ldr r0, =gDisplayedStringBattle
|
||||||
@ -2533,7 +2533,7 @@ _0813F204:
|
|||||||
.4byte _0813F7E4
|
.4byte _0813F7E4
|
||||||
_0813F258:
|
_0813F258:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085CC990
|
ldr r1, =gText_PkmnIsEvolving
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -2804,7 +2804,7 @@ _0813F4E4:
|
|||||||
bl _0813FCC4
|
bl _0813FCC4
|
||||||
_0813F4F2:
|
_0813F4F2:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085CC9A6
|
ldr r1, =gText_CongratsPkmnEvolved
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -2913,7 +2913,7 @@ _0813F5F0:
|
|||||||
_0813F5FC:
|
_0813F5FC:
|
||||||
ldr r0, =0x00000179
|
ldr r0, =0x00000179
|
||||||
bl PlayBGM
|
bl PlayBGM
|
||||||
ldr r1, =gUnknown_085EF6D2
|
ldr r1, =gText_CommunicationStandby5
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
bl sub_807F1A8
|
bl sub_807F1A8
|
||||||
@ -3029,7 +3029,7 @@ _0813F704:
|
|||||||
b _0813FCC4
|
b _0813FCC4
|
||||||
_0813F714:
|
_0813F714:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085CC9EE
|
ldr r1, =gText_EllipsisQuestionMark
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -3062,7 +3062,7 @@ _0813F762:
|
|||||||
bl sub_804F574
|
bl sub_804F574
|
||||||
ldr r0, =0x0000016f
|
ldr r0, =0x0000016f
|
||||||
bl PlayFanfare
|
bl PlayFanfare
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0xC]
|
ldr r0, [r0, 0xC]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r1, =gDisplayedStringBattle
|
ldr r1, =gDisplayedStringBattle
|
||||||
@ -3161,7 +3161,7 @@ _0813F846:
|
|||||||
b _0813FCC4
|
b _0813FCC4
|
||||||
_0813F852:
|
_0813F852:
|
||||||
bl sub_804F574
|
bl sub_804F574
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x10]
|
ldr r0, [r0, 0x10]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r1, =gDisplayedStringBattle
|
ldr r1, =gDisplayedStringBattle
|
||||||
@ -3191,7 +3191,7 @@ _0813F892:
|
|||||||
beq _0813F89E
|
beq _0813F89E
|
||||||
b _0813FCC4
|
b _0813FCC4
|
||||||
_0813F89E:
|
_0813F89E:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x14]
|
ldr r0, [r0, 0x14]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r1, =gDisplayedStringBattle
|
ldr r1, =gDisplayedStringBattle
|
||||||
@ -3217,7 +3217,7 @@ _0813F8CC:
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0813F90C
|
bne _0813F90C
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x18]
|
ldr r0, [r0, 0x18]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r1, =gDisplayedStringBattle
|
ldr r1, =gDisplayedStringBattle
|
||||||
@ -3294,7 +3294,7 @@ _0813F986:
|
|||||||
_0813F98C:
|
_0813F98C:
|
||||||
ldr r0, =gBattleCommunication
|
ldr r0, =gBattleCommunication
|
||||||
strb r6, [r0, 0x1]
|
strb r6, [r0, 0x1]
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
movs r1, 0x92
|
movs r1, 0x92
|
||||||
lsls r1, 3
|
lsls r1, 3
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
@ -3331,7 +3331,7 @@ _0813F9E4:
|
|||||||
ldr r1, =gBattleCommunication
|
ldr r1, =gBattleCommunication
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1, 0x1]
|
strb r0, [r1, 0x1]
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
movs r1, 0x92
|
movs r1, 0x92
|
||||||
lsls r1, 3
|
lsls r1, 3
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
@ -3437,7 +3437,7 @@ _0813FAEC:
|
|||||||
bl IsHMMove2
|
bl IsHMMove2
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0813FB3C
|
beq _0813FB3C
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r1, =0x000004cc
|
ldr r1, =0x000004cc
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
@ -3476,7 +3476,7 @@ _0813FB3C:
|
|||||||
mov r0, r9
|
mov r0, r9
|
||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
bl SetMonMoveSlot
|
bl SetMonMoveSlot
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
movs r1, 0xCF
|
movs r1, 0xCF
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
@ -3509,7 +3509,7 @@ _0813FBB2:
|
|||||||
beq _0813FBBE
|
beq _0813FBBE
|
||||||
b _0813FCC4
|
b _0813FCC4
|
||||||
_0813FBBE:
|
_0813FBBE:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x1C]
|
ldr r0, [r0, 0x1C]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r1, =gDisplayedStringBattle
|
ldr r1, =gDisplayedStringBattle
|
||||||
@ -3535,7 +3535,7 @@ _0813FBEC:
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0813FCC4
|
bne _0813FCC4
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
movs r1, 0xD0
|
movs r1, 0xD0
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
@ -3555,7 +3555,7 @@ _0813FBEC:
|
|||||||
b _0813FCC4
|
b _0813FCC4
|
||||||
.pool
|
.pool
|
||||||
_0813FC38:
|
_0813FC38:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x20]
|
ldr r0, [r0, 0x20]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r1, =gDisplayedStringBattle
|
ldr r1, =gDisplayedStringBattle
|
||||||
@ -3576,7 +3576,7 @@ _0813FC38:
|
|||||||
b _0813FCC4
|
b _0813FCC4
|
||||||
.pool
|
.pool
|
||||||
_0813FC70:
|
_0813FC70:
|
||||||
ldr r0, =gUnknown_085CC270
|
ldr r0, =gBattleStringsTable
|
||||||
ldr r0, [r0, 0x24]
|
ldr r0, [r0, 0x24]
|
||||||
bl StrCpyDecodeToDisplayedStringBattle
|
bl StrCpyDecodeToDisplayedStringBattle
|
||||||
ldr r1, =gDisplayedStringBattle
|
ldr r1, =gDisplayedStringBattle
|
||||||
|
@ -4396,7 +4396,7 @@ fish6: @ 808CB6C
|
|||||||
sub sp, 0xC
|
sub sp, 0xC
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
bl sub_808CF78
|
bl sub_808CF78
|
||||||
ldr r2, =gUnknown_085EE8F7
|
ldr r2, =gText_OhABite
|
||||||
movs r0, 0x11
|
movs r0, 0x11
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
@ -4526,7 +4526,7 @@ fish9: @ 808CC64
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EE903
|
ldr r2, =gText_PokemonOnHook
|
||||||
movs r5, 0
|
movs r5, 0
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -4683,7 +4683,7 @@ fishB: @ 808CD94
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EE91E
|
ldr r2, =gText_NotEvenANibble
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -4731,7 +4731,7 @@ fishC: @ 808CE04
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EE933
|
ldr r2, =gText_ItGotAway
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
|
@ -216,7 +216,7 @@ _080F96F0:
|
|||||||
_080F96FC:
|
_080F96FC:
|
||||||
ldrb r0, [r4, 0x2]
|
ldrb r0, [r4, 0x2]
|
||||||
bl sub_80F95C0
|
bl sub_80F95C0
|
||||||
ldr r0, =gUnknown_085ECF5D
|
ldr r0, =gText_PkmnFainted3
|
||||||
bl box_related_two__2
|
bl box_related_two__2
|
||||||
ldrh r0, [r4]
|
ldrh r0, [r4]
|
||||||
adds r0, 0x1
|
adds r0, 0x1
|
||||||
|
@ -157,7 +157,7 @@ _08170300:
|
|||||||
movs r2, 0x27
|
movs r2, 0x27
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r5, =gUnknown_085EE8F1
|
ldr r5, =gText_Hoenn
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x38
|
movs r2, 0x38
|
||||||
|
@ -2061,7 +2061,7 @@ _080FACC2:
|
|||||||
movs r3, 0x3
|
movs r3, 0x3
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085EA88B
|
ldr r1, =gText_Gold
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gScriptResult
|
ldr r1, =gScriptResult
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -2085,7 +2085,7 @@ _080FAD14:
|
|||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085EA890
|
ldr r1, =gText_Silver
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gScriptResult
|
ldr r1, =gScriptResult
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
|
@ -221,7 +221,7 @@ sub_81616C0: @ 81616C0
|
|||||||
ldr r1, =gStringVar1
|
ldr r1, =gStringVar1
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9C17
|
ldr r1, =gText_PkmnHPRestoredByVar2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -318,7 +318,7 @@ sub_81617B8: @ 81617B8
|
|||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r0, =gUnknown_085E9712
|
ldr r0, =gText_CantBeUsedOnPkmn
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
|
@ -437,7 +437,7 @@ _081AAF0C:
|
|||||||
b _081AB012
|
b _081AB012
|
||||||
.pool
|
.pool
|
||||||
_081AAF1C:
|
_081AAF1C:
|
||||||
ldr r1, =gPocketNames
|
ldr r1, =gPocketNamesStringsTable
|
||||||
ldr r4, =gUnknown_0203CE58
|
ldr r4, =gUnknown_0203CE58
|
||||||
ldrb r0, [r4, 0x5]
|
ldrb r0, [r4, 0x5]
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
@ -972,7 +972,7 @@ _081AB3C0:
|
|||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085E921A
|
ldr r1, =gText_ClearTo11Var1Clear5Var2
|
||||||
b _081AB438
|
b _081AB438
|
||||||
.pool
|
.pool
|
||||||
_081AB408:
|
_081AB408:
|
||||||
@ -995,7 +995,7 @@ _081AB420:
|
|||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
_081AB436:
|
_081AB436:
|
||||||
ldr r1, =gUnknown_085E9210
|
ldr r1, =gText_UnkF908Var1Clear7Var2
|
||||||
_081AB438:
|
_081AB438:
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
@ -1297,7 +1297,7 @@ bag_menu_print_description_box_text: @ 81AB6B0
|
|||||||
.pool
|
.pool
|
||||||
_081AB6E0:
|
_081AB6E0:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r2, =gUnknown_085E9180
|
ldr r2, =gReturnToXStringsTable
|
||||||
ldr r1, =gUnknown_0203CE58
|
ldr r1, =gUnknown_0203CE58
|
||||||
ldrb r1, [r1, 0x4]
|
ldrb r1, [r1, 0x4]
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
@ -2423,7 +2423,7 @@ _081AC026:
|
|||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
cmp r1, 0x1
|
cmp r1, 0x1
|
||||||
bne _081AC07C
|
bne _081AC07C
|
||||||
ldr r2, =gPocketNames
|
ldr r2, =gPocketNamesStringsTable
|
||||||
ldrb r0, [r4, 0x5]
|
ldrb r0, [r4, 0x5]
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
adds r0, r2
|
adds r0, r2
|
||||||
@ -2439,7 +2439,7 @@ _081AC026:
|
|||||||
b _081AC09A
|
b _081AC09A
|
||||||
.pool
|
.pool
|
||||||
_081AC07C:
|
_081AC07C:
|
||||||
ldr r2, =gPocketNames
|
ldr r2, =gPocketNamesStringsTable
|
||||||
add r0, sp, 0x8
|
add r0, sp, 0x8
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
@ -4808,7 +4808,7 @@ display_sell_item_ask_str: @ 81AD5DC
|
|||||||
ldr r1, =gStringVar2
|
ldr r1, =gStringVar2
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E960F
|
ldr r1, =gText_CantBuyKeyItem
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r3, =bag_menu_inits_lists_menu
|
ldr r3, =bag_menu_inits_lists_menu
|
||||||
@ -4834,7 +4834,7 @@ _081AD64C:
|
|||||||
ldr r1, =gStringVar2
|
ldr r1, =gStringVar2
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E962F
|
ldr r1, =gText_HowManyToSell
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r3, =sub_81AD730
|
ldr r3, =sub_81AD730
|
||||||
@ -4874,7 +4874,7 @@ sub_81AD680: @ 81AD680
|
|||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9654
|
ldr r1, =gText_ICanPayVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r3, =sub_81AD6E4
|
ldr r3, =sub_81AD6E4
|
||||||
@ -5079,7 +5079,7 @@ sub_81AD84C: @ 81AD84C
|
|||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9677
|
ldr r1, =gText_TurnedOverVar1ForVar2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r3, =sub_81AD8C8
|
ldr r3, =sub_81AD8C8
|
||||||
|
@ -2510,7 +2510,7 @@ ItemUseInBattle_StatIncrease: @ 80FE4B8
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _080FE518
|
bne _080FE518
|
||||||
ldr r2, =gUnknown_085E96F6
|
ldr r2, =gText_WontHaveEffect
|
||||||
ldr r3, =bag_menu_inits_lists_menu
|
ldr r3, =bag_menu_inits_lists_menu
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2518,7 +2518,7 @@ ItemUseInBattle_StatIncrease: @ 80FE4B8
|
|||||||
b _080FE53C
|
b _080FE53C
|
||||||
.pool
|
.pool
|
||||||
_080FE518:
|
_080FE518:
|
||||||
ldr r1, =gUnknown_085E96F6
|
ldr r1, =gText_WontHaveEffect
|
||||||
ldr r2, =sub_81C6714
|
ldr r2, =sub_81C6714
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl DisplayItemMessageInBattlePyramid
|
bl DisplayItemMessageInBattlePyramid
|
||||||
|
@ -377,7 +377,7 @@ _081609A8:
|
|||||||
ldr r1, =0xffff0000
|
ldr r1, =0xffff0000
|
||||||
cmp r0, r1
|
cmp r0, r1
|
||||||
beq _08160A04
|
beq _08160A04
|
||||||
ldr r0, =gUnknown_085EF8E4
|
ldr r0, =gText_PkmnLearnedMove4
|
||||||
bl sub_816084C
|
bl sub_816084C
|
||||||
ldr r1, =gSpecialVar_0x8004
|
ldr r1, =gSpecialVar_0x8004
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -471,7 +471,7 @@ _08160AAA:
|
|||||||
b _08160E88
|
b _08160E88
|
||||||
.pool
|
.pool
|
||||||
_08160AB8:
|
_08160AB8:
|
||||||
ldr r0, =gUnknown_085EF8F3
|
ldr r0, =gText_PkmnTryingToLearnMove
|
||||||
bl sub_816084C
|
bl sub_816084C
|
||||||
ldr r0, =gUnknown_0203BC34
|
ldr r0, =gUnknown_0203BC34
|
||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
@ -498,7 +498,7 @@ _08160AEC:
|
|||||||
asrs r1, r0, 24
|
asrs r1, r0, 24
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
bne _08160B10
|
bne _08160B10
|
||||||
ldr r0, =gUnknown_085EFA10
|
ldr r0, =gText_WhichMoveToForget2
|
||||||
bl sub_816084C
|
bl sub_816084C
|
||||||
ldr r0, =gUnknown_0203BC34
|
ldr r0, =gUnknown_0203BC34
|
||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
@ -528,7 +528,7 @@ _08160B2C:
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =gUnknown_085EF960
|
ldr r0, =gText_StopTryingToTeachMove
|
||||||
bl sub_816084C
|
bl sub_816084C
|
||||||
ldr r0, =gUnknown_0203BC34
|
ldr r0, =gUnknown_0203BC34
|
||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
@ -819,7 +819,7 @@ _08160D6C:
|
|||||||
adds r1, r6
|
adds r1, r6
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =gUnknown_085EF979
|
ldr r0, =gText_12AndPoof
|
||||||
bl sub_816084C
|
bl sub_816084C
|
||||||
ldr r1, [r7]
|
ldr r1, [r7]
|
||||||
movs r0, 0x1E
|
movs r0, 0x1E
|
||||||
@ -834,7 +834,7 @@ _08160E0C:
|
|||||||
lsls r0, 16
|
lsls r0, 16
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08160E8A
|
bne _08160E8A
|
||||||
ldr r0, =gUnknown_085EF9A6
|
ldr r0, =gText_PkmnForgotMoveAndLearnedNew
|
||||||
bl sub_816084C
|
bl sub_816084C
|
||||||
ldr r0, =gUnknown_0203BC34
|
ldr r0, =gUnknown_0203BC34
|
||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
@ -946,7 +946,7 @@ _08160EF0:
|
|||||||
cmp r5, 0
|
cmp r5, 0
|
||||||
bne _08160F38
|
bne _08160F38
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF8C2
|
ldr r1, =gText_TeachWhichMoveToPkmn
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
@ -1042,7 +1042,7 @@ _08160FE4:
|
|||||||
movs r0, 0xC
|
movs r0, 0xC
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF9E6
|
ldr r1, =gText_GiveUpTeachingNewMove
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -1063,7 +1063,7 @@ _08161010:
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF8DA
|
ldr r1, =gText_TeachX
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -1100,7 +1100,7 @@ sub_8161074: @ 8161074
|
|||||||
cmp r5, 0
|
cmp r5, 0
|
||||||
bne _081610A6
|
bne _081610A6
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF8C2
|
ldr r1, =gText_TeachWhichMoveToPkmn
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
|
1931
asm/lilycove_lady.s
1931
asm/lilycove_lady.s
File diff suppressed because it is too large
Load Diff
250
asm/link.s
250
asm/link.s
@ -3482,7 +3482,7 @@ sub_800B080: @ 800B080
|
|||||||
ldr r4, =gUnknown_082ED224
|
ldr r4, =gUnknown_082ED224
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EE4F7
|
ldr r0, =gText_CommErrorEllipsis
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x3
|
movs r1, 0x3
|
||||||
@ -3491,7 +3491,7 @@ sub_800B080: @ 800B080
|
|||||||
bl box_print
|
bl box_print
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EE50C
|
ldr r0, =gText_MoveCloserToLinkPartner
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
movs r1, 0x3
|
movs r1, 0x3
|
||||||
@ -3534,7 +3534,7 @@ sub_800B138: @ 800B138
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EE4A4
|
ldr r0, =gText_CommErrorCheckConnections
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x3
|
movs r1, 0x3
|
||||||
@ -3623,7 +3623,7 @@ _0800B214:
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EE572
|
ldr r0, =gText_ABtnTitleScreen
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x3
|
movs r1, 0x3
|
||||||
@ -3639,7 +3639,7 @@ _0800B244:
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EE553
|
ldr r0, =gText_ABtnRegistrationCounter
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x3
|
movs r1, 0x3
|
||||||
@ -28887,16 +28887,16 @@ sub_80186EC: @ 80186EC
|
|||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
cmp r4, 0
|
cmp r4, 0
|
||||||
bne _0801871C
|
bne _0801871C
|
||||||
ldr r0, =gUnknown_085EF654
|
ldr r0, =gText_MysteryGift
|
||||||
ldr r7, =gUnknown_085EF678
|
ldr r7, =gText_PickOKCancel
|
||||||
cmp r5, 0
|
cmp r5, 0
|
||||||
bne _08018720
|
bne _08018720
|
||||||
ldr r7, =gUnknown_085EF664
|
ldr r7, =gText_PickOKExit
|
||||||
b _08018720
|
b _08018720
|
||||||
.pool
|
.pool
|
||||||
_0801871C:
|
_0801871C:
|
||||||
ldr r0, =gUnknown_085EDFBF
|
ldr r0, =gJPText_MysteryGift
|
||||||
ldr r7, =gUnknown_085EDFC9
|
ldr r7, =gJPText_DecideStop
|
||||||
_08018720:
|
_08018720:
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
@ -29571,13 +29571,13 @@ _08018C6C:
|
|||||||
cmp r2, 0
|
cmp r2, 0
|
||||||
bne _08018C84
|
bne _08018C84
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF2FC
|
ldr r1, =gText_WhatToDoWithCards
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _08018C8C
|
b _08018C8C
|
||||||
.pool
|
.pool
|
||||||
_08018C84:
|
_08018C84:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF330
|
ldr r1, =gText_WhatToDoWithNews
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_08018C8C:
|
_08018C8C:
|
||||||
ldr r0, =gUnknown_082F05D8
|
ldr r0, =gUnknown_082F05D8
|
||||||
@ -29801,11 +29801,11 @@ sub_8018E50: @ 8018E50
|
|||||||
push {lr}
|
push {lr}
|
||||||
cmp r2, 0
|
cmp r2, 0
|
||||||
beq _08018E60
|
beq _08018E60
|
||||||
ldr r3, =gUnknown_085EF55C
|
ldr r3, =gText_OkayToDiscardNews
|
||||||
b _08018E62
|
b _08018E62
|
||||||
.pool
|
.pool
|
||||||
_08018E60:
|
_08018E60:
|
||||||
ldr r3, =gUnknown_085EF520
|
ldr r3, =gText_IfThrowAwayCardEventWontHappen
|
||||||
_08018E62:
|
_08018E62:
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
bl sub_8018B08
|
bl sub_8018B08
|
||||||
@ -29821,11 +29821,11 @@ mevent_message_was_thrown_away: @ 8018E74
|
|||||||
push {lr}
|
push {lr}
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _08018E84
|
beq _08018E84
|
||||||
ldr r1, =gUnknown_085EF630
|
ldr r1, =gText_WonderNewsThrownAway
|
||||||
b _08018E86
|
b _08018E86
|
||||||
.pool
|
.pool
|
||||||
_08018E84:
|
_08018E84:
|
||||||
ldr r1, =gUnknown_085EF60C
|
ldr r1, =gText_WonderCardThrownAway
|
||||||
_08018E86:
|
_08018E86:
|
||||||
bl mevent_0814257C
|
bl mevent_0814257C
|
||||||
pop {r1}
|
pop {r1}
|
||||||
@ -29854,7 +29854,7 @@ _08018EAC:
|
|||||||
.4byte _08018EE0
|
.4byte _08018EE0
|
||||||
.4byte _08018EF8
|
.4byte _08018EF8
|
||||||
_08018EC0:
|
_08018EC0:
|
||||||
ldr r0, =gUnknown_085EF5BC
|
ldr r0, =gText_DataWillBeSaved
|
||||||
bl sub_8018884
|
bl sub_8018884
|
||||||
b _08018EEC
|
b _08018EEC
|
||||||
.pool
|
.pool
|
||||||
@ -29863,7 +29863,7 @@ _08018ECC:
|
|||||||
bl TrySavingData
|
bl TrySavingData
|
||||||
b _08018EEC
|
b _08018EEC
|
||||||
_08018ED4:
|
_08018ED4:
|
||||||
ldr r0, =gUnknown_085EF5E0
|
ldr r0, =gText_SaveCompletedPressA
|
||||||
bl sub_8018884
|
bl sub_8018884
|
||||||
b _08018EEC
|
b _08018EEC
|
||||||
.pool
|
.pool
|
||||||
@ -29934,88 +29934,88 @@ _08018F30:
|
|||||||
_08018F6C:
|
_08018F6C:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF2E4
|
ldr r2, =gText_NothingSentOver
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018F78:
|
_08018F78:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF244
|
ldr r2, =gText_RecordUploadedViaWireless
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018F84:
|
_08018F84:
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF0C8
|
ldr r2, =gText_WonderCardReceivedFrom
|
||||||
cmp r5, 0
|
cmp r5, 0
|
||||||
bne _08019034
|
bne _08019034
|
||||||
ldr r2, =gUnknown_085EF124
|
ldr r2, =gText_WonderCardReceived
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018F9C:
|
_08018F9C:
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF0F4
|
ldr r2, =gText_WonderNewsReceivedFrom
|
||||||
cmp r5, 0
|
cmp r5, 0
|
||||||
bne _08019034
|
bne _08019034
|
||||||
ldr r2, =gUnknown_085EF14C
|
ldr r2, =gText_WonderNewsReceived
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018FB4:
|
_08018FB4:
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF178
|
ldr r2, =gText_NewStampReceived
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018FC0:
|
_08018FC0:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF1B4
|
ldr r2, =gText_AlreadyHadCard
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018FCC:
|
_08018FCC:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF200
|
ldr r2, =gText_AlreadyHadStamp
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018FD8:
|
_08018FD8:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF1D8
|
ldr r2, =gText_AlreadyHadNews
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018FE4:
|
_08018FE4:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF21C
|
ldr r2, =gText_NoMoreRoomForStamps
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018FF0:
|
_08018FF0:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF02C
|
ldr r2, =gText_CommunicationCanceled
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08018FFC:
|
_08018FFC:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF2B4
|
ldr r2, =gText_CantAcceptNewsFromTrainer
|
||||||
cmp r6, 0
|
cmp r6, 0
|
||||||
bne _08019034
|
bne _08019034
|
||||||
ldr r2, =gUnknown_085EF280
|
ldr r2, =gText_CantAcceptCardFromTrainer
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08019014:
|
_08019014:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF014
|
ldr r2, =gText_CommunicationError
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_08019020:
|
_08019020:
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [r4]
|
str r0, [r4]
|
||||||
ldr r2, =gUnknown_085EF198
|
ldr r2, =gText_NewTrainerReceived
|
||||||
b _08019034
|
b _08019034
|
||||||
.pool
|
.pool
|
||||||
_0801902C:
|
_0801902C:
|
||||||
@ -30095,7 +30095,7 @@ _0801909C:
|
|||||||
mevent_message_stamp_card_etc_send_status: @ 80190A4
|
mevent_message_stamp_card_etc_send_status: @ 80190A4
|
||||||
push {r4,lr}
|
push {r4,lr}
|
||||||
adds r3, r0, 0
|
adds r3, r0, 0
|
||||||
ldr r1, =gUnknown_085EF014
|
ldr r1, =gText_CommunicationError
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [r3]
|
str r0, [r3]
|
||||||
adds r4, r1, 0
|
adds r4, r1, 0
|
||||||
@ -30125,57 +30125,57 @@ _080190C8:
|
|||||||
.4byte _0801915C
|
.4byte _0801915C
|
||||||
.4byte _08019164
|
.4byte _08019164
|
||||||
_08019104:
|
_08019104:
|
||||||
ldr r1, =gUnknown_085EF2E4
|
ldr r1, =gText_NothingSentOver
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_0801910C:
|
_0801910C:
|
||||||
ldr r1, =gUnknown_085EF244
|
ldr r1, =gText_RecordUploadedViaWireless
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019114:
|
_08019114:
|
||||||
ldr r1, =gUnknown_085EF39C
|
ldr r1, =gText_WonderCardSentTo
|
||||||
b _0801911E
|
b _0801911E
|
||||||
.pool
|
.pool
|
||||||
_0801911C:
|
_0801911C:
|
||||||
ldr r1, =gUnknown_085EF3C4
|
ldr r1, =gText_WonderNewsSentTo
|
||||||
_0801911E:
|
_0801911E:
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [r3]
|
str r0, [r3]
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019128:
|
_08019128:
|
||||||
ldr r1, =gUnknown_085EF3F0
|
ldr r1, =gText_StampSentTo
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019130:
|
_08019130:
|
||||||
ldr r1, =gUnknown_085EF42C
|
ldr r1, =gText_OtherTrainerHasCard
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019138:
|
_08019138:
|
||||||
ldr r1, =gUnknown_085EF494
|
ldr r1, =gText_OtherTrainerHasStamp
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019140:
|
_08019140:
|
||||||
ldr r1, =gUnknown_085EF460
|
ldr r1, =gText_OtherTrainerHasNews
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019148:
|
_08019148:
|
||||||
ldr r1, =gUnknown_085EF21C
|
ldr r1, =gText_NoMoreRoomForStamps
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019150:
|
_08019150:
|
||||||
ldr r1, =gUnknown_085EF4C4
|
ldr r1, =gText_OtherTrainerCanceled
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019158:
|
_08019158:
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
b _08019166
|
b _08019166
|
||||||
_0801915C:
|
_0801915C:
|
||||||
ldr r1, =gUnknown_085EF410
|
ldr r1, =gText_GiftSentTo
|
||||||
b _08019166
|
b _08019166
|
||||||
.pool
|
.pool
|
||||||
_08019164:
|
_08019164:
|
||||||
ldr r1, =gUnknown_085EF4F0
|
ldr r1, =gText_CantSendGiftToTrainer
|
||||||
_08019166:
|
_08019166:
|
||||||
adds r0, r1, 0
|
adds r0, r1, 0
|
||||||
pop {r4}
|
pop {r4}
|
||||||
@ -30357,13 +30357,13 @@ _08019300:
|
|||||||
bne _08019314
|
bne _08019314
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
adds r0, 0x9
|
adds r0, 0x9
|
||||||
ldr r1, =gUnknown_085EEEF0
|
ldr r1, =gText_DontHaveCardNewOneInput
|
||||||
b _0801931A
|
b _0801931A
|
||||||
.pool
|
.pool
|
||||||
_08019314:
|
_08019314:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
adds r0, 0x9
|
adds r0, 0x9
|
||||||
ldr r1, =gUnknown_085EEF2C
|
ldr r1, =gText_DontHaveNewsNewOneInput
|
||||||
_0801931A:
|
_0801931A:
|
||||||
bl mevent_0814257C
|
bl mevent_0814257C
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
@ -30381,12 +30381,12 @@ _08019338:
|
|||||||
ldrb r0, [r5, 0xC]
|
ldrb r0, [r5, 0xC]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0801934C
|
bne _0801934C
|
||||||
ldr r0, =gUnknown_085EEF68
|
ldr r0, =gText_WhereShouldCardBeAccessed
|
||||||
bl sub_8018884
|
bl sub_8018884
|
||||||
b _08019352
|
b _08019352
|
||||||
.pool
|
.pool
|
||||||
_0801934C:
|
_0801934C:
|
||||||
ldr r0, =gUnknown_085EEF94
|
ldr r0, =gText_WhereShouldNewsBeAccessed
|
||||||
bl sub_8018884
|
bl sub_8018884
|
||||||
_08019352:
|
_08019352:
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
@ -30502,7 +30502,7 @@ _08019436:
|
|||||||
b _080197C0
|
b _080197C0
|
||||||
.pool
|
.pool
|
||||||
_08019444:
|
_08019444:
|
||||||
ldr r0, =gUnknown_085EEFE8
|
ldr r0, =gText_Communicating
|
||||||
bl sub_8018884
|
bl sub_8018884
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
strb r0, [r5, 0x8]
|
strb r0, [r5, 0x8]
|
||||||
@ -30593,7 +30593,7 @@ _08019506:
|
|||||||
_08019508:
|
_08019508:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
adds r0, 0x9
|
adds r0, 0x9
|
||||||
ldr r3, =gUnknown_085EF050
|
ldr r3, =gText_ThrowAwayWonderCard
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8018B08
|
bl sub_8018B08
|
||||||
@ -30616,7 +30616,7 @@ _08019534:
|
|||||||
_08019538:
|
_08019538:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
adds r0, 0x9
|
adds r0, 0x9
|
||||||
ldr r3, =gUnknown_085EF084
|
ldr r3, =gText_HaventReceivedCardsGift
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8018B08
|
bl sub_8018B08
|
||||||
@ -30660,7 +30660,7 @@ _0801957E:
|
|||||||
_0801958C:
|
_0801958C:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
adds r0, 0x9
|
adds r0, 0x9
|
||||||
ldr r1, =gUnknown_085EEFF8
|
ldr r1, =gText_CommunicationCompleted
|
||||||
bl sub_8018A1C
|
bl sub_8018A1C
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0801959C
|
bne _0801959C
|
||||||
@ -30876,7 +30876,7 @@ _0801971A:
|
|||||||
_0801972E:
|
_0801972E:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
adds r0, 0x9
|
adds r0, 0x9
|
||||||
ldr r3, =gUnknown_085EF584
|
ldr r3, =gText_HaventReceivedGiftOkayToDiscard
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
bl sub_8018B08
|
bl sub_8018B08
|
||||||
@ -31016,13 +31016,13 @@ _0801982C:
|
|||||||
ldrb r0, [r5, 0xC]
|
ldrb r0, [r5, 0xC]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0801985C
|
bne _0801985C
|
||||||
ldr r0, =gUnknown_085EF360
|
ldr r0, =gText_SendingWonderCard
|
||||||
bl sub_8018884
|
bl sub_8018884
|
||||||
bl mevent_srv_new_wcard
|
bl mevent_srv_new_wcard
|
||||||
b _08019866
|
b _08019866
|
||||||
.pool
|
.pool
|
||||||
_0801985C:
|
_0801985C:
|
||||||
ldr r0, =gUnknown_085EF37C
|
ldr r0, =gText_SendingWonderNews
|
||||||
bl sub_8018884
|
bl sub_8018884
|
||||||
bl mevent_srv_init_wnews
|
bl mevent_srv_init_wnews
|
||||||
_08019866:
|
_08019866:
|
||||||
@ -31084,7 +31084,7 @@ _080198DC:
|
|||||||
_080198EC:
|
_080198EC:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
adds r0, 0x9
|
adds r0, 0x9
|
||||||
ldr r1, =gUnknown_085EF014
|
ldr r1, =gText_CommunicationError
|
||||||
bl mevent_0814257C
|
bl mevent_0814257C
|
||||||
_080198F6:
|
_080198F6:
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
@ -33685,7 +33685,7 @@ _0801AD8C:
|
|||||||
_0801ADFC:
|
_0801ADFC:
|
||||||
ldr r0, =gUnknown_02022C6C
|
ldr r0, =gUnknown_02022C6C
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
ldr r1, =gUnknown_085EFBD2
|
ldr r1, =gText_CommStandbyAwaitingOtherPlayer
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_801ABDC
|
bl sub_801ABDC
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
@ -33832,7 +33832,7 @@ _0801AF40:
|
|||||||
_0801AF58:
|
_0801AF58:
|
||||||
ldr r0, =gUnknown_02022C6C
|
ldr r0, =gUnknown_02022C6C
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
ldr r1, =gUnknown_085EFC27
|
ldr r1, =gText_RefusedBattle
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
bl sub_801ABDC
|
bl sub_801ABDC
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
@ -33858,7 +33858,7 @@ _0801AF8A:
|
|||||||
_0801AF98:
|
_0801AF98:
|
||||||
ldr r0, =gUnknown_02022C6C
|
ldr r0, =gUnknown_02022C6C
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
ldr r1, =gUnknown_085EFC0C
|
ldr r1, =gText_BattleWasRefused
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
bl sub_801ABDC
|
bl sub_801ABDC
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
@ -41940,7 +41940,7 @@ _0801F020:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r1, =gUnknown_085ED2A9
|
ldr r1, =gText_F700JoinedChat
|
||||||
b _0801F094
|
b _0801F094
|
||||||
.pool
|
.pool
|
||||||
_0801F044:
|
_0801F044:
|
||||||
@ -41980,7 +41980,7 @@ _0801F07A:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r1, =gUnknown_085ED2BD
|
ldr r1, =gText_F700LeftChat
|
||||||
_0801F094:
|
_0801F094:
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
@ -42190,52 +42190,52 @@ copy_strings_to_sav1: @ 801F1DC
|
|||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003c88
|
ldr r1, =0x00003c88
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED40F
|
ldr r1, =gText_Hello
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003c9d
|
ldr r1, =0x00003c9d
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED415
|
ldr r1, =gText_Pokemon2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003cb2
|
ldr r1, =0x00003cb2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED41D
|
ldr r1, =gText_Trade
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003cc7
|
ldr r1, =0x00003cc7
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED423
|
ldr r1, =gText_Battle
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003cdc
|
ldr r1, =0x00003cdc
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED42A
|
ldr r1, =gText_Lets
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003cf1
|
ldr r1, =0x00003cf1
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED430
|
ldr r1, =gText_Ok
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003d06
|
ldr r1, =0x00003d06
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED434
|
ldr r1, =gText_Sorry
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003d1b
|
ldr r1, =0x00003d1b
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED43A
|
ldr r1, =gText_YayUnkF9F9
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003d30
|
ldr r1, =0x00003d30
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED440
|
ldr r1, =gText_ThankYou
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00003d45
|
ldr r1, =0x00003d45
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED44A
|
ldr r1, =gText_ByeBye
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
pop {r4}
|
pop {r4}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -43754,7 +43754,7 @@ sub_801FDDC: @ 801FDDC
|
|||||||
bl PutWindowTilemap
|
bl PutWindowTilemap
|
||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
ldrb r0, [r0, 0x18]
|
ldrb r0, [r0, 0x18]
|
||||||
ldr r2, =gUnknown_085EAE62
|
ldr r2, =gText_Yes
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r4, 0xFF
|
movs r4, 0xFF
|
||||||
@ -43764,7 +43764,7 @@ sub_801FDDC: @ 801FDDC
|
|||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
ldrb r0, [r0, 0x18]
|
ldrb r0, [r0, 0x18]
|
||||||
ldr r2, =gUnknown_085EAE66
|
ldr r2, =gText_No
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
@ -47446,13 +47446,13 @@ _08021C5E:
|
|||||||
cmp r3, r2
|
cmp r3, r2
|
||||||
bne _08021CC0
|
bne _08021CC0
|
||||||
ldr r0, =gStringVar3
|
ldr r0, =gStringVar3
|
||||||
ldr r1, =gUnknown_085ED7D4
|
ldr r1, =gText_1DotBlueF700
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _08021CC8
|
b _08021CC8
|
||||||
.pool
|
.pool
|
||||||
_08021CC0:
|
_08021CC0:
|
||||||
ldr r0, =gStringVar3
|
ldr r0, =gStringVar3
|
||||||
ldr r1, =gUnknown_085ED7E0
|
ldr r1, =gText_1DotF700
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08021CC8:
|
_08021CC8:
|
||||||
ldr r4, =gStringVar3
|
ldr r4, =gStringVar3
|
||||||
@ -47541,13 +47541,13 @@ sub_8021D34: @ 8021D34
|
|||||||
ldr r4, =gUnknown_082F32D8
|
ldr r4, =gUnknown_082F32D8
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
ldr r1, =gUnknown_085ED808
|
ldr r1, =gText_TimeColon
|
||||||
str r1, [sp, 0x8]
|
str r1, [sp, 0x8]
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
adds r3, r7, 0
|
adds r3, r7, 0
|
||||||
bl box_print
|
bl box_print
|
||||||
ldr r4, =gUnknown_085ED840
|
ldr r4, =gText_SpaceSec
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
@ -47587,7 +47587,7 @@ sub_8021D34: @ 8021D34
|
|||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085ED838
|
ldr r1, =gText_XDotY2
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -47609,7 +47609,7 @@ sub_8021D34: @ 8021D34
|
|||||||
adds r2, r6, 0
|
adds r2, r6, 0
|
||||||
adds r3, r7, 0
|
adds r3, r7, 0
|
||||||
bl box_print
|
bl box_print
|
||||||
ldr r4, =gUnknown_085ED830
|
ldr r4, =gText_SpaceMin
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
@ -47638,7 +47638,7 @@ sub_8021D34: @ 8021D34
|
|||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085ED82C
|
ldr r1, =gText_StrVar1
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -47669,13 +47669,13 @@ sub_8021D34: @ 8021D34
|
|||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
ldr r1, =gUnknown_085ED810
|
ldr r1, =gText_PressingSpeed
|
||||||
str r1, [sp, 0x8]
|
str r1, [sp, 0x8]
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
adds r3, r7, 0
|
adds r3, r7, 0
|
||||||
bl box_print
|
bl box_print
|
||||||
ldr r4, =gUnknown_085ED850
|
ldr r4, =gText_TimesPerSec
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
@ -47745,7 +47745,7 @@ _08021F0A:
|
|||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085ED848
|
ldr r1, =gText_XDotY3
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
@ -47808,7 +47808,7 @@ _08021FDE:
|
|||||||
str r2, [sp]
|
str r2, [sp]
|
||||||
movs r5, 0
|
movs r5, 0
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
ldr r1, =gUnknown_085ED820
|
ldr r1, =gText_Silkiness
|
||||||
str r1, [sp, 0x8]
|
str r1, [sp, 0x8]
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
@ -47821,7 +47821,7 @@ _08021FDE:
|
|||||||
movs r3, 0x3
|
movs r3, 0x3
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085ED85C
|
ldr r1, =gText_Var1Percent
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
@ -47961,7 +47961,7 @@ _0802214E:
|
|||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
adds r0, 0x82
|
adds r0, 0x82
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r3, =gUnknown_085ED860
|
ldr r3, =gText_PressesRankings
|
||||||
movs r1, 0x14
|
movs r1, 0x14
|
||||||
movs r2, 0x3
|
movs r2, 0x3
|
||||||
bl sub_80219C8
|
bl sub_80219C8
|
||||||
@ -48012,7 +48012,7 @@ _080221C8:
|
|||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
adds r0, 0x82
|
adds r0, 0x82
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r3, =gUnknown_085ED878
|
ldr r3, =gText_CrushingResults
|
||||||
movs r1, 0x16
|
movs r1, 0x16
|
||||||
movs r2, 0x3
|
movs r2, 0x3
|
||||||
bl sub_80219C8
|
bl sub_80219C8
|
||||||
@ -48140,7 +48140,7 @@ _08022296:
|
|||||||
b _080224BA
|
b _080224BA
|
||||||
.pool
|
.pool
|
||||||
_080222D0:
|
_080222D0:
|
||||||
ldr r0, =gUnknown_085ED8D0
|
ldr r0, =gText_BerryCrush2
|
||||||
mov r10, r0
|
mov r10, r0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
negs r1, r1
|
negs r1, r1
|
||||||
@ -48165,7 +48165,7 @@ _080222D0:
|
|||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl box_print
|
bl box_print
|
||||||
ldr r0, =gUnknown_085ED8DC
|
ldr r0, =gText_PressingSpeedRankings
|
||||||
mov r10, r0
|
mov r10, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
mov r1, r10
|
mov r1, r10
|
||||||
@ -48195,7 +48195,7 @@ _08022336:
|
|||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085ED8F4
|
ldr r1, =gText_Var1Players
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldrb r0, [r6, 0x2]
|
ldrb r0, [r6, 0x2]
|
||||||
ldr r1, =gUnknown_082F32D8
|
ldr r1, =gUnknown_082F32D8
|
||||||
@ -48209,7 +48209,7 @@ _08022336:
|
|||||||
mov r3, r10
|
mov r3, r10
|
||||||
bl box_print
|
bl box_print
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
ldr r1, =gUnknown_085ED850
|
ldr r1, =gText_TimesPerSec
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
negs r2, r2
|
negs r2, r2
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
@ -48222,7 +48222,7 @@ _08022336:
|
|||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
ldr r1, =gUnknown_085ED850
|
ldr r1, =gText_TimesPerSec
|
||||||
str r1, [sp, 0x8]
|
str r1, [sp, 0x8]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r7, 0
|
adds r2, r7, 0
|
||||||
@ -48280,7 +48280,7 @@ _080223CA:
|
|||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085ED848
|
ldr r1, =gText_XDotY3
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
ldr r1, =gStringVar4
|
ldr r1, =gStringVar4
|
||||||
@ -52907,7 +52907,7 @@ sub_802482C: @ 802482C
|
|||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
adds r3, r5, 0
|
adds r3, r5, 0
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r2, =gUnknown_085EDCDE
|
ldr r2, =gText_Powder
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
@ -59274,7 +59274,7 @@ _08027AFE:
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
ldr r1, =gUnknown_085EDCE5
|
ldr r1, =gText_BerryPickingRecords
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
@ -59414,7 +59414,7 @@ sub_8027BEC: @ 8027BEC
|
|||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r4, =gUnknown_085EDCE5
|
ldr r4, =gText_BerryPickingRecords
|
||||||
ldr r0, [sp, 0x18]
|
ldr r0, [sp, 0x18]
|
||||||
lsls r2, r0, 3
|
lsls r2, r0, 3
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -62799,7 +62799,7 @@ _08029728:
|
|||||||
bcc _08029700
|
bcc _08029700
|
||||||
_0802972E:
|
_0802972E:
|
||||||
movs r5, 0
|
movs r5, 0
|
||||||
ldr r4, =gUnknown_085EDE5D
|
ldr r4, =gText_SpacePoints
|
||||||
cmp r5, r7
|
cmp r5, r7
|
||||||
bcs _08029754
|
bcs _08029754
|
||||||
add r1, sp, 0x34
|
add r1, sp, 0x34
|
||||||
@ -62939,7 +62939,7 @@ _080297CC:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
str r1, [sp, 0x8]
|
str r1, [sp, 0x8]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
ldr r2, =gUnknown_085EDE5D
|
ldr r2, =gText_SpacePoints
|
||||||
lsrs r3, 24
|
lsrs r3, 24
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
adds r0, r5, 0x1
|
adds r0, r5, 0x1
|
||||||
@ -63057,7 +63057,7 @@ _0802996C:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EDD49
|
ldr r2, =gText_BerryPickingResults
|
||||||
mov r8, r2
|
mov r8, r2
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
negs r2, r2
|
negs r2, r2
|
||||||
@ -63084,7 +63084,7 @@ _0802996C:
|
|||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
add r0, r9
|
add r0, r9
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EDD6B
|
ldr r2, =gText_10P30P50P50P
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
@ -63324,7 +63324,7 @@ _08029BFC:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r6, =gUnknown_085EDD86
|
ldr r6, =gText_AnnouncingRankings
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
negs r2, r2
|
negs r2, r2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -63488,7 +63488,7 @@ _08029DA0:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r5, =gUnknown_085EDD9B
|
ldr r5, =gText_AnnouncingPrizes
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
negs r2, r2
|
negs r2, r2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -63525,7 +63525,7 @@ _08029DA0:
|
|||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r7, =gStringVar4
|
ldr r7, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EDDBD
|
ldr r1, =gText_FirstPlacePrize
|
||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
@ -63559,7 +63559,7 @@ _08029DA0:
|
|||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
cmp r4, 0x2
|
cmp r4, 0x2
|
||||||
bne _08029E9C
|
bne _08029E9C
|
||||||
ldr r1, =gUnknown_085EDDE2
|
ldr r1, =gText_CantHoldAnyMore
|
||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
b _08029EA8
|
b _08029EA8
|
||||||
@ -63567,7 +63567,7 @@ _08029DA0:
|
|||||||
_08029E9C:
|
_08029E9C:
|
||||||
cmp r6, 0x1
|
cmp r6, 0x1
|
||||||
bne _08029EA8
|
bne _08029EA8
|
||||||
ldr r1, =gUnknown_085EDDFB
|
ldr r1, =gText_FilledStorageSpace
|
||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
_08029EA8:
|
_08029EA8:
|
||||||
@ -63809,7 +63809,7 @@ _0802A0CC:
|
|||||||
ldr r0, [r7]
|
ldr r0, [r7]
|
||||||
add r0, r8
|
add r0, r8
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EDE18
|
ldr r2, =gText_WantToPlayAgain
|
||||||
movs r1, 0x5
|
movs r1, 0x5
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r3, 0xFF
|
movs r3, 0xFF
|
||||||
@ -63823,7 +63823,7 @@ _0802A0CC:
|
|||||||
ldr r0, [r7]
|
ldr r0, [r7]
|
||||||
add r0, r10
|
add r0, r10
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EAE62
|
ldr r2, =gText_Yes
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
mov r3, r9
|
mov r3, r9
|
||||||
str r3, [sp, 0x4]
|
str r3, [sp, 0x4]
|
||||||
@ -63835,7 +63835,7 @@ _0802A0CC:
|
|||||||
ldr r0, [r7]
|
ldr r0, [r7]
|
||||||
add r0, r10
|
add r0, r10
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EAE66
|
ldr r2, =gText_No
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
mov r3, r9
|
mov r3, r9
|
||||||
@ -63912,7 +63912,7 @@ _0802A1DC:
|
|||||||
ldr r0, [r7]
|
ldr r0, [r7]
|
||||||
add r0, r8
|
add r0, r8
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EAE62
|
ldr r2, =gText_Yes
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r3, 0xFF
|
movs r3, 0xFF
|
||||||
@ -63927,7 +63927,7 @@ _0802A1DC:
|
|||||||
ldr r0, [r7]
|
ldr r0, [r7]
|
||||||
add r0, r8
|
add r0, r8
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EAE66
|
ldr r2, =gText_No
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
mov r3, r10
|
mov r3, r10
|
||||||
@ -64234,7 +64234,7 @@ _0802A4AC:
|
|||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
adds r0, r4
|
adds r0, r4
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EDE65
|
ldr r2, =gText_CommunicationStandby3
|
||||||
movs r1, 0x5
|
movs r1, 0x5
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0xFF
|
movs r1, 0xFF
|
||||||
@ -64394,7 +64394,7 @@ _0802A610:
|
|||||||
ldr r0, [r6]
|
ldr r0, [r6]
|
||||||
adds r0, r4
|
adds r0, r4
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
ldr r2, =gUnknown_085EDE2C
|
ldr r2, =gText_SomeoneDroppedOut
|
||||||
movs r1, 0x5
|
movs r1, 0x5
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0xFF
|
movs r1, 0xFF
|
||||||
@ -70271,7 +70271,7 @@ _0802D46A:
|
|||||||
strh r0, [r1, 0x12]
|
strh r0, [r1, 0x12]
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
ldr r2, =gUnknown_085EDF2A
|
ldr r2, =gText_WantToPlayAgain2
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0xFF
|
movs r1, 0xFF
|
||||||
@ -70473,7 +70473,7 @@ _0802D606:
|
|||||||
strh r0, [r1, 0x12]
|
strh r0, [r1, 0x12]
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
ldr r2, =gUnknown_085EDF3E
|
ldr r2, =gText_SomeoneDroppedOut2
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0xFF
|
movs r1, 0xFF
|
||||||
@ -70553,7 +70553,7 @@ _0802D6AA:
|
|||||||
strh r0, [r1, 0x12]
|
strh r0, [r1, 0x12]
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
ldr r2, =gUnknown_085EDF6F
|
ldr r2, =gText_CommunicationStandby4
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0xFF
|
movs r1, 0xFF
|
||||||
@ -70740,7 +70740,7 @@ sub_802D7E8: @ 802D7E8
|
|||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
adds r0, 0xA6
|
adds r0, 0xA6
|
||||||
ldr r1, =gUnknown_085EDED3
|
ldr r1, =gText_AwesomeWonF701F700
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r1, 0x8
|
movs r1, 0x8
|
||||||
@ -70793,7 +70793,7 @@ sub_802D884: @ 802D884
|
|||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
adds r0, 0xA6
|
adds r0, 0xA6
|
||||||
ldr r1, =gUnknown_085EDEF4
|
ldr r1, =gText_FilledStorageSpace2
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r1, 0x8
|
movs r1, 0x8
|
||||||
@ -70846,7 +70846,7 @@ sub_802D8FC: @ 802D8FC
|
|||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
adds r0, 0xA6
|
adds r0, 0xA6
|
||||||
ldr r1, =gUnknown_085EDF11
|
ldr r1, =gText_CantHoldMore
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r1, 0x9
|
movs r1, 0x9
|
||||||
@ -71167,7 +71167,7 @@ sub_802DB8C: @ 802DB8C
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EDE7C
|
ldr r0, =gText_SpacePoints2
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
@ -71177,7 +71177,7 @@ sub_802DB8C: @ 802DB8C
|
|||||||
add r0, sp, 0xC
|
add r0, sp, 0xC
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EDE84
|
ldr r0, =gText_SpaceTimes3
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
@ -72272,7 +72272,7 @@ _0802E416:
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
ldr r1, =gUnknown_085EDE8D
|
ldr r1, =gText_PkmnJumpRecords
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
@ -72407,7 +72407,7 @@ sub_802E500: @ 802E500
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r5, =gUnknown_085EDE8D
|
ldr r5, =gText_PkmnJumpRecords
|
||||||
ldr r1, [sp, 0x1C]
|
ldr r1, [sp, 0x1C]
|
||||||
lsls r2, r1, 3
|
lsls r2, r1, 3
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
|
@ -691,7 +691,7 @@ _08121A8A:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08121AF0
|
bne _08121AF0
|
||||||
ldr r1, =gUnknown_085EEA78
|
ldr r1, =gText_FromSpace
|
||||||
adds r0, r2, 0
|
adds r0, r2, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
@ -825,7 +825,7 @@ _08121BB8:
|
|||||||
cmp r6, r0
|
cmp r6, r0
|
||||||
bcc _08121B60
|
bcc _08121B60
|
||||||
_08121BCC:
|
_08121BCC:
|
||||||
ldr r1, =gUnknown_085EEA78
|
ldr r1, =gText_FromSpace
|
||||||
add r0, sp, 0xC
|
add r0, sp, 0xC
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gUnknown_0203A134
|
ldr r4, =gUnknown_0203A134
|
||||||
|
@ -4547,7 +4547,7 @@ fmt_time: @ 8031E94
|
|||||||
push {r4-r6,lr}
|
push {r4-r6,lr}
|
||||||
sub sp, 0xC
|
sub sp, 0xC
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EDCC3
|
ldr r1, =gText_ContinueMenuPlayer
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r6, =gUnknown_082FF0E3
|
ldr r6, =gUnknown_082FF0E3
|
||||||
@ -4589,7 +4589,7 @@ fmt_player: @ 8031EF8
|
|||||||
push {r4-r6,lr}
|
push {r4-r6,lr}
|
||||||
sub sp, 0x2C
|
sub sp, 0x2C
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EDCCA
|
ldr r1, =gText_ContinueMenuTime
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r6, =gUnknown_082FF0E3
|
ldr r6, =gUnknown_082FF0E3
|
||||||
@ -4664,7 +4664,7 @@ _08031FAA:
|
|||||||
lsls r0, 16
|
lsls r0, 16
|
||||||
lsrs r7, r0, 16
|
lsrs r7, r0, 16
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EDCCF
|
ldr r1, =gText_ContinueMenuPokedex
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r6, =gUnknown_082FF0E3
|
ldr r6, =gUnknown_082FF0E3
|
||||||
@ -4728,7 +4728,7 @@ _08032030:
|
|||||||
cmp r4, r0
|
cmp r4, r0
|
||||||
bls _0803201C
|
bls _0803201C
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EDCD7
|
ldr r1, =gText_ContinueMenuBadges
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r6, =gUnknown_082FF0E3
|
ldr r6, =gUnknown_082FF0E3
|
||||||
|
@ -1400,7 +1400,7 @@ _08120BB0:
|
|||||||
movs r2, 0x8
|
movs r2, 0x8
|
||||||
bl memset
|
bl memset
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
ldr r1, =gUnknown_085EDFB0
|
ldr r1, =gText_Friend
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
mov r1, sp
|
mov r1, sp
|
||||||
@ -2218,7 +2218,7 @@ sub_8121178: @ 8121178
|
|||||||
sub_81211EC: @ 81211EC
|
sub_81211EC: @ 81211EC
|
||||||
push {r4,r5,lr}
|
push {r4,r5,lr}
|
||||||
sub sp, 0xC
|
sub sp, 0xC
|
||||||
ldr r1, =gUnknown_085EB7EA
|
ldr r1, =gText_Exit
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
@ -2309,7 +2309,7 @@ _08121272:
|
|||||||
_081212AA:
|
_081212AA:
|
||||||
ldr r5, =gUnknown_0203A130
|
ldr r5, =gUnknown_0203A130
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
ldr r2, =gUnknown_085EB7EA
|
ldr r2, =gText_Exit
|
||||||
lsls r1, r4, 4
|
lsls r1, r4, 4
|
||||||
adds r1, 0x1
|
adds r1, 0x1
|
||||||
lsls r1, 24
|
lsls r1, 24
|
||||||
|
@ -1250,7 +1250,7 @@ RedrawMenuCursor: @ 8198448
|
|||||||
bl FillWindowPixelRect
|
bl FillWindowPixelRect
|
||||||
ldrb r0, [r5, 0x5]
|
ldrb r0, [r5, 0x5]
|
||||||
ldrb r1, [r5, 0x6]
|
ldrb r1, [r5, 0x6]
|
||||||
ldr r2, =gUnknown_085EE498
|
ldr r2, =gText_SelectorArrow3
|
||||||
ldrb r3, [r5]
|
ldrb r3, [r5]
|
||||||
ldrb r4, [r5, 0x8]
|
ldrb r4, [r5, 0x8]
|
||||||
mov r6, r8
|
mov r6, r8
|
||||||
@ -2139,7 +2139,7 @@ sub_8198AF8: @ 8198AF8
|
|||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
adds r3, r5, 0
|
adds r3, r5, 0
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r0, =gUnknown_085EE491
|
ldr r0, =gText_YesNo
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
add r1, sp, 0xC
|
add r1, sp, 0xC
|
||||||
ldrb r0, [r7]
|
ldrb r0, [r7]
|
||||||
@ -2877,7 +2877,7 @@ sub_8199060: @ 8199060
|
|||||||
lsrs r3, 24
|
lsrs r3, 24
|
||||||
ldrb r0, [r5, 0x5]
|
ldrb r0, [r5, 0x5]
|
||||||
ldrb r1, [r5, 0x6]
|
ldrb r1, [r5, 0x6]
|
||||||
ldr r2, =gUnknown_085EE498
|
ldr r2, =gText_SelectorArrow3
|
||||||
str r3, [sp]
|
str r3, [sp]
|
||||||
movs r3, 0
|
movs r3, 0
|
||||||
str r3, [sp, 0x4]
|
str r3, [sp, 0x4]
|
||||||
@ -3668,7 +3668,7 @@ CreateYesNoMenu: @ 81996C0
|
|||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
adds r3, r5, 0
|
adds r3, r5, 0
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r0, =gUnknown_085EE491
|
ldr r0, =gText_YesNo
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
mov r1, sp
|
mov r1, sp
|
||||||
mov r2, r8
|
mov r2, r8
|
||||||
|
@ -105,7 +105,7 @@ _080E5258:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bgt _080E5258
|
bgt _080E5258
|
||||||
_080E5264:
|
_080E5264:
|
||||||
ldr r1, =gUnknown_085E969C
|
ldr r1, =gText_PokedollarVar1
|
||||||
adds r0, r2, 0
|
adds r0, r2, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =gStringVar4
|
ldr r2, =gStringVar4
|
||||||
|
@ -115,7 +115,7 @@ sub_8178A40: @ 8178A40
|
|||||||
movs r5, 0x1
|
movs r5, 0x1
|
||||||
cmp r4, 0
|
cmp r4, 0
|
||||||
bne _08178A54
|
bne _08178A54
|
||||||
ldr r1, =gUnknown_085EE80A
|
ldr r1, =gText_EventSafelyLoaded
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
movs r5, 0
|
movs r5, 0
|
||||||
_08178A54:
|
_08178A54:
|
||||||
@ -125,7 +125,7 @@ _08178A54:
|
|||||||
_08178A5A:
|
_08178A5A:
|
||||||
cmp r4, 0x1
|
cmp r4, 0x1
|
||||||
bne _08178A66
|
bne _08178A66
|
||||||
ldr r1, =gUnknown_085EE827
|
ldr r1, =gText_LoadErrorEndingSession
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08178A66:
|
_08178A66:
|
||||||
@ -204,7 +204,7 @@ _08178B12:
|
|||||||
beq _08178B20
|
beq _08178B20
|
||||||
b _08178E58
|
b _08178E58
|
||||||
_08178B20:
|
_08178B20:
|
||||||
ldr r1, =gUnknown_085EE765
|
ldr r1, =gText_LinkStandby2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -256,7 +256,7 @@ _08178B8E:
|
|||||||
_08178B98:
|
_08178B98:
|
||||||
movs r0, 0x15
|
movs r0, 0x15
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r1, =gUnknown_085EE788
|
ldr r1, =gText_PressAToLoadEvent
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -301,7 +301,7 @@ _08178BDC:
|
|||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r1, =gUnknown_085EE7BF
|
ldr r1, =gText_LoadingEvent
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -373,7 +373,7 @@ _08178CAC:
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _08178CCC
|
beq _08178CCC
|
||||||
ldr r1, =gUnknown_085EE7CE
|
ldr r1, =gText_DontRemoveCableTurnOff
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
|
@ -782,7 +782,7 @@ sub_8153E1C: @ 8153E1C
|
|||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
bl EnableResetRTC
|
bl EnableResetRTC
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085ECAD8
|
ldr r1, =gText_InGameClockUsable
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
str r0, [r4, 0x6C]
|
str r0, [r4, 0x6C]
|
||||||
|
@ -4033,7 +4033,7 @@ sub_80E4EF0: @ 80E4EF0
|
|||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
ldr r1, =gUnknown_085EEAF6
|
ldr r1, =gText_MoveOkBack
|
||||||
str r1, [sp, 0x8]
|
str r1, [sp, 0x8]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
|
@ -906,7 +906,7 @@ sub_80BAC38: @ 80BAC38
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r4, =gUnknown_085EE5D4
|
ldr r4, =gText_TextSpeedSlow
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
ldrb r3, [r0]
|
ldrb r3, [r0]
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -917,14 +917,14 @@ sub_80BAC38: @ 80BAC38
|
|||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
ldr r0, =gUnknown_085EE5DF
|
ldr r0, =gText_TextSpeedMid
|
||||||
mov r8, r0
|
mov r8, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
ldr r6, =gUnknown_085EE5E9
|
ldr r6, =gText_TextSpeedFast
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r6, 0
|
adds r1, r6, 0
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
@ -1000,13 +1000,13 @@ sub_80BAD08: @ 80BAD08
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r0, =gUnknown_085EE5F4
|
ldr r0, =gText_BattleSceneOn
|
||||||
mov r1, sp
|
mov r1, sp
|
||||||
ldrb r3, [r1]
|
ldrb r3, [r1]
|
||||||
movs r1, 0x68
|
movs r1, 0x68
|
||||||
movs r2, 0x10
|
movs r2, 0x10
|
||||||
bl sub_80BAB68
|
bl sub_80BAB68
|
||||||
ldr r4, =gUnknown_085EE5FD
|
ldr r4, =gText_BattleSceneOff
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0xC6
|
movs r2, 0xC6
|
||||||
@ -1061,13 +1061,13 @@ sub_80BAD84: @ 80BAD84
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r0, =gUnknown_085EE607
|
ldr r0, =gText_BattleStyleShift
|
||||||
mov r1, sp
|
mov r1, sp
|
||||||
ldrb r3, [r1]
|
ldrb r3, [r1]
|
||||||
movs r1, 0x68
|
movs r1, 0x68
|
||||||
movs r2, 0x20
|
movs r2, 0x20
|
||||||
bl sub_80BAB68
|
bl sub_80BAB68
|
||||||
ldr r4, =gUnknown_085EE613
|
ldr r4, =gText_BattleStyleSet
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0xC6
|
movs r2, 0xC6
|
||||||
@ -1125,13 +1125,13 @@ sub_80BAE08: @ 80BAE08
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r0, =gUnknown_085EE61D
|
ldr r0, =gText_SoundMono
|
||||||
mov r1, sp
|
mov r1, sp
|
||||||
ldrb r3, [r1]
|
ldrb r3, [r1]
|
||||||
movs r1, 0x68
|
movs r1, 0x68
|
||||||
movs r2, 0x30
|
movs r2, 0x30
|
||||||
bl sub_80BAB68
|
bl sub_80BAB68
|
||||||
ldr r4, =gUnknown_085EE628
|
ldr r4, =gText_SoundStereo
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0xC6
|
movs r2, 0xC6
|
||||||
@ -1243,9 +1243,9 @@ sub_80BAF0C: @ 80BAF0C
|
|||||||
adds r0, r1
|
adds r0, r1
|
||||||
lsrs r6, r0, 24
|
lsrs r6, r0, 24
|
||||||
movs r5, 0
|
movs r5, 0
|
||||||
ldr r1, =gUnknown_085EE640
|
ldr r1, =gText_FrameTypeNumber
|
||||||
ldrb r0, [r1]
|
ldrb r0, [r1]
|
||||||
ldr r7, =gUnknown_085EE635
|
ldr r7, =gText_FrameType
|
||||||
cmp r0, 0xFF
|
cmp r0, 0xFF
|
||||||
beq _080BAF44
|
beq _080BAF44
|
||||||
adds r2, r1, 0
|
adds r2, r1, 0
|
||||||
@ -1394,7 +1394,7 @@ sub_80BB028: @ 80BB028
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r4, =gUnknown_085EE647
|
ldr r4, =gText_ButtonTypeNormal
|
||||||
mov r0, sp
|
mov r0, sp
|
||||||
ldrb r3, [r0]
|
ldrb r3, [r0]
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -1406,14 +1406,14 @@ sub_80BB028: @ 80BB028
|
|||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
ldr r0, =gUnknown_085EE654
|
ldr r0, =gText_ButtonTypeLR
|
||||||
mov r8, r0
|
mov r8, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
ldr r6, =gUnknown_085EE65D
|
ldr r6, =gText_ButtonTypeLEqualsA
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r6, 0
|
adds r1, r6, 0
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
@ -1461,7 +1461,7 @@ sub_80BB0D0: @ 80BB0D0
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EE589
|
ldr r2, =gText_Option
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
|
186
asm/party_menu.s
186
asm/party_menu.s
@ -2484,7 +2484,7 @@ sub_81B1660: @ 81B1660
|
|||||||
ands r1, r0
|
ands r1, r0
|
||||||
cmp r1, 0x2
|
cmp r1, 0x2
|
||||||
bne _081B1680
|
bne _081B1680
|
||||||
ldr r5, =gUnknown_085EA110
|
ldr r5, =gText_CancelParticipation
|
||||||
b _081B168A
|
b _081B168A
|
||||||
.pool
|
.pool
|
||||||
_081B1680:
|
_081B1680:
|
||||||
@ -3290,7 +3290,7 @@ sub_81B1C84: @ 81B1C84
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E991B
|
ldr r1, =gText_PkmnWasGivenItem
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -3319,7 +3319,7 @@ sub_81B1CD0: @ 81B1CD0
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E999D
|
ldr r1, =gText_RecievedItemFromPkmn
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -3348,7 +3348,7 @@ sub_81B1D1C: @ 81B1D1C
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E993A
|
ldr r1, =gText_SwitchPkmnItem
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -3379,7 +3379,7 @@ sub_81B1D68: @ 81B1D68
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E99DB
|
ldr r1, =gText_SwitchedPkmnItem
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -3474,7 +3474,7 @@ _081B1E3E:
|
|||||||
pokemon_item_not_removed: @ 81B1E48
|
pokemon_item_not_removed: @ 81B1E48
|
||||||
push {lr}
|
push {lr}
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9A69
|
ldr r1, =gText_BagFullCouldNotRemoveItem
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -3937,7 +3937,7 @@ sub_81B21AC: @ 81B21AC
|
|||||||
_081B21DC:
|
_081B21DC:
|
||||||
movs r0, 0x20
|
movs r0, 0x20
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r0, =gUnknown_085EA0EE
|
ldr r0, =gText_PkmnCantParticipate
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -3962,7 +3962,7 @@ sub_81B2210: @ 81B2210
|
|||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
lsls r4, 24
|
lsls r4, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r0, =gUnknown_085EA110
|
ldr r0, =gText_CancelParticipation
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -6407,7 +6407,7 @@ _081B3674:
|
|||||||
cmp r6, 0
|
cmp r6, 0
|
||||||
bne _081B36C0
|
bne _081B36C0
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9980
|
ldr r1, =gText_PkmnNotHolding
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -8348,7 +8348,7 @@ _081B4788:
|
|||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9980
|
ldr r1, =gText_PkmnNotHolding
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -8409,7 +8409,7 @@ sub_81B47E0: @ 81B47E0
|
|||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9980
|
ldr r1, =gText_PkmnNotHolding
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -8428,7 +8428,7 @@ _081B4864:
|
|||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9E00
|
ldr r1, =gText_ThrowAwayItem
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -8511,7 +8511,7 @@ _081B491A:
|
|||||||
ldr r1, =gStringVar1
|
ldr r1, =gStringVar1
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9E14
|
ldr r1, =gText_ItemThrownAway
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -8731,7 +8731,7 @@ brm_take_2: @ 81B4B20
|
|||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
adds r0, 0xC
|
adds r0, 0xC
|
||||||
bl sub_81B302C
|
bl sub_81B302C
|
||||||
ldr r0, =gUnknown_085E9855
|
ldr r0, =gText_SendMailToPC
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
@ -8806,7 +8806,7 @@ _081B4BC6:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0xFF
|
cmp r0, 0xFF
|
||||||
beq _081B4C0C
|
beq _081B4C0C
|
||||||
ldr r0, =gUnknown_085E9877
|
ldr r0, =gText_MailSentToPC
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
@ -8818,7 +8818,7 @@ _081B4BC6:
|
|||||||
b _081B4C4A
|
b _081B4C4A
|
||||||
.pool
|
.pool
|
||||||
_081B4C0C:
|
_081B4C0C:
|
||||||
ldr r0, =gUnknown_085E9897
|
ldr r0, =gText_PCMailboxFull
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
@ -8833,7 +8833,7 @@ _081B4C30:
|
|||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
_081B4C36:
|
_081B4C36:
|
||||||
ldr r0, =gUnknown_085E98B4
|
ldr r0, =gText_MailMessageWillBeLost
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
@ -8926,7 +8926,7 @@ _081B4CBE:
|
|||||||
muls r0, r7
|
muls r0, r7
|
||||||
adds r0, r6
|
adds r0, r6
|
||||||
bl sub_80D4680
|
bl sub_80D4680
|
||||||
ldr r0, =gUnknown_085E99B8
|
ldr r0, =gText_MailTakenFromPkmn
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
@ -9167,7 +9167,7 @@ _081B4F36:
|
|||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9830
|
ldr r1, =gText_NoMoreThanVar1Pkmn
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x20
|
movs r0, 0x20
|
||||||
@ -9411,13 +9411,13 @@ sub_81B50C8: @ 81B50C8
|
|||||||
.pool
|
.pool
|
||||||
_081B515C:
|
_081B515C:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA210
|
ldr r1, =gText_PkmnCantBeTradedNow
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B5178
|
b _081B5178
|
||||||
.pool
|
.pool
|
||||||
_081B5170:
|
_081B5170:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA234
|
ldr r1, =gText_EggCantBeTradedNow
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081B5178:
|
_081B5178:
|
||||||
movs r0, 0x20
|
movs r0, 0x20
|
||||||
@ -9430,7 +9430,7 @@ _081B5178:
|
|||||||
adds r0, 0xD
|
adds r0, 0xD
|
||||||
bl sub_81B302C
|
bl sub_81B302C
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA1CA
|
ldr r1, =gText_PauseUntilPress
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -9530,7 +9530,7 @@ brm_trade_1: @ 81B51D4
|
|||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
adds r0, 0xD
|
adds r0, 0xD
|
||||||
bl sub_81B302C
|
bl sub_81B302C
|
||||||
ldr r1, =gUnknown_085EA1CA
|
ldr r1, =gText_PauseUntilPress
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
@ -9594,19 +9594,19 @@ _081B5328:
|
|||||||
b _081B5368
|
b _081B5368
|
||||||
_081B532E:
|
_081B532E:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA1E8
|
ldr r1, =gText_OnlyPkmnForBattle
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B53C0
|
b _081B53C0
|
||||||
.pool
|
.pool
|
||||||
_081B5340:
|
_081B5340:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA210
|
ldr r1, =gText_PkmnCantBeTradedNow
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B53C0
|
b _081B53C0
|
||||||
.pool
|
.pool
|
||||||
_081B5354:
|
_081B5354:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA234
|
ldr r1, =gText_EggCantBeTradedNow
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B53C0
|
b _081B53C0
|
||||||
.pool
|
.pool
|
||||||
@ -9623,7 +9623,7 @@ _081B5368:
|
|||||||
ldr r1, =gStringVar1
|
ldr r1, =gStringVar1
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA1CD
|
ldr r1, =gJPText_PutVar1IntoSpinner
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -9641,7 +9641,7 @@ _081B53C0:
|
|||||||
movs r0, 0x20
|
movs r0, 0x20
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA1CA
|
ldr r1, =gText_PauseUntilPress
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -9787,7 +9787,7 @@ _081B54E8:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
beq _081B5524
|
beq _081B5524
|
||||||
ldr r0, =gUnknown_085E97FC
|
ldr r0, =gText_CantUseUntilNewBadge
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
@ -9852,7 +9852,7 @@ _081B557C:
|
|||||||
ldrb r1, [r1, 0x14]
|
ldrb r1, [r1, 0x14]
|
||||||
bl sub_81245DC
|
bl sub_81245DC
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA196
|
ldr r1, =gText_ReturnToHealingSpot
|
||||||
b _081B55E8
|
b _081B55E8
|
||||||
.pool
|
.pool
|
||||||
_081B55B8:
|
_081B55B8:
|
||||||
@ -9877,7 +9877,7 @@ _081B55B8:
|
|||||||
ldrb r1, [r1, 0x14]
|
ldrb r1, [r1, 0x14]
|
||||||
bl sub_81245DC
|
bl sub_81245DC
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA16B
|
ldr r1, =gText_EscapeFromHere
|
||||||
_081B55E8:
|
_081B55E8:
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
@ -11562,102 +11562,102 @@ _081B6334:
|
|||||||
.4byte _081B64A8
|
.4byte _081B64A8
|
||||||
_081B6380:
|
_081B6380:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9C3E
|
ldr r1, =gText_PkmnCuredOfPoison
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B6394:
|
_081B6394:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9C7C
|
ldr r1, =gText_PkmnWokeUp2
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B63A8:
|
_081B63A8:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9C8A
|
ldr r1, =gText_PkmnBurnHealed
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B63BC:
|
_081B63BC:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9CA2
|
ldr r1, =gText_PkmnThawedOut
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B63D0:
|
_081B63D0:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9C5F
|
ldr r1, =gText_PkmnCuredOfParalysis
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B63E4:
|
_081B63E4:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9DBE
|
ldr r1, =gText_PkmnSnappedOutOfConfusion
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B63F8:
|
_081B63F8:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9DE1
|
ldr r1, =gText_PkmnGotOverInfatuation
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B640C:
|
_081B640C:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9CE0
|
ldr r1, =gText_PkmnBecameHealthy
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B6420:
|
_081B6420:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085E96E3
|
ldr r1, =gText_HP3
|
||||||
b _081B6474
|
b _081B6474
|
||||||
.pool
|
.pool
|
||||||
_081B6430:
|
_081B6430:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085EA33C
|
ldr r1, =gText_Attack3
|
||||||
b _081B6474
|
b _081B6474
|
||||||
.pool
|
.pool
|
||||||
_081B6440:
|
_081B6440:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085EA343
|
ldr r1, =gText_Defense3
|
||||||
b _081B6474
|
b _081B6474
|
||||||
.pool
|
.pool
|
||||||
_081B6450:
|
_081B6450:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085EA35B
|
ldr r1, =gText_Speed2
|
||||||
b _081B6474
|
b _081B6474
|
||||||
.pool
|
.pool
|
||||||
_081B6460:
|
_081B6460:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085E96E6
|
ldr r1, =gText_SpAtk3
|
||||||
b _081B6474
|
b _081B6474
|
||||||
.pool
|
.pool
|
||||||
_081B6470:
|
_081B6470:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085E96EE
|
ldr r1, =gText_SpDef3
|
||||||
_081B6474:
|
_081B6474:
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9D25
|
ldr r1, =gText_PkmnBaseVar2StatIncreased
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B6494:
|
_081B6494:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9CF5
|
ldr r1, =gText_MovesPPIncreased
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B64A8:
|
_081B64A8:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9CB7
|
ldr r1, =gText_PPWasRestored
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B64C4
|
b _081B64C4
|
||||||
.pool
|
.pool
|
||||||
_081B64BC:
|
_081B64BC:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E96F6
|
ldr r1, =gText_WontHaveEffect
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081B64C4:
|
_081B64C4:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -11830,7 +11830,7 @@ _081B6600:
|
|||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r0, =gUnknown_085E96F6
|
ldr r0, =gText_WontHaveEffect
|
||||||
b _081B66F4
|
b _081B66F4
|
||||||
.pool
|
.pool
|
||||||
_081B6624:
|
_081B6624:
|
||||||
@ -11964,7 +11964,7 @@ sub_81B672C: @ 81B672C
|
|||||||
ldr r1, =gStringVar1
|
ldr r1, =gStringVar1
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9C17
|
ldr r1, =gText_PkmnHPRestoredByVar2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -12083,7 +12083,7 @@ _081B6850:
|
|||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r0, =gUnknown_085E96F6
|
ldr r0, =gText_WontHaveEffect
|
||||||
b _081B68E2
|
b _081B68E2
|
||||||
.pool
|
.pool
|
||||||
_081B6874:
|
_081B6874:
|
||||||
@ -12108,19 +12108,19 @@ _081B6874:
|
|||||||
cmp r0, r8
|
cmp r0, r8
|
||||||
beq _081B68C4
|
beq _081B68C4
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9D45
|
ldr r1, =gText_PkmnFriendlyBaseVar2Fell
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B68E0
|
b _081B68E0
|
||||||
.pool
|
.pool
|
||||||
_081B68C4:
|
_081B68C4:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9D90
|
ldr r1, =gText_PkmnFriendlyBaseVar2CantFall
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081B68E0
|
b _081B68E0
|
||||||
.pool
|
.pool
|
||||||
_081B68D8:
|
_081B68D8:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9D6D
|
ldr r1, =gText_PkmnAdoresBaseVar2Fell
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081B68E0:
|
_081B68E0:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
@ -12239,30 +12239,30 @@ _081B69B8:
|
|||||||
.4byte _081B69E8
|
.4byte _081B69E8
|
||||||
.4byte _081B69E0
|
.4byte _081B69E0
|
||||||
_081B69D0:
|
_081B69D0:
|
||||||
ldr r1, =gUnknown_085E96E3
|
ldr r1, =gText_HP3
|
||||||
b _081B69F2
|
b _081B69F2
|
||||||
.pool
|
.pool
|
||||||
_081B69D8:
|
_081B69D8:
|
||||||
ldr r1, =gUnknown_085EA33C
|
ldr r1, =gText_Attack3
|
||||||
b _081B69F2
|
b _081B69F2
|
||||||
.pool
|
.pool
|
||||||
_081B69E0:
|
_081B69E0:
|
||||||
ldr r1, =gUnknown_085EA343
|
ldr r1, =gText_Defense3
|
||||||
b _081B69F2
|
b _081B69F2
|
||||||
.pool
|
.pool
|
||||||
_081B69E8:
|
_081B69E8:
|
||||||
ldr r1, =gUnknown_085EA35B
|
ldr r1, =gText_Speed2
|
||||||
b _081B69F2
|
b _081B69F2
|
||||||
.pool
|
.pool
|
||||||
_081B69F0:
|
_081B69F0:
|
||||||
ldr r1, =gUnknown_085E96E6
|
ldr r1, =gText_SpAtk3
|
||||||
_081B69F2:
|
_081B69F2:
|
||||||
adds r0, r2, 0
|
adds r0, r2, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _081B6A08
|
b _081B6A08
|
||||||
.pool
|
.pool
|
||||||
_081B6A00:
|
_081B6A00:
|
||||||
ldr r1, =gUnknown_085E96EE
|
ldr r1, =gText_SpDef3
|
||||||
adds r0, r2, 0
|
adds r0, r2, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_081B6A08:
|
_081B6A08:
|
||||||
@ -12517,7 +12517,7 @@ ether_effect_related: @ 81B6BEC
|
|||||||
strb r4, [r0]
|
strb r4, [r0]
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
ldr r0, =gUnknown_085E96F6
|
ldr r0, =gText_WontHaveEffect
|
||||||
b _081B6C7E
|
b _081B6C7E
|
||||||
.pool
|
.pool
|
||||||
_081B6C34:
|
_081B6C34:
|
||||||
@ -12775,18 +12775,18 @@ sub_81B6DC4: @ 81B6DC4
|
|||||||
b _081B6E9C
|
b _081B6E9C
|
||||||
.pool
|
.pool
|
||||||
_081B6E70:
|
_081B6E70:
|
||||||
ldr r1, =gUnknown_085E9AB4
|
ldr r1, =gText_PkmnCantLearnMove
|
||||||
b _081B6E7A
|
b _081B6E7A
|
||||||
.pool
|
.pool
|
||||||
_081B6E78:
|
_081B6E78:
|
||||||
ldr r1, =gUnknown_085E9C00
|
ldr r1, =gText_PkmnAlreadyKnows
|
||||||
_081B6E7A:
|
_081B6E7A:
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl sub_81B6D98
|
bl sub_81B6D98
|
||||||
b _081B6E9C
|
b _081B6E9C
|
||||||
.pool
|
.pool
|
||||||
_081B6E88:
|
_081B6E88:
|
||||||
ldr r0, =gUnknown_085E9AE9
|
ldr r0, =gText_PkmnNeedsToReplaceMove
|
||||||
bl sub_81B6D74
|
bl sub_81B6D74
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
lsls r0, r6, 2
|
lsls r0, r6, 2
|
||||||
@ -12847,7 +12847,7 @@ _081B6EF0:
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9AA5
|
ldr r1, =gText_PkmnLearnedMove3
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -12987,7 +12987,7 @@ _081B7048:
|
|||||||
beq _081B707A
|
beq _081B707A
|
||||||
b _081B7080
|
b _081B7080
|
||||||
_081B704E:
|
_081B704E:
|
||||||
ldr r0, =gUnknown_085E9B96
|
ldr r0, =gText_WhichMoveToForget
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
@ -13142,7 +13142,7 @@ sub_81B7154: @ 81B7154
|
|||||||
ldr r2, =gMoveNames
|
ldr r2, =gMoveNames
|
||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =gUnknown_085E9BB8
|
ldr r0, =gText_12PoofForgotMove
|
||||||
bl sub_81B6D74
|
bl sub_81B6D74
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
lsls r0, r6, 2
|
lsls r0, r6, 2
|
||||||
@ -13214,7 +13214,7 @@ sub_81B7230: @ 81B7230
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9B5D
|
ldr r1, =gText_StopLearningMove2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -13302,7 +13302,7 @@ _081B7306:
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9B76
|
ldr r1, =gText_MoveNotLearned
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -13352,7 +13352,7 @@ _081B7392:
|
|||||||
ldr r2, =gMoveNames
|
ldr r2, =gMoveNames
|
||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =gUnknown_085E9AE9
|
ldr r0, =gText_PkmnNeedsToReplaceMove
|
||||||
bl sub_81B6D74
|
bl sub_81B6D74
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
lsls r0, r6, 2
|
lsls r0, r6, 2
|
||||||
@ -13444,7 +13444,7 @@ _081B747A:
|
|||||||
ldr r1, =gUnknown_0203CEE8
|
ldr r1, =gUnknown_0203CEE8
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r0, =gUnknown_085E96F6
|
ldr r0, =gText_WontHaveEffect
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -13484,7 +13484,7 @@ _081B74B4:
|
|||||||
movs r3, 0x3
|
movs r3, 0x3
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9D0A
|
ldr r1, =gText_PkmnElevatedToLvVar2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -13915,7 +13915,7 @@ sub_81B787C: @ 81B787C
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9AE9
|
ldr r1, =gText_PkmnNeedsToReplaceMove
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -13969,7 +13969,7 @@ sub_81B7910: @ 81B7910
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9AA5
|
ldr r1, =gText_PkmnLearnedMove3
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -14225,7 +14225,7 @@ _081B7B82:
|
|||||||
bne _081B7BC8
|
bne _081B7BC8
|
||||||
ldr r0, =gUnknown_0203CEE8
|
ldr r0, =gUnknown_0203CEE8
|
||||||
strb r1, [r0]
|
strb r1, [r0]
|
||||||
ldr r0, =gUnknown_085E96F6
|
ldr r0, =gText_WontHaveEffect
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -14278,7 +14278,7 @@ sub_81B7C10: @ 81B7C10
|
|||||||
ldr r1, =gStringVar1
|
ldr r1, =gStringVar1
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9C17
|
ldr r1, =gText_PkmnHPRestoredByVar2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -14322,7 +14322,7 @@ sub_81B7C74: @ 81B7C74
|
|||||||
ldr r1, =gUnknown_0203CEE8
|
ldr r1, =gUnknown_0203CEE8
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r0, =gUnknown_085E96F6
|
ldr r0, =gText_WontHaveEffect
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -14613,18 +14613,18 @@ sub_81B7E4C: @ 81B7E4C
|
|||||||
b _081B7F1C
|
b _081B7F1C
|
||||||
.pool
|
.pool
|
||||||
_081B7EF0:
|
_081B7EF0:
|
||||||
ldr r1, =gUnknown_085E9AB4
|
ldr r1, =gText_PkmnCantLearnMove
|
||||||
b _081B7EFA
|
b _081B7EFA
|
||||||
.pool
|
.pool
|
||||||
_081B7EF8:
|
_081B7EF8:
|
||||||
ldr r1, =gUnknown_085E9C00
|
ldr r1, =gText_PkmnAlreadyKnows
|
||||||
_081B7EFA:
|
_081B7EFA:
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl sub_81B6D98
|
bl sub_81B6D98
|
||||||
b _081B7F1C
|
b _081B7F1C
|
||||||
.pool
|
.pool
|
||||||
_081B7F08:
|
_081B7F08:
|
||||||
ldr r0, =gUnknown_085E9AE9
|
ldr r0, =gText_PkmnNeedsToReplaceMove
|
||||||
bl sub_81B6D74
|
bl sub_81B6D74
|
||||||
ldr r1, =gTasks
|
ldr r1, =gTasks
|
||||||
lsls r0, r6, 2
|
lsls r0, r6, 2
|
||||||
@ -15152,7 +15152,7 @@ sub_81B83B8: @ 81B83B8
|
|||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
lsls r4, 24
|
lsls r4, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r0, =gUnknown_085E98EC
|
ldr r0, =gText_RemoveMailBeforeItem
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -15273,7 +15273,7 @@ sub_81B8474: @ 81B8474
|
|||||||
bl GetMonData
|
bl GetMonData
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _081B84DC
|
beq _081B84DC
|
||||||
ldr r0, =gUnknown_085E9A08
|
ldr r0, =gText_PkmnHoldingItemCantHoldMail
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
b _081B84F2
|
b _081B84F2
|
||||||
@ -15284,7 +15284,7 @@ _081B84DC:
|
|||||||
bl sub_80D460C
|
bl sub_80D460C
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl sub_80D439C
|
bl sub_80D439C
|
||||||
ldr r0, =gUnknown_085E9A40
|
ldr r0, =gText_MailTransferredFromMailbox
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81B1B5C
|
bl sub_81B1B5C
|
||||||
_081B84F2:
|
_081B84F2:
|
||||||
@ -15785,7 +15785,7 @@ sub_81B88BC: @ 81B88BC
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bhi _081B88E0
|
bhi _081B88E0
|
||||||
ldr r0, =gUnknown_085EA126
|
ldr r0, =gText_CancelBattle
|
||||||
b _081B88FA
|
b _081B88FA
|
||||||
.pool
|
.pool
|
||||||
_081B88E0:
|
_081B88E0:
|
||||||
@ -15795,11 +15795,11 @@ _081B88E0:
|
|||||||
ldrh r0, [r0]
|
ldrh r0, [r0]
|
||||||
cmp r0, 0x2
|
cmp r0, 0x2
|
||||||
bne _081B88F8
|
bne _081B88F8
|
||||||
ldr r0, =gUnknown_085EA139
|
ldr r0, =gText_ReturnToWaitingRoom
|
||||||
b _081B88FA
|
b _081B88FA
|
||||||
.pool
|
.pool
|
||||||
_081B88F8:
|
_081B88F8:
|
||||||
ldr r0, =gUnknown_085EA155
|
ldr r0, =gText_CancelChallenge
|
||||||
_081B88FA:
|
_081B88FA:
|
||||||
pop {r1}
|
pop {r1}
|
||||||
bx r1
|
bx r1
|
||||||
@ -16015,7 +16015,7 @@ _081B8AA2:
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E97B2
|
ldr r1, =gText_CantSwitchWithAlly
|
||||||
b _081B8C42
|
b _081B8C42
|
||||||
.pool
|
.pool
|
||||||
_081B8AC4:
|
_081B8AC4:
|
||||||
@ -16033,7 +16033,7 @@ _081B8AC4:
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E978F
|
ldr r1, =gText_PkmnHasNoEnergy
|
||||||
b _081B8C42
|
b _081B8C42
|
||||||
.pool
|
.pool
|
||||||
_081B8AF8:
|
_081B8AF8:
|
||||||
@ -16076,7 +16076,7 @@ _081B8B24:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _081B8B60
|
beq _081B8B60
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E97E5
|
ldr r1, =gText_EggCantBattle
|
||||||
b _081B8C42
|
b _081B8C42
|
||||||
.pool
|
.pool
|
||||||
_081B8B60:
|
_081B8B60:
|
||||||
@ -16094,7 +16094,7 @@ _081B8B60:
|
|||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E976F
|
ldr r1, =gText_PkmnAlreadySelected
|
||||||
b _081B8C42
|
b _081B8C42
|
||||||
.pool
|
.pool
|
||||||
_081B8B94:
|
_081B8B94:
|
||||||
@ -16144,7 +16144,7 @@ _081B8BFC:
|
|||||||
ldr r1, =gStringVar1
|
ldr r1, =gStringVar1
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9754
|
ldr r1, =gText_PkmnAlreadyInBattle
|
||||||
b _081B8C42
|
b _081B8C42
|
||||||
.pool
|
.pool
|
||||||
_081B8C20:
|
_081B8C20:
|
||||||
@ -16162,7 +16162,7 @@ _081B8C20:
|
|||||||
ldr r1, =gStringVar1
|
ldr r1, =gStringVar1
|
||||||
bl GetMonNickname
|
bl GetMonNickname
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9738
|
ldr r1, =gText_PkmnCantSwitchOut
|
||||||
_081B8C42:
|
_081B8C42:
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_081B8C46:
|
_081B8C46:
|
||||||
|
@ -309,7 +309,7 @@ sub_816B0A8: @ 816B0A8
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0816B0D8
|
bne _0816B0D8
|
||||||
ldr r1, =gUnknown_085EAC4B
|
ldr r1, =gText_NoMailHere
|
||||||
ldr r2, =sub_816B060
|
ldr r2, =sub_816B060
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
@ -344,7 +344,7 @@ _0816B0D8:
|
|||||||
b _0816B12A
|
b _0816B12A
|
||||||
.pool
|
.pool
|
||||||
_0816B120:
|
_0816B120:
|
||||||
ldr r1, =gUnknown_085EAC4B
|
ldr r1, =gText_NoMailHere
|
||||||
ldr r2, =sub_816B060
|
ldr r2, =sub_816B060
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
@ -661,7 +661,7 @@ sub_816B398: @ 816B398
|
|||||||
_0816B3C4:
|
_0816B3C4:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl sub_816B4DC
|
bl sub_816B4DC
|
||||||
ldr r1, =gUnknown_085EABD1
|
ldr r1, =gText_NoItems
|
||||||
ldr r2, =task_pc_itemstorage
|
ldr r2, =task_pc_itemstorage
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
@ -696,7 +696,7 @@ sub_816B3E4: @ 816B3E4
|
|||||||
_0816B410:
|
_0816B410:
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl sub_816B4DC
|
bl sub_816B4DC
|
||||||
ldr r1, =gUnknown_085EABD1
|
ldr r1, =gText_NoItems
|
||||||
ldr r2, =task_pc_itemstorage
|
ldr r2, =task_pc_itemstorage
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
@ -950,7 +950,7 @@ sub_816B5F8: @ 816B5F8
|
|||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
bl sub_81D1C84
|
bl sub_81D1C84
|
||||||
ldr r6, =gUnknown_085EAB4E
|
ldr r6, =gText_Mailbox
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r6, 0
|
adds r1, r6, 0
|
||||||
movs r2, 0x40
|
movs r2, 0x40
|
||||||
@ -1098,7 +1098,7 @@ sub_816B730: @ 816B730
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81DB554
|
bl sub_81DB554
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EAC63
|
ldr r1, =gText_WhatToDoWithVar1sMail
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_816B7DC
|
ldr r2, =sub_816B7DC
|
||||||
@ -1345,7 +1345,7 @@ sub_816B994: @ 816B994
|
|||||||
push {lr}
|
push {lr}
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
ldr r1, =gUnknown_085EAC8D
|
ldr r1, =gText_MessageWillBeLost
|
||||||
ldr r2, =sub_816B9B0
|
ldr r2, =sub_816B9B0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -1432,14 +1432,14 @@ sub_816BA18: @ 816BA18
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0816BA68
|
bne _0816BA68
|
||||||
ldr r1, =gUnknown_085EACB5
|
ldr r1, =gText_BagIsFull
|
||||||
ldr r2, =sub_816BBD4
|
ldr r2, =sub_816BBD4
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
b _0816BA9C
|
b _0816BA9C
|
||||||
.pool
|
.pool
|
||||||
_0816BA68:
|
_0816BA68:
|
||||||
ldr r1, =gUnknown_085EACC8
|
ldr r1, =gText_MailToBagMessageErased
|
||||||
ldr r2, =sub_816BBD4
|
ldr r2, =sub_816BBD4
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
@ -2293,10 +2293,10 @@ _0816C16C:
|
|||||||
bls _0816C16C
|
bls _0816C16C
|
||||||
movs r1, 0x6
|
movs r1, 0x6
|
||||||
ldrsh r0, [r7, r1]
|
ldrsh r0, [r7, r1]
|
||||||
ldr r5, =gUnknown_085EAB71
|
ldr r5, =gText_TossItem
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0816C186
|
bne _0816C186
|
||||||
ldr r5, =gUnknown_085EAB63
|
ldr r5, =gText_WithdrawItem
|
||||||
_0816C186:
|
_0816C186:
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
@ -2383,11 +2383,11 @@ _0816C26C:
|
|||||||
b _0816C2BA
|
b _0816C2BA
|
||||||
.pool
|
.pool
|
||||||
_0816C274:
|
_0816C274:
|
||||||
ldr r0, =gUnknown_085EAC09
|
ldr r0, =gText_WithdrawHowManyItems
|
||||||
b _0816C2BA
|
b _0816C2BA
|
||||||
.pool
|
.pool
|
||||||
_0816C27C:
|
_0816C27C:
|
||||||
ldr r0, =gUnknown_085EAC22
|
ldr r0, =gText_WithdrawXItems
|
||||||
b _0816C2BA
|
b _0816C2BA
|
||||||
.pool
|
.pool
|
||||||
_0816C284:
|
_0816C284:
|
||||||
@ -2399,7 +2399,7 @@ _0816C28C:
|
|||||||
b _0816C2BA
|
b _0816C2BA
|
||||||
.pool
|
.pool
|
||||||
_0816C294:
|
_0816C294:
|
||||||
ldr r0, =gUnknown_085EABE7
|
ldr r0, =gText_NoRoomInBag
|
||||||
b _0816C2BA
|
b _0816C2BA
|
||||||
.pool
|
.pool
|
||||||
_0816C29C:
|
_0816C29C:
|
||||||
|
@ -718,7 +718,7 @@ sub_817A1C4: @ 817A1C4
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0817A248
|
bne _0817A248
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E937F
|
ldr r1, =gText_Var1AteTheVar2
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _0817A268
|
b _0817A268
|
||||||
.pool
|
.pool
|
||||||
@ -726,13 +726,13 @@ _0817A248:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
ble _0817A260
|
ble _0817A260
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9390
|
ldr r1, =gText_Var1HappilyAteVar2
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _0817A268
|
b _0817A268
|
||||||
.pool
|
.pool
|
||||||
_0817A260:
|
_0817A260:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E93A9
|
ldr r1, =gText_Var1DisdainfullyAteVar2
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_0817A268:
|
_0817A268:
|
||||||
ldr r2, =gTextFlags
|
ldr r2, =gTextFlags
|
||||||
|
@ -586,7 +586,7 @@ _080C73F6:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EBCAD
|
ldr r2, =gText_PartyFull
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
@ -609,7 +609,7 @@ _080C7428:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r2, =gUnknown_085EBC89
|
ldr r2, =gText_JustOnePkmn
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
@ -1020,7 +1020,7 @@ _080C779E:
|
|||||||
lsls r0, r5, 24
|
lsls r0, r5, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
bl sav3_get_box_name
|
bl sav3_get_box_name
|
||||||
ldr r1, =gUnknown_085EBCC1
|
ldr r1, =gText_Box
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r4, r5, 0x1
|
adds r4, r5, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
|
@ -5413,7 +5413,7 @@ _081C284A:
|
|||||||
sub_81C286C: @ 81C286C
|
sub_81C286C: @ 81C286C
|
||||||
push {r4-r7,lr}
|
push {r4-r7,lr}
|
||||||
sub sp, 0x8
|
sub sp, 0x8
|
||||||
ldr r1, =gUnknown_085EA3CF
|
ldr r1, =gText_PkmnInfo
|
||||||
movs r5, 0
|
movs r5, 0
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
movs r6, 0x1
|
movs r6, 0x1
|
||||||
@ -5422,21 +5422,21 @@ sub_81C286C: @ 81C286C
|
|||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA3DC
|
ldr r1, =gText_PkmnSkills
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA3EB
|
ldr r1, =gText_BattleMoves
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA3F8
|
ldr r1, =gText_ContestMoves
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
@ -5466,7 +5466,7 @@ _081C28CC:
|
|||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r7, =gUnknown_085EA406
|
ldr r7, =gText_Info
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r2, 0x3E
|
movs r2, 0x3E
|
||||||
@ -5489,7 +5489,7 @@ _081C28FE:
|
|||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r7, =gUnknown_085EA3C8
|
ldr r7, =gText_Switch
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r2, 0x3E
|
movs r2, 0x3E
|
||||||
@ -5512,21 +5512,21 @@ _081C2930:
|
|||||||
adds r1, r7, 0
|
adds r1, r7, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA369
|
ldr r1, =gText_RentalPkmn
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0x8
|
movs r0, 0x8
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA378
|
ldr r1, =gText_TypeSlash
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
movs r0, 0x9
|
movs r0, 0x9
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r4, =gUnknown_085EA361
|
ldr r4, =gText_HP4
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x2A
|
movs r2, 0x2A
|
||||||
@ -5540,7 +5540,7 @@ _081C2930:
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r4, =gUnknown_085EA33C
|
ldr r4, =gText_Attack3
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x2A
|
movs r2, 0x2A
|
||||||
@ -5554,7 +5554,7 @@ _081C2930:
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r3, 0x11
|
movs r3, 0x11
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r4, =gUnknown_085EA343
|
ldr r4, =gText_Defense3
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x2A
|
movs r2, 0x2A
|
||||||
@ -5568,7 +5568,7 @@ _081C2930:
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r3, 0x21
|
movs r3, 0x21
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r4, =gUnknown_085EA34B
|
ldr r4, =gText_SpAtk4
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x24
|
movs r2, 0x24
|
||||||
@ -5582,7 +5582,7 @@ _081C2930:
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r4, =gUnknown_085EA353
|
ldr r4, =gText_SpDef4
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x24
|
movs r2, 0x24
|
||||||
@ -5596,7 +5596,7 @@ _081C2930:
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r3, 0x11
|
movs r3, 0x11
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r4, =gUnknown_085EA35B
|
ldr r4, =gText_Speed2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x24
|
movs r2, 0x24
|
||||||
@ -5610,49 +5610,49 @@ _081C2930:
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r3, 0x21
|
movs r3, 0x21
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA39F
|
ldr r1, =gText_ExpPoints
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0xC
|
movs r0, 0xC
|
||||||
movs r2, 0x6
|
movs r2, 0x6
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA3AB
|
ldr r1, =gText_NextLv
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0xC
|
movs r0, 0xC
|
||||||
movs r2, 0x6
|
movs r2, 0x6
|
||||||
movs r3, 0x11
|
movs r3, 0x11
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA398
|
ldr r1, =gText_Status
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0xD
|
movs r0, 0xD
|
||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA37E
|
ldr r1, =gText_Power
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0xE
|
movs r0, 0xE
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA384
|
ldr r1, =gText_Accuracy2
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0xE
|
movs r0, 0xE
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x11
|
movs r3, 0x11
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA38D
|
ldr r1, =gText_Appeal
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0xF
|
movs r0, 0xF
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x1
|
movs r3, 0x1
|
||||||
bl sub_81C25A4
|
bl sub_81C25A4
|
||||||
ldr r1, =gUnknown_085EA394
|
ldr r1, =gText_Jam
|
||||||
str r5, [sp]
|
str r5, [sp]
|
||||||
str r6, [sp, 0x4]
|
str r6, [sp, 0x4]
|
||||||
movs r0, 0xF
|
movs r0, 0xF
|
||||||
@ -6126,7 +6126,7 @@ sub_81C2EC4: @ 81C2EC4
|
|||||||
bl sub_81C2D2C
|
bl sub_81C2D2C
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r5, r0, 24
|
lsrs r5, r0, 24
|
||||||
ldr r4, =gUnknown_085EA365
|
ldr r4, =gText_OTSlash
|
||||||
movs r6, 0
|
movs r6, 0
|
||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -6335,7 +6335,7 @@ sub_81C307C: @ 81C307C
|
|||||||
bne _081C30E0
|
bne _081C30E0
|
||||||
_081C30C2:
|
_081C30C2:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA5DB
|
ldr r1, =gText_XNature
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
b _081C3182
|
b _081C3182
|
||||||
.pool
|
.pool
|
||||||
@ -6367,25 +6367,25 @@ _081C310C:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _081C3134
|
bne _081C3134
|
||||||
ldrb r0, [r4, 0x9]
|
ldrb r0, [r4, 0x9]
|
||||||
ldr r1, =gUnknown_085EA516
|
ldr r1, =gText_XNatureHatchedAtYZ
|
||||||
cmp r0, 0xD4
|
cmp r0, 0xD4
|
||||||
bls _081C3170
|
bls _081C3170
|
||||||
ldr r1, =gUnknown_085EA617
|
ldr r1, =gText_XNatureHatchedSomewhereAt
|
||||||
b _081C3170
|
b _081C3170
|
||||||
.pool
|
.pool
|
||||||
_081C3134:
|
_081C3134:
|
||||||
ldrb r0, [r4, 0x9]
|
ldrb r0, [r4, 0x9]
|
||||||
ldr r1, =gUnknown_085EA4EC
|
ldr r1, =gText_XNatureMetAtYZ
|
||||||
cmp r0, 0xD4
|
cmp r0, 0xD4
|
||||||
bls _081C3170
|
bls _081C3170
|
||||||
ldr r1, =gUnknown_085EA5EB
|
ldr r1, =gText_XNatureMetSomewhereAt
|
||||||
b _081C3170
|
b _081C3170
|
||||||
.pool
|
.pool
|
||||||
_081C3148:
|
_081C3148:
|
||||||
ldrb r0, [r4, 0x9]
|
ldrb r0, [r4, 0x9]
|
||||||
cmp r0, 0xFF
|
cmp r0, 0xFF
|
||||||
bne _081C3158
|
bne _081C3158
|
||||||
ldr r1, =gUnknown_085EA56A
|
ldr r1, =gText_XNatureFatefulEncounter
|
||||||
b _081C3170
|
b _081C3170
|
||||||
.pool
|
.pool
|
||||||
_081C3158:
|
_081C3158:
|
||||||
@ -6396,11 +6396,11 @@ _081C3158:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _081C316E
|
beq _081C316E
|
||||||
ldrb r0, [r4, 0x9]
|
ldrb r0, [r4, 0x9]
|
||||||
ldr r1, =gUnknown_085EA5A8
|
ldr r1, =gText_XNatureProbablyMetAt
|
||||||
cmp r0, 0xD4
|
cmp r0, 0xD4
|
||||||
bls _081C3170
|
bls _081C3170
|
||||||
_081C316E:
|
_081C316E:
|
||||||
ldr r1, =gUnknown_085EA544
|
ldr r1, =gText_XNatureObtainedInTrade
|
||||||
_081C3170:
|
_081C3170:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
@ -6449,7 +6449,7 @@ sub_81C31C0: @ 81C31C0
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r1, =gUnknown_085EA3C0
|
ldr r1, =gText_EmptyString5
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -6649,7 +6649,7 @@ sub_81C335C: @ 81C335C
|
|||||||
adds r4, r0, 0
|
adds r4, r0, 0
|
||||||
lsls r4, 24
|
lsls r4, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r0, =gUnknown_085EA365
|
ldr r0, =gText_OTSlash
|
||||||
mov r8, r0
|
mov r8, r0
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
@ -6736,27 +6736,27 @@ sub_81C3428: @ 81C3428
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081C3448
|
bne _081C3448
|
||||||
ldr r4, =gUnknown_085EA40B
|
ldr r4, =gText_EggWillTakeALongTime
|
||||||
b _081C346C
|
b _081C346C
|
||||||
.pool
|
.pool
|
||||||
_081C3448:
|
_081C3448:
|
||||||
ldrh r0, [r1, 0x30]
|
ldrh r0, [r1, 0x30]
|
||||||
cmp r0, 0x5
|
cmp r0, 0x5
|
||||||
bhi _081C3458
|
bhi _081C3458
|
||||||
ldr r4, =gUnknown_085EA4A2
|
ldr r4, =gText_EggAboutToHatch
|
||||||
b _081C346C
|
b _081C346C
|
||||||
.pool
|
.pool
|
||||||
_081C3458:
|
_081C3458:
|
||||||
cmp r0, 0xA
|
cmp r0, 0xA
|
||||||
bhi _081C3464
|
bhi _081C3464
|
||||||
ldr r4, =gUnknown_085EA475
|
ldr r4, =gText_EggWillHatchSoon
|
||||||
b _081C346C
|
b _081C346C
|
||||||
.pool
|
.pool
|
||||||
_081C3464:
|
_081C3464:
|
||||||
ldr r4, =gUnknown_085EA40B
|
ldr r4, =gText_EggWillTakeALongTime
|
||||||
cmp r0, 0x28
|
cmp r0, 0x28
|
||||||
bhi _081C346C
|
bhi _081C346C
|
||||||
ldr r4, =gUnknown_085EA442
|
ldr r4, =gText_EggWillTakeSomeTime
|
||||||
_081C346C:
|
_081C346C:
|
||||||
ldr r0, =gUnknown_0861CCCC
|
ldr r0, =gUnknown_0861CCCC
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
@ -6792,7 +6792,7 @@ sub_81C349C: @ 81C349C
|
|||||||
ldrb r0, [r4, 0x9]
|
ldrb r0, [r4, 0x9]
|
||||||
cmp r0, 0xFF
|
cmp r0, 0xFF
|
||||||
bne _081C34C4
|
bne _081C34C4
|
||||||
ldr r4, =gUnknown_085EA678
|
ldr r4, =gText_PeculiarEggNicePlace
|
||||||
b _081C3502
|
b _081C3502
|
||||||
.pool
|
.pool
|
||||||
_081C34C4:
|
_081C34C4:
|
||||||
@ -6805,7 +6805,7 @@ _081C34C4:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _081C34E0
|
bne _081C34E0
|
||||||
_081C34D8:
|
_081C34D8:
|
||||||
ldr r4, =gUnknown_085EA6AB
|
ldr r4, =gText_PeculiarEggTrade
|
||||||
b _081C3502
|
b _081C3502
|
||||||
.pool
|
.pool
|
||||||
_081C34E0:
|
_081C34E0:
|
||||||
@ -6815,14 +6815,14 @@ _081C34E0:
|
|||||||
bl sub_81C32E0
|
bl sub_81C32E0
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
ldr r4, =gUnknown_085EA702
|
ldr r4, =gText_EggFromTraveler
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _081C3502
|
bne _081C3502
|
||||||
ldr r4, =gUnknown_085EA6D7
|
ldr r4, =gText_EggFromHotSprings
|
||||||
b _081C3502
|
b _081C3502
|
||||||
.pool
|
.pool
|
||||||
_081C3500:
|
_081C3500:
|
||||||
ldr r4, =gUnknown_085EA647
|
ldr r4, =gText_OddEggFoundByCouple
|
||||||
_081C3502:
|
_081C3502:
|
||||||
ldr r0, =gUnknown_0861CCCC
|
ldr r0, =gUnknown_0861CCCC
|
||||||
movs r1, 0x3
|
movs r1, 0x3
|
||||||
@ -7021,7 +7021,7 @@ _081C36B0:
|
|||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA3B4
|
ldr r1, =gText_RibbonsVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r5, r4, 0
|
adds r5, r4, 0
|
||||||
@ -8201,7 +8201,7 @@ sub_81C4154: @ 81C4154
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r1, =gUnknown_085EA4CB
|
ldr r1, =gText_HMMovesCantBeForgotten2
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
@ -10430,7 +10430,7 @@ sub_81C540C: @ 81C540C
|
|||||||
ldr r1, =gStringVar2
|
ldr r1, =gStringVar2
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl CopyItemName
|
bl CopyItemName
|
||||||
ldr r1, =gUnknown_085E9210
|
ldr r1, =gText_UnkF908Var1Clear7Var2
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _081C5458
|
b _081C5458
|
||||||
@ -10635,7 +10635,7 @@ sub_81C55D8: @ 81C55D8
|
|||||||
.pool
|
.pool
|
||||||
_081C561C:
|
_081C561C:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r2, =gUnknown_085E91B0
|
ldr r2, =gReturnToXStringsTable2
|
||||||
ldr r1, =gUnknown_0203CF30
|
ldr r1, =gUnknown_0203CF30
|
||||||
ldrb r1, [r1, 0x4]
|
ldrb r1, [r1, 0x4]
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
|
@ -6860,7 +6860,7 @@ sub_81CA770: @ 81CA770
|
|||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
bl sub_81C763C
|
bl sub_81C763C
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
ldr r6, =gUnknown_085EBD4A
|
ldr r6, =gText_NoRibbonWinners
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
negs r2, r2
|
negs r2, r2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@ -7928,7 +7928,7 @@ sub_81CAF78: @ 81CAF78
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _081CAFA4
|
bne _081CAFA4
|
||||||
ldr r0, =gUnknown_085EEB0B
|
ldr r0, =gText_CallCantBeMadeHere
|
||||||
b _081CAFCE
|
b _081CAFCE
|
||||||
.pool
|
.pool
|
||||||
_081CAFA4:
|
_081CAFA4:
|
||||||
@ -9748,7 +9748,7 @@ sub_81CBDF4: @ 81CBDF4
|
|||||||
push {lr}
|
push {lr}
|
||||||
lsls r0, 16
|
lsls r0, 16
|
||||||
lsrs r0, 16
|
lsrs r0, 16
|
||||||
ldr r1, =gUnknown_085EBE5F
|
ldr r1, =gText_NumberRegistered
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_81CBE88
|
bl sub_81CBE88
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -9784,7 +9784,7 @@ sub_81CBE38: @ 81CBE38
|
|||||||
push {lr}
|
push {lr}
|
||||||
lsls r0, 16
|
lsls r0, 16
|
||||||
lsrs r0, 16
|
lsrs r0, 16
|
||||||
ldr r1, =gUnknown_085EBE6E
|
ldr r1, =gText_NumberOfBattles
|
||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
bl sub_81CBE88
|
bl sub_81CBE88
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -9900,7 +9900,7 @@ sub_81CBEF8: @ 81CBEF8
|
|||||||
bl GetMapName
|
bl GetMapName
|
||||||
b _081CBF24
|
b _081CBF24
|
||||||
_081CBF1C:
|
_081CBF1C:
|
||||||
ldr r1, =gUnknown_085EC00F
|
ldr r1, =gText_Unknown
|
||||||
add r0, sp, 0xC
|
add r0, sp, 0xC
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_081CBF24:
|
_081CBF24:
|
||||||
@ -10168,7 +10168,7 @@ sub_81CC11C: @ 81CC11C
|
|||||||
push {lr}
|
push {lr}
|
||||||
sub sp, 0xC
|
sub sp, 0xC
|
||||||
ldrb r0, [r0, 0x14]
|
ldrb r0, [r0, 0x14]
|
||||||
ldr r2, =gUnknown_085EBF95
|
ldr r2, =gText_TrainerCloseBy
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
@ -13128,7 +13128,7 @@ _081CD862:
|
|||||||
adds r0, r4, r5
|
adds r0, r4, r5
|
||||||
ldr r1, =0x00006325
|
ldr r1, =0x00006325
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085EBFCE
|
ldr r1, =gText_InParty
|
||||||
b _081CD8F4
|
b _081CD8F4
|
||||||
.pool
|
.pool
|
||||||
_081CD8E4:
|
_081CD8E4:
|
||||||
@ -14829,7 +14829,7 @@ sub_81CE738: @ 81CE738
|
|||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085EBFD7
|
ldr r1, =gText_Number2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
pop {r1}
|
pop {r1}
|
||||||
bx r1
|
bx r1
|
||||||
@ -14957,7 +14957,7 @@ _081CE80C:
|
|||||||
strb r0, [r1, 0x4]
|
strb r0, [r1, 0x4]
|
||||||
mov r5, sp
|
mov r5, sp
|
||||||
adds r5, 0x11
|
adds r5, 0x11
|
||||||
ldr r1, =gUnknown_085EBFD7
|
ldr r1, =gText_Number2
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =0x00001821
|
ldr r0, =0x00001821
|
||||||
@ -16949,7 +16949,7 @@ sub_81CF7F4: @ 81CF7F4
|
|||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
strb r0, [r4]
|
strb r0, [r4]
|
||||||
ldr r5, =gStringVar2
|
ldr r5, =gStringVar2
|
||||||
ldr r1, =gUnknown_085EC029
|
ldr r1, =gText_NumberF700
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
@ -19859,7 +19859,7 @@ sub_81D0E84: @ 81D0E84
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl sub_81AFC0C
|
bl sub_81AFC0C
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EC030
|
ldr r1, =gText_RibbonsF700
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl sub_81AFC28
|
bl sub_81AFC28
|
||||||
ldrb r0, [r5, 0xA]
|
ldrb r0, [r5, 0xA]
|
||||||
@ -23412,7 +23412,7 @@ sub_81D28FC: @ 81D28FC
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r5, =gUnknown_085EFA31
|
ldr r5, =gText_BattleMoves2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x80
|
movs r2, 0x80
|
||||||
@ -23431,7 +23431,7 @@ sub_81D28FC: @ 81D28FC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r5, =gUnknown_085EFA52
|
ldr r5, =gText_PPSlash
|
||||||
movs r1, 0x29
|
movs r1, 0x29
|
||||||
mov r10, r1
|
mov r10, r1
|
||||||
str r1, [sp]
|
str r1, [sp]
|
||||||
@ -23443,7 +23443,7 @@ sub_81D28FC: @ 81D28FC
|
|||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r5, =gUnknown_085EFA56
|
ldr r5, =gText_PowerSlash
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x6A
|
movs r2, 0x6A
|
||||||
@ -23460,7 +23460,7 @@ sub_81D28FC: @ 81D28FC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r5, =gUnknown_085EFA5D
|
ldr r5, =gText_AccuracySlash
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x6A
|
movs r2, 0x6A
|
||||||
@ -23508,7 +23508,7 @@ _081D29C4:
|
|||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r1, =gUnknown_085EFA52
|
ldr r1, =gText_PPSlash
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
@ -23616,7 +23616,7 @@ sub_81D2ACC: @ 81D2ACC
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r5, =gUnknown_085EFA3E
|
ldr r5, =gText_ContestMoves2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x80
|
movs r2, 0x80
|
||||||
@ -23632,7 +23632,7 @@ sub_81D2ACC: @ 81D2ACC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r5, =gUnknown_085EFA67
|
ldr r5, =gText_Appeal2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x5C
|
movs r2, 0x5C
|
||||||
@ -23648,7 +23648,7 @@ sub_81D2ACC: @ 81D2ACC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r5, =gUnknown_085EFA6E
|
ldr r5, =gText_Jam2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0x5C
|
movs r2, 0x5C
|
||||||
@ -24157,7 +24157,7 @@ _081D2EFC:
|
|||||||
cmp r7, 0xE
|
cmp r7, 0xE
|
||||||
bne _081D2F2C
|
bne _081D2F2C
|
||||||
adds r0, r5, 0x5
|
adds r0, r5, 0x5
|
||||||
ldr r1, =gUnknown_085EBFCE
|
ldr r1, =gText_InParty
|
||||||
b _081D2F3A
|
b _081D2F3A
|
||||||
.pool
|
.pool
|
||||||
_081D2F2C:
|
_081D2F2C:
|
||||||
@ -25214,10 +25214,10 @@ _081D36CA:
|
|||||||
adds r4, 0xC
|
adds r4, 0xC
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
ldrsh r0, [r4, r1]
|
ldrsh r0, [r4, r1]
|
||||||
ldr r1, =gUnknown_085EEA76
|
ldr r1, =gText_Dash
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
blt _081D3704
|
blt _081D3704
|
||||||
ldr r1, =gUnknown_085EEA73
|
ldr r1, =gText_UnkCtrlF904
|
||||||
_081D3704:
|
_081D3704:
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
@ -29757,7 +29757,7 @@ sub_81D5C8C: @ 81D5C8C
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r5, =gUnknown_085EF88A
|
ldr r5, =gText_TimeBoard
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
movs r2, 0xD0
|
movs r2, 0xD0
|
||||||
@ -29842,9 +29842,9 @@ _081D5CD6:
|
|||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
mov r0, r9
|
mov r0, r9
|
||||||
ldr r1, =gUnknown_085EF895
|
ldr r1, =gText_TimeCleared
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gUnknown_085EF8A3
|
ldr r1, =gText_XMinYDotZSec
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
mov r1, r9
|
mov r1, r9
|
||||||
|
@ -630,7 +630,7 @@ _080E726C:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
strh r0, [r5, 0x14]
|
strh r0, [r5, 0x14]
|
||||||
_080E7296:
|
_080E7296:
|
||||||
ldr r0, =gUnknown_085EEA8E
|
ldr r0, =gText_RecordMixingComplete
|
||||||
bl sub_80E70F4
|
bl sub_80E70F4
|
||||||
strh r4, [r5, 0x10]
|
strh r4, [r5, 0x10]
|
||||||
b _080E730A
|
b _080E730A
|
||||||
@ -739,7 +739,7 @@ _080E7370:
|
|||||||
b _080E7566
|
b _080E7566
|
||||||
.pool
|
.pool
|
||||||
_080E7384:
|
_080E7384:
|
||||||
ldr r0, =gUnknown_085EEA7E
|
ldr r0, =gText_MixingRecords
|
||||||
bl sub_80E70F4
|
bl sub_80E70F4
|
||||||
movs r0, 0xE1
|
movs r0, 0xE1
|
||||||
lsls r0, 3
|
lsls r0, 3
|
||||||
|
@ -3212,12 +3212,12 @@ sub_81245DC: @ 81245DC
|
|||||||
beq _081245F8
|
beq _081245F8
|
||||||
cmp r1, 0x57
|
cmp r1, 0x57
|
||||||
bne _08124604
|
bne _08124604
|
||||||
ldr r1, =gUnknown_085EC9D2
|
ldr r1, =gText_Ferry
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0812460A
|
b _0812460A
|
||||||
.pool
|
.pool
|
||||||
_081245F8:
|
_081245F8:
|
||||||
ldr r1, =gUnknown_085EC9D8
|
ldr r1, =gText_SecretBase
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0812460A
|
b _0812460A
|
||||||
.pool
|
.pool
|
||||||
@ -3239,7 +3239,7 @@ sub_8124610: @ 8124610
|
|||||||
bl sub_81245DC
|
bl sub_81245DC
|
||||||
b _08124626
|
b _08124626
|
||||||
_08124620:
|
_08124620:
|
||||||
ldr r1, =gUnknown_085EC9E4
|
ldr r1, =gText_Hideout
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08124626:
|
_08124626:
|
||||||
pop {r1}
|
pop {r1}
|
||||||
|
@ -414,7 +414,7 @@ sub_809EBC4: @ 809EBC4
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r7, r0, 0
|
adds r7, r0, 0
|
||||||
ldr r1, =gUnknown_085EE68A
|
ldr r1, =gText_Day
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r7, r0, 0
|
adds r7, r0, 0
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@ -426,7 +426,7 @@ sub_809EBC4: @ 809EBC4
|
|||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r7, r0, 0
|
adds r7, r0, 0
|
||||||
ldr r5, =gUnknown_085EE68E
|
ldr r5, =gText_Colon3
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r7, r0, 0
|
adds r7, r0, 0
|
||||||
@ -514,7 +514,7 @@ sub_809ECB4: @ 809ECB4
|
|||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
mov r3, r9
|
mov r3, r9
|
||||||
bl sub_809EBC4
|
bl sub_809EBC4
|
||||||
ldr r2, =gUnknown_085EE690
|
ldr r2, =gText_Confirm2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -1011,7 +1011,7 @@ _0809F11C:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r3, 0xE
|
movs r3, 0xE
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r2, =gUnknown_085ECA0D
|
ldr r2, =gText_PresentTime
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r4, 0xFF
|
movs r4, 0xFF
|
||||||
@ -1033,7 +1033,7 @@ _0809F11C:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x11
|
movs r2, 0x11
|
||||||
bl sub_809EBC4
|
bl sub_809EBC4
|
||||||
ldr r2, =gUnknown_085ECA22
|
ldr r2, =gText_PreviousTime
|
||||||
movs r0, 0x21
|
movs r0, 0x21
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
@ -1062,7 +1062,7 @@ _0809F11C:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x31
|
movs r2, 0x31
|
||||||
bl sub_809EBC4
|
bl sub_809EBC4
|
||||||
ldr r0, =gUnknown_085EC9EC
|
ldr r0, =gText_ResetRTCConfirmCancel
|
||||||
bl sub_809F0C0
|
bl sub_809F0C0
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
@ -1161,7 +1161,7 @@ _0809F276:
|
|||||||
cmp r0, 0x2
|
cmp r0, 0x2
|
||||||
bne _0809F29C
|
bne _0809F29C
|
||||||
_0809F282:
|
_0809F282:
|
||||||
ldr r0, =gUnknown_085ECAA7
|
ldr r0, =gText_NoSaveFileCantSetTime
|
||||||
bl sub_809F0C0
|
bl sub_809F0C0
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
strh r0, [r5]
|
strh r0, [r5]
|
||||||
@ -1193,7 +1193,7 @@ _0809F2CA:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8198070
|
bl sub_8198070
|
||||||
ldr r0, =gUnknown_085ECA38
|
ldr r0, =gText_PleaseResetTime
|
||||||
bl sub_809F0C0
|
bl sub_809F0C0
|
||||||
ldr r2, =gLocalTime
|
ldr r2, =gLocalTime
|
||||||
ldr r0, =gSaveBlock2Ptr
|
ldr r0, =gSaveBlock2Ptr
|
||||||
@ -1261,7 +1261,7 @@ _0809F340:
|
|||||||
ldrh r1, [r4]
|
ldrh r1, [r4]
|
||||||
bl VarSet
|
bl VarSet
|
||||||
bl DisableResetRTC
|
bl DisableResetRTC
|
||||||
ldr r0, =gUnknown_085ECA4F
|
ldr r0, =gText_ClockHasBeenReset
|
||||||
bl sub_809F0C0
|
bl sub_809F0C0
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
strh r0, [r5]
|
strh r0, [r5]
|
||||||
@ -1274,14 +1274,14 @@ _0809F398:
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _0809F3B8
|
bne _0809F3B8
|
||||||
ldr r0, =gUnknown_085ECA8A
|
ldr r0, =gText_SaveCompleted
|
||||||
bl sub_809F0C0
|
bl sub_809F0C0
|
||||||
movs r0, 0x49
|
movs r0, 0x49
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
b _0809F3C4
|
b _0809F3C4
|
||||||
.pool
|
.pool
|
||||||
_0809F3B8:
|
_0809F3B8:
|
||||||
ldr r0, =gUnknown_085ECA9A
|
ldr r0, =gText_SaveFailed
|
||||||
bl sub_809F0C0
|
bl sub_809F0C0
|
||||||
movs r0, 0x16
|
movs r0, 0x16
|
||||||
bl PlaySE
|
bl PlaySE
|
||||||
|
@ -1,64 +0,0 @@
|
|||||||
.include "asm/macros.inc"
|
|
||||||
.include "constants/constants.inc"
|
|
||||||
|
|
||||||
.syntax unified
|
|
||||||
|
|
||||||
.text
|
|
||||||
|
|
||||||
thumb_func_start sub_81700F8
|
|
||||||
sub_81700F8: @ 81700F8
|
|
||||||
push {r4,r5,lr}
|
|
||||||
ldr r5, =0x04000208
|
|
||||||
ldrh r4, [r5]
|
|
||||||
movs r0, 0
|
|
||||||
strh r0, [r5]
|
|
||||||
movs r0, 0x1
|
|
||||||
bl RegisterRamReset
|
|
||||||
movs r0, 0
|
|
||||||
movs r1, 0x80
|
|
||||||
bl ClearGpuRegBits
|
|
||||||
strh r4, [r5]
|
|
||||||
ldr r1, =gMain
|
|
||||||
ldr r0, =0x00000439
|
|
||||||
adds r1, r0
|
|
||||||
ldrb r2, [r1]
|
|
||||||
movs r0, 0x3
|
|
||||||
negs r0, r0
|
|
||||||
ands r0, r2
|
|
||||||
strb r0, [r1]
|
|
||||||
bl sub_815355C
|
|
||||||
lsls r0, 16
|
|
||||||
lsrs r0, 16
|
|
||||||
bl SetSaveBlocksPointers
|
|
||||||
bl sub_808447C
|
|
||||||
bl ResetSaveCounters
|
|
||||||
movs r0, 0
|
|
||||||
bl sub_81534D0
|
|
||||||
ldr r0, =gSaveFileStatus
|
|
||||||
ldrh r0, [r0]
|
|
||||||
cmp r0, 0
|
|
||||||
beq _08170148
|
|
||||||
cmp r0, 0x2
|
|
||||||
bne _0817014C
|
|
||||||
_08170148:
|
|
||||||
bl Sav2_ClearSetDefault
|
|
||||||
_0817014C:
|
|
||||||
ldr r0, =gSaveBlock2Ptr
|
|
||||||
ldr r0, [r0]
|
|
||||||
ldrb r0, [r0, 0x15]
|
|
||||||
lsls r0, 31
|
|
||||||
lsrs r0, 31
|
|
||||||
bl SetPokemonCryStereo
|
|
||||||
ldr r0, =0x02000000
|
|
||||||
movs r1, 0xE0
|
|
||||||
lsls r1, 9
|
|
||||||
bl InitHeap
|
|
||||||
ldr r0, =sub_8086230
|
|
||||||
bl SetMainCallback2
|
|
||||||
pop {r4,r5}
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
.pool
|
|
||||||
thumb_func_end sub_81700F8
|
|
||||||
|
|
||||||
.align 2, 0 @ Don't pad with nop.
|
|
50
asm/rom6.s
50
asm/rom6.s
@ -1064,23 +1064,23 @@ sub_8135DAC: @ 8135DAC
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl sub_8135D7C
|
bl sub_8135D7C
|
||||||
ldr r1, =gUnknown_085E931D
|
ldr r1, =gText_Spicy
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8135D7C
|
bl sub_8135D7C
|
||||||
ldr r1, =gUnknown_085E9323
|
ldr r1, =gText_Dry
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8135D7C
|
bl sub_8135D7C
|
||||||
ldr r1, =gUnknown_085E9327
|
ldr r1, =gText_Sweet
|
||||||
movs r0, 0x4
|
movs r0, 0x4
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8135D7C
|
bl sub_8135D7C
|
||||||
ldr r1, =gUnknown_085E932D
|
ldr r1, =gText_Bitter
|
||||||
movs r0, 0x5
|
movs r0, 0x5
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8135D7C
|
bl sub_8135D7C
|
||||||
ldr r1, =gUnknown_085E9334
|
ldr r1, =gText_Sour
|
||||||
movs r0, 0x6
|
movs r0, 0x6
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8135D7C
|
bl sub_8135D7C
|
||||||
@ -1148,7 +1148,7 @@ _08135E7C:
|
|||||||
adds r4, r7
|
adds r4, r7
|
||||||
ldr r0, [r5]
|
ldr r0, [r5]
|
||||||
adds r0, r4
|
adds r0, r4
|
||||||
ldr r1, =gUnknown_085E9344
|
ldr r1, =gText_StowCase
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, [r5]
|
ldr r1, [r5]
|
||||||
lsls r2, r6, 3
|
lsls r2, r6, 3
|
||||||
@ -1231,7 +1231,7 @@ sub_8135F04: @ 8135F04
|
|||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x3
|
movs r3, 0x3
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085E934F
|
ldr r1, =gText_LvVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
pop {r4-r6}
|
pop {r4-r6}
|
||||||
@ -2598,7 +2598,7 @@ sub_8136AB4: @ 8136AB4
|
|||||||
ldr r1, [r1]
|
ldr r1, [r1]
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9353
|
ldr r1, =gText_ThrowAwayVar1
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
bl sav2_get_text_speed
|
bl sav2_get_text_speed
|
||||||
@ -2654,7 +2654,7 @@ sub_8136B78: @ 8136B78
|
|||||||
lsls r4, 24
|
lsls r4, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9367
|
ldr r1, =gText_Var1ThrownAway
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
bl sav2_get_text_speed
|
bl sav2_get_text_speed
|
||||||
@ -4796,14 +4796,14 @@ sub_8137D5C: @ 8137D5C
|
|||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085EB5EE
|
ldr r1, =gText_SpaceTimes
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _08137D90
|
b _08137D90
|
||||||
.pool
|
.pool
|
||||||
_08137D88:
|
_08137D88:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB5CF
|
ldr r1, =gText_99TimesPlus
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08137D90:
|
_08137D90:
|
||||||
ldr r0, =0x00000e0f
|
ldr r0, =0x00000e0f
|
||||||
@ -4833,14 +4833,14 @@ _08137D90:
|
|||||||
movs r2, 0x2
|
movs r2, 0x2
|
||||||
movs r3, 0x2
|
movs r3, 0x2
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085EB5E5
|
ldr r1, =gText_SpaceSeconds
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _08137DF8
|
b _08137DF8
|
||||||
.pool
|
.pool
|
||||||
_08137DF0:
|
_08137DF0:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085EB5DA
|
ldr r1, =gText_1MinutePlus
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08137DF8:
|
_08137DF8:
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
@ -6425,13 +6425,13 @@ sub_8138B10: @ 8138B10
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08138B34
|
bne _08138B34
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB5F9
|
ldr r1, =gText_BigGuy
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _08138B3C
|
b _08138B3C
|
||||||
.pool
|
.pool
|
||||||
_08138B34:
|
_08138B34:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB601
|
ldr r1, =gText_BigGirl
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08138B3C:
|
_08138B3C:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -6448,13 +6448,13 @@ sub_8138B48: @ 8138B48
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08138B6C
|
bne _08138B6C
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB60E
|
ldr r1, =gText_Daughter
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _08138B74
|
b _08138B74
|
||||||
.pool
|
.pool
|
||||||
_08138B6C:
|
_08138B6C:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB60A
|
ldr r1, =gText_Son
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08138B74:
|
_08138B74:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -8511,7 +8511,7 @@ sub_8139B60: @ 8139B60
|
|||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl SetStandardWindowBorderStyle
|
bl SetStandardWindowBorderStyle
|
||||||
ldr r4, =gUnknown_085EB6A5
|
ldr r4, =gText_ElevatorNowOn
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x40
|
movs r2, 0x40
|
||||||
@ -10131,7 +10131,7 @@ sub_813A8FC: @ 813A8FC
|
|||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085EB6AD
|
ldr r1, =gText_BP
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
add r1, sp, 0xC
|
add r1, sp, 0xC
|
||||||
@ -12650,37 +12650,37 @@ _0813BE58:
|
|||||||
.4byte _0813BEC0
|
.4byte _0813BEC0
|
||||||
_0813BE70:
|
_0813BE70:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD14
|
ldr r1, =gText_Steven
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0813BF04
|
b _0813BF04
|
||||||
.pool
|
.pool
|
||||||
_0813BE84:
|
_0813BE84:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD1B
|
ldr r1, =gText_Brawly
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0813BF04
|
b _0813BF04
|
||||||
.pool
|
.pool
|
||||||
_0813BE98:
|
_0813BE98:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD22
|
ldr r1, =gText_Winona
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0813BF04
|
b _0813BF04
|
||||||
.pool
|
.pool
|
||||||
_0813BEAC:
|
_0813BEAC:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD29
|
ldr r1, =gText_Phoebe
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0813BF04
|
b _0813BF04
|
||||||
.pool
|
.pool
|
||||||
_0813BEC0:
|
_0813BEC0:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD30
|
ldr r1, =gText_Glacia
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0813BF04
|
b _0813BF04
|
||||||
.pool
|
.pool
|
||||||
_0813BED4:
|
_0813BED4:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD0C
|
ldr r1, =gText_Wallace
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _0813BF04
|
b _0813BF04
|
||||||
.pool
|
.pool
|
||||||
|
@ -268,7 +268,7 @@ _08178FF8:
|
|||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl CopyWindowToVram
|
bl CopyWindowToVram
|
||||||
ldr r0, =gUnknown_085EC816
|
ldr r0, =gText_SaveFailedCheckingBackup
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8178F44
|
bl sub_8178F44
|
||||||
@ -340,7 +340,7 @@ _0817929C:
|
|||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r0, =gUnknown_085EC917
|
ldr r0, =gText_CheckCompleted
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8178F44
|
bl sub_8178F44
|
||||||
@ -353,7 +353,7 @@ _0817929C:
|
|||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r0, =gUnknown_085EC816
|
ldr r0, =gText_SaveFailedCheckingBackup
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8178F44
|
bl sub_8178F44
|
||||||
@ -373,7 +373,7 @@ _081792EC:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r0, =gUnknown_085EC86F
|
ldr r0, =gText_BackupMemoryDamaged
|
||||||
b _08179330
|
b _08179330
|
||||||
.pool
|
.pool
|
||||||
_0817931C:
|
_0817931C:
|
||||||
@ -385,7 +385,7 @@ _0817931C:
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _08179370
|
bne _08179370
|
||||||
ldr r0, =gUnknown_085EC94F
|
ldr r0, =gText_SaveCompleteGameCannotContinue
|
||||||
_08179330:
|
_08179330:
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
@ -397,7 +397,7 @@ _08179348:
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r0, =gUnknown_085EC86F
|
ldr r0, =gText_BackupMemoryDamaged
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8178F44
|
bl sub_8178F44
|
||||||
@ -406,7 +406,7 @@ _08179348:
|
|||||||
b _08179380
|
b _08179380
|
||||||
.pool
|
.pool
|
||||||
_08179370:
|
_08179370:
|
||||||
ldr r0, =gUnknown_085EC9A2
|
ldr r0, =gText_SaveCompletePressA
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8178F44
|
bl sub_8178F44
|
||||||
@ -436,7 +436,7 @@ sub_8179390: @ 8179390
|
|||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
movs r1, 0x11
|
movs r1, 0x11
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
ldr r0, =gUnknown_085EC8D4
|
ldr r0, =gText_GamePlayCannotBeContinued
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl sub_8178F44
|
bl sub_8178F44
|
||||||
|
@ -724,7 +724,7 @@ _080E23AC:
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080E23D4
|
beq _080E23D4
|
||||||
ldr r0, =gUnknown_085EB18B
|
ldr r0, =gText_HallOfFame
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
bl display_text_and_get_width
|
bl display_text_and_get_width
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
@ -751,7 +751,7 @@ _080E23D4:
|
|||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl SetStandardWindowBorderStyle
|
bl SetStandardWindowBorderStyle
|
||||||
ldr r2, =gUnknown_085EB18B
|
ldr r2, =gText_HallOfFame
|
||||||
movs r0, 0x21
|
movs r0, 0x21
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r5, 0xFF
|
movs r5, 0xFF
|
||||||
@ -762,7 +762,7 @@ _080E23D4:
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
adds r3, r7, 0
|
adds r3, r7, 0
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r2, =gUnknown_085EB198
|
ldr r2, =gText_LogOff
|
||||||
movs r0, 0x31
|
movs r0, 0x31
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -786,7 +786,7 @@ _080E2448:
|
|||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl SetStandardWindowBorderStyle
|
bl SetStandardWindowBorderStyle
|
||||||
ldr r2, =gUnknown_085EB198
|
ldr r2, =gText_LogOff
|
||||||
movs r0, 0x21
|
movs r0, 0x21
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
@ -803,7 +803,7 @@ _080E247A:
|
|||||||
lsrs r1, r0, 24
|
lsrs r1, r0, 24
|
||||||
cmp r1, 0
|
cmp r1, 0
|
||||||
beq _080E24B0
|
beq _080E24B0
|
||||||
ldr r2, =gUnknown_085EB176
|
ldr r2, =gText_LanettesPC
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
@ -817,7 +817,7 @@ _080E247A:
|
|||||||
b _080E24C6
|
b _080E24C6
|
||||||
.pool
|
.pool
|
||||||
_080E24B0:
|
_080E24B0:
|
||||||
ldr r2, =gUnknown_085EB169
|
ldr r2, =gText_SomeonesPC
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
@ -829,7 +829,7 @@ _080E24B0:
|
|||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
_080E24C6:
|
_080E24C6:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EB183
|
ldr r1, =gText_PlayersPC
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
@ -1677,7 +1677,7 @@ CreateStartMenu: @ 80E2BAC
|
|||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl SetStandardWindowBorderStyle
|
bl SetStandardWindowBorderStyle
|
||||||
ldr r2, =gUnknown_085EB25C
|
ldr r2, =gText_MenuOptionPokedex
|
||||||
movs r0, 0x9
|
movs r0, 0x9
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r5, 0xFF
|
movs r5, 0xFF
|
||||||
@ -1688,7 +1688,7 @@ CreateStartMenu: @ 80E2BAC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r2, =gUnknown_085EB264
|
ldr r2, =gText_MenuOptionPokemon
|
||||||
movs r0, 0x19
|
movs r0, 0x19
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -1697,7 +1697,7 @@ CreateStartMenu: @ 80E2BAC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r2, =gUnknown_085EB26C
|
ldr r2, =gText_MenuOptionBag
|
||||||
movs r0, 0x29
|
movs r0, 0x29
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -1706,7 +1706,7 @@ CreateStartMenu: @ 80E2BAC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r2, =gUnknown_085EB270
|
ldr r2, =gText_MenuOptionPokenav
|
||||||
movs r0, 0x39
|
movs r0, 0x39
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -1725,7 +1725,7 @@ CreateStartMenu: @ 80E2BAC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r2, =gUnknown_085EB279
|
ldr r2, =gText_MenuOptionSave
|
||||||
movs r0, 0x59
|
movs r0, 0x59
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -1734,7 +1734,7 @@ CreateStartMenu: @ 80E2BAC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r2, =gUnknown_085EB27E
|
ldr r2, =gText_MenuOptionOption
|
||||||
movs r0, 0x69
|
movs r0, 0x69
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
@ -1743,7 +1743,7 @@ CreateStartMenu: @ 80E2BAC
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r3, 0x8
|
movs r3, 0x8
|
||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
ldr r2, =gUnknown_085EB285
|
ldr r2, =gText_MenuOptionExit
|
||||||
movs r0, 0x79
|
movs r0, 0x79
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
|
@ -1576,7 +1576,7 @@ sub_80E9780: @ 80E9780
|
|||||||
ldrb r1, [r0]
|
ldrb r1, [r0]
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl ConvertInternationalString
|
bl ConvertInternationalString
|
||||||
ldr r1, =gUnknown_085EA72F
|
ldr r1, =gText_ApostropheSBase
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
pop {r3}
|
pop {r3}
|
||||||
@ -2204,7 +2204,7 @@ sub_80E9C9C: @ 80E9C9C
|
|||||||
b _080E9D1A
|
b _080E9D1A
|
||||||
.pool
|
.pool
|
||||||
_080E9D10:
|
_080E9D10:
|
||||||
ldr r1, =gUnknown_085EA785
|
ldr r1, =gText_NoRegistry
|
||||||
ldr r2, =task_pc_turn_off
|
ldr r2, =task_pc_turn_off
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
@ -2583,7 +2583,7 @@ sub_80E9FFC: @ 80E9FFC
|
|||||||
ldrb r1, [r4, 0x8]
|
ldrb r1, [r4, 0x8]
|
||||||
bl sub_80E9780
|
bl sub_80E9780
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EA737
|
ldr r1, =gText_OkayToDeleteFromRegistry
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r2, =sub_80EA06C
|
ldr r2, =sub_80EA06C
|
||||||
@ -2683,7 +2683,7 @@ sub_80EA120: @ 80EA120
|
|||||||
push {lr}
|
push {lr}
|
||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
ldr r1, =gUnknown_085EA762
|
ldr r1, =gText_RegisteredDataDeleted
|
||||||
ldr r2, =sub_80EA08C
|
ldr r2, =sub_80EA08C
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
pop {r0}
|
pop {r0}
|
||||||
|
34
asm/shop.s
34
asm/shop.s
@ -325,14 +325,14 @@ Task_ExitSellMenu: @ 80DFCF8
|
|||||||
ldrb r0, [r0, 0xF]
|
ldrb r0, [r0, 0xF]
|
||||||
cmp r0, 0x2
|
cmp r0, 0x2
|
||||||
bne _080DFD2C
|
bne _080DFD2C
|
||||||
ldr r1, =gUnknown_085E95C7
|
ldr r1, =gText_CanIHelpWithAnythingElse
|
||||||
ldr r2, =ReturnToShopMenuAfterExitingSellMenu
|
ldr r2, =ReturnToShopMenuAfterExitingSellMenu
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
b _080DFD36
|
b _080DFD36
|
||||||
.pool
|
.pool
|
||||||
_080DFD2C:
|
_080DFD2C:
|
||||||
ldr r1, =gUnknown_085E959B
|
ldr r1, =gText_AnythingElseICanHelp
|
||||||
ldr r2, =ReturnToShopMenuAfterExitingSellMenu
|
ldr r2, =ReturnToShopMenuAfterExitingSellMenu
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl DisplayItemMessageOnField
|
bl DisplayItemMessageOnField
|
||||||
@ -748,7 +748,7 @@ _080E00D8:
|
|||||||
b _080E00EA
|
b _080E00EA
|
||||||
.pool
|
.pool
|
||||||
_080E00E8:
|
_080E00E8:
|
||||||
ldr r4, =gUnknown_085E93E0
|
ldr r4, =gText_QuitShopping
|
||||||
_080E00EA:
|
_080E00EA:
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
@ -817,7 +817,7 @@ _080E0164:
|
|||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
_080E0176:
|
_080E0176:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E969C
|
ldr r1, =gText_PokedollarVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0x7
|
movs r0, 0x7
|
||||||
@ -2060,7 +2060,7 @@ _080E0B92:
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _080E0BD0
|
bne _080E0BD0
|
||||||
ldr r1, =gUnknown_085E9539
|
ldr r1, =gText_YouDontHaveMoney
|
||||||
ldr r2, =BuyMenuReturnToItemList
|
ldr r2, =BuyMenuReturnToItemList
|
||||||
b _080E0C28
|
b _080E0C28
|
||||||
.pool
|
.pool
|
||||||
@ -2091,11 +2091,11 @@ _080E0BD0:
|
|||||||
adds r1, r0
|
adds r1, r0
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gUnknown_085E9417
|
ldr r1, =gText_Var1CertainlyHowMany2
|
||||||
b _080E0C26
|
b _080E0C26
|
||||||
.pool
|
.pool
|
||||||
_080E0C24:
|
_080E0C24:
|
||||||
ldr r1, =gUnknown_085E93EF
|
ldr r1, =gText_Var1CertainlyHowMany
|
||||||
_080E0C26:
|
_080E0C26:
|
||||||
ldr r2, =Task_BuyHowManyDialogueInit
|
ldr r2, =Task_BuyHowManyDialogueInit
|
||||||
_080E0C28:
|
_080E0C28:
|
||||||
@ -2121,13 +2121,13 @@ _080E0C38:
|
|||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _080E0C7C
|
bne _080E0C7C
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9468
|
ldr r1, =gText_Var1IsItThatllBeVar2
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _080E0C84
|
b _080E0C84
|
||||||
.pool
|
.pool
|
||||||
_080E0C7C:
|
_080E0C7C:
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E9493
|
ldr r1, =gText_YouWantedVar1ThatllBeVar2
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_080E0C84:
|
_080E0C84:
|
||||||
ldr r1, =gStringVar4
|
ldr r1, =gStringVar4
|
||||||
@ -2171,7 +2171,7 @@ Task_BuyHowManyDialogueInit: @ 80E0CA4
|
|||||||
movs r3, 0x4
|
movs r3, 0x4
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E93D5
|
ldr r1, =gText_InBagVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -2319,7 +2319,7 @@ _080E0DF0:
|
|||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085E943F
|
ldr r1, =gText_Var1AndYouWantedVar2
|
||||||
ldr r2, =BuyMenuConfirmPurchase
|
ldr r2, =BuyMenuConfirmPurchase
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
bl BuyMenuDisplayMessage
|
bl BuyMenuDisplayMessage
|
||||||
@ -2400,7 +2400,7 @@ BuyMenuTryMakePurchase: @ 80E0EDC
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _080E0F30
|
bne _080E0F30
|
||||||
ldr r1, =gUnknown_085E94C5
|
ldr r1, =gText_HereYouGoThankYou
|
||||||
ldr r2, =BuyMenuSubtractMoney
|
ldr r2, =BuyMenuSubtractMoney
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl BuyMenuDisplayMessage
|
bl BuyMenuDisplayMessage
|
||||||
@ -2409,7 +2409,7 @@ BuyMenuTryMakePurchase: @ 80E0EDC
|
|||||||
b _080E0F7A
|
b _080E0F7A
|
||||||
.pool
|
.pool
|
||||||
_080E0F30:
|
_080E0F30:
|
||||||
ldr r1, =gUnknown_085E9558
|
ldr r1, =gText_NoMoreRoomForThis
|
||||||
ldr r2, =BuyMenuReturnToItemList
|
ldr r2, =BuyMenuReturnToItemList
|
||||||
b _080E0F60
|
b _080E0F60
|
||||||
.pool
|
.pool
|
||||||
@ -2422,11 +2422,11 @@ _080E0F40:
|
|||||||
ldrb r0, [r6, 0xF]
|
ldrb r0, [r6, 0xF]
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _080E0F5C
|
bne _080E0F5C
|
||||||
ldr r1, =gUnknown_085E94E7
|
ldr r1, =gText_ThankYouIllSendItHome
|
||||||
b _080E0F5E
|
b _080E0F5E
|
||||||
.pool
|
.pool
|
||||||
_080E0F5C:
|
_080E0F5C:
|
||||||
ldr r1, =gUnknown_085E9510
|
ldr r1, =gText_ThanksIllSendItHome
|
||||||
_080E0F5E:
|
_080E0F5E:
|
||||||
ldr r2, =BuyMenuSubtractMoney
|
ldr r2, =BuyMenuSubtractMoney
|
||||||
_080E0F60:
|
_080E0F60:
|
||||||
@ -2435,7 +2435,7 @@ _080E0F60:
|
|||||||
b _080E0F7A
|
b _080E0F7A
|
||||||
.pool
|
.pool
|
||||||
_080E0F70:
|
_080E0F70:
|
||||||
ldr r1, =gUnknown_085E957F
|
ldr r1, =gText_SpaceForVar1Full
|
||||||
ldr r2, =BuyMenuReturnToItemList
|
ldr r2, =BuyMenuReturnToItemList
|
||||||
adds r0, r7, 0
|
adds r0, r7, 0
|
||||||
bl BuyMenuDisplayMessage
|
bl BuyMenuDisplayMessage
|
||||||
@ -2536,7 +2536,7 @@ Task_ReturnToItemListAfterItemPurchase: @ 80E100C
|
|||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _080E106C
|
bne _080E106C
|
||||||
ldr r1, =gUnknown_085E95EA
|
ldr r1, =gText_ThrowInPremierBall
|
||||||
ldr r2, =BuyMenuReturnToItemList
|
ldr r2, =BuyMenuReturnToItemList
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl BuyMenuDisplayMessage
|
bl BuyMenuDisplayMessage
|
||||||
|
@ -976,7 +976,7 @@ sub_812ACF4: @ 812ACF4
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81973C4
|
bl sub_81973C4
|
||||||
ldr r2, =gUnknown_085EF734
|
ldr r2, =gText_YouDontHaveThreeCoins
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -1544,7 +1544,7 @@ sub_812B158: @ 812B158
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81973C4
|
bl sub_81973C4
|
||||||
ldr r2, =gUnknown_085EF6E9
|
ldr r2, =gText_QuitTheGame
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -1634,7 +1634,7 @@ sub_812B214: @ 812B214
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81973C4
|
bl sub_81973C4
|
||||||
ldr r2, =gUnknown_085EF6F8
|
ldr r2, =gText_YouveGot9999Coins
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -1687,7 +1687,7 @@ sub_812B280: @ 812B280
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_81973C4
|
bl sub_81973C4
|
||||||
ldr r2, =gUnknown_085EF710
|
ldr r2, =gText_YouveRunOutOfCoins
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -7209,7 +7209,7 @@ sub_812DD78: @ 812DD78
|
|||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
str r4, [sp, 0x4]
|
str r4, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085EF750
|
ldr r0, =gText_ReelTimeHelp
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
|
@ -1862,7 +1862,7 @@ _080A0710:
|
|||||||
bl PrintTextOnWindow
|
bl PrintTextOnWindow
|
||||||
movs r4, 0x11
|
movs r4, 0x11
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EED26
|
ldr r2, =gText_SavingPlayer
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
@ -1887,7 +1887,7 @@ _080A0710:
|
|||||||
bl sub_819A024
|
bl sub_819A024
|
||||||
movs r4, 0x21
|
movs r4, 0x21
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EED2D
|
ldr r2, =gText_SavingBadges
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
@ -1922,7 +1922,7 @@ _080A0710:
|
|||||||
bne _080A0802
|
bne _080A0802
|
||||||
movs r4, 0x31
|
movs r4, 0x31
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EED34
|
ldr r2, =gText_SavingPokedex
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
str r1, [sp, 0x4]
|
str r1, [sp, 0x4]
|
||||||
@ -1952,7 +1952,7 @@ _080A0710:
|
|||||||
_080A0802:
|
_080A0802:
|
||||||
adds r4, 0x10
|
adds r4, 0x10
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
ldr r2, =gUnknown_085EED3C
|
ldr r2, =gText_SavingTime
|
||||||
lsls r4, 24
|
lsls r4, 24
|
||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
|
@ -1259,7 +1259,7 @@ c2_berry_program_update_screen_1: @ 80AAF28
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _080AAF3E
|
bne _080AAF3E
|
||||||
bl m4aMPlayAllStop
|
bl m4aMPlayAllStop
|
||||||
ldr r0, =sub_81BF384
|
ldr r0, =InitBerryFixProgram
|
||||||
bl SetMainCallback2
|
bl SetMainCallback2
|
||||||
_080AAF3E:
|
_080AAF3E:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
|
20
asm/trade.s
20
asm/trade.s
@ -9004,7 +9004,7 @@ _0807C0F8:
|
|||||||
.pool
|
.pool
|
||||||
_0807C120:
|
_0807C120:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE942
|
ldr r1, =gText_XWillBeSentToY
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -9070,7 +9070,7 @@ _0807C178:
|
|||||||
adds r0, 0x1
|
adds r0, 0x1
|
||||||
strh r0, [r1]
|
strh r0, [r1]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE959
|
ldr r1, =gText_ByeByeVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -10471,7 +10471,7 @@ _0807CDDC:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
bl SetGpuReg
|
bl SetGpuReg
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE966
|
ldr r1, =gText_XSentOverY
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -10542,7 +10542,7 @@ _0807CE70:
|
|||||||
movs r5, 0
|
movs r5, 0
|
||||||
strh r0, [r1]
|
strh r0, [r1]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE977
|
ldr r1, =gText_TakeGoodCareOfX
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -11066,7 +11066,7 @@ _0807D4D4:
|
|||||||
.pool
|
.pool
|
||||||
_0807D4FC:
|
_0807D4FC:
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE942
|
ldr r1, =gText_XWillBeSentToY
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -11132,7 +11132,7 @@ _0807D554:
|
|||||||
adds r0, 0x1
|
adds r0, 0x1
|
||||||
strh r0, [r1]
|
strh r0, [r1]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE959
|
ldr r1, =gText_ByeByeVar1
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -12576,7 +12576,7 @@ _0807E228:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
bl SetGpuReg
|
bl SetGpuReg
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE966
|
ldr r1, =gText_XSentOverY
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -12647,7 +12647,7 @@ _0807E2BC:
|
|||||||
movs r5, 0
|
movs r5, 0
|
||||||
strh r0, [r1]
|
strh r0, [r1]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EE977
|
ldr r1, =gText_TakeGoodCareOfX
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -13751,7 +13751,7 @@ _0807ED10:
|
|||||||
adds r0, 0x1
|
adds r0, 0x1
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF6D2
|
ldr r1, =gText_CommunicationStandby5
|
||||||
b _0807EDA6
|
b _0807EDA6
|
||||||
.pool
|
.pool
|
||||||
_0807ED2C:
|
_0807ED2C:
|
||||||
@ -14634,7 +14634,7 @@ _0807F4C0:
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1]
|
strb r0, [r1]
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085EF6D2
|
ldr r1, =gText_CommunicationStandby5
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
|
@ -87,7 +87,7 @@ sub_8133A78: @ 8133A78
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
str r0, [sp, 0xC]
|
str r0, [sp, 0xC]
|
||||||
str r1, [sp, 0x10]
|
str r1, [sp, 0x10]
|
||||||
ldr r1, =gUnknown_085EB7EA
|
ldr r1, =gText_Exit
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
@ -193,7 +193,7 @@ _08133B94:
|
|||||||
cmp r5, 0x3
|
cmp r5, 0x3
|
||||||
bls _08133B3C
|
bls _08133B3C
|
||||||
ldrb r0, [r7, 0x6]
|
ldrb r0, [r7, 0x6]
|
||||||
ldr r2, =gUnknown_085EB7EA
|
ldr r2, =gText_Exit
|
||||||
lsls r1, r5, 4
|
lsls r1, r5, 4
|
||||||
adds r1, 0x1
|
adds r1, 0x1
|
||||||
lsls r1, 24
|
lsls r1, 24
|
||||||
|
@ -410,7 +410,7 @@ _080C2A2C:
|
|||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_81973C4
|
bl sub_81973C4
|
||||||
ldr r2, =gUnknown_085ED042
|
ldr r2, =gText_WaitingTrainerFinishReading
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0xFF
|
movs r0, 0xFF
|
||||||
@ -1714,7 +1714,7 @@ sub_80C3548: @ 80C3548
|
|||||||
sub_80C3574: @ 80C3574
|
sub_80C3574: @ 80C3574
|
||||||
push {r4,r5,lr}
|
push {r4,r5,lr}
|
||||||
sub sp, 0x2C
|
sub sp, 0x2C
|
||||||
ldr r1, =gUnknown_085ECF71
|
ldr r1, =gText_TrainerCardName
|
||||||
add r0, sp, 0xC
|
add r0, sp, 0xC
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r5, r0, 0
|
adds r5, r0, 0
|
||||||
@ -1775,7 +1775,7 @@ _080C35FA:
|
|||||||
sub_80C3608: @ 80C3608
|
sub_80C3608: @ 80C3608
|
||||||
push {r4,lr}
|
push {r4,lr}
|
||||||
sub sp, 0x2C
|
sub sp, 0x2C
|
||||||
ldr r1, =gUnknown_085ECF78
|
ldr r1, =gText_TrainerCardIDNo
|
||||||
add r0, sp, 0xC
|
add r0, sp, 0xC
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gUnknown_02039CE8
|
ldr r4, =gUnknown_02039CE8
|
||||||
@ -1842,7 +1842,7 @@ sub_80C3684: @ 80C3684
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
negs r0, r0
|
negs r0, r0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ECF7E
|
ldr r0, =gText_TrainerCardMoney
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -1857,7 +1857,7 @@ _080C36C4:
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
negs r0, r0
|
negs r0, r0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ECF7E
|
ldr r0, =gText_TrainerCardMoney
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -1876,7 +1876,7 @@ _080C36DE:
|
|||||||
movs r3, 0x6
|
movs r3, 0x6
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r5, =gStringVar4
|
ldr r5, =gStringVar4
|
||||||
ldr r1, =gUnknown_085E969C
|
ldr r1, =gText_PokedollarVar1
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
@ -1958,7 +1958,7 @@ sub_80C378C: @ 80C378C
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
negs r0, r0
|
negs r0, r0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ECF86
|
ldr r0, =gText_TrainerCardPokedex
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -1973,7 +1973,7 @@ _080C37DC:
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
negs r0, r0
|
negs r0, r0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ECF86
|
ldr r0, =gText_TrainerCardPokedex
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -1992,7 +1992,7 @@ _080C37F6:
|
|||||||
movs r2, 0
|
movs r2, 0
|
||||||
movs r3, 0x3
|
movs r3, 0x3
|
||||||
bl ConvertIntToDecimalStringN
|
bl ConvertIntToDecimalStringN
|
||||||
ldr r1, =gUnknown_085ECF8E
|
ldr r1, =gText_EmptyString6
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x0000052b
|
ldr r1, =0x0000052b
|
||||||
@ -2054,7 +2054,7 @@ sub_80C3880: @ 80C3880
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
negs r0, r0
|
negs r0, r0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ECF99
|
ldr r0, =gText_TrainerCardTime
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2069,7 +2069,7 @@ _080C38C8:
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
negs r0, r0
|
negs r0, r0
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ECF99
|
ldr r0, =gText_TrainerCardTime
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2105,7 +2105,7 @@ _080C391C:
|
|||||||
bls _080C3922
|
bls _080C3922
|
||||||
movs r6, 0x3B
|
movs r6, 0x3B
|
||||||
_080C3922:
|
_080C3922:
|
||||||
ldr r1, =gUnknown_085ECF8F
|
ldr r1, =gText_Colon2
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
bl GetStringWidth
|
bl GetStringWidth
|
||||||
@ -2172,7 +2172,7 @@ _080C395C:
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
str r5, [sp, 0x4]
|
str r5, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ECF8F
|
ldr r0, =gText_Colon2
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -2331,7 +2331,7 @@ sub_80C3AF0: @ 80C3AF0
|
|||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
adds r0, 0x4D
|
adds r0, 0x4D
|
||||||
ldr r1, =gUnknown_085ECFA6
|
ldr r1, =gText_Var1sTrainerCard
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_080C3B30:
|
_080C3B30:
|
||||||
pop {r4}
|
pop {r4}
|
||||||
@ -2512,7 +2512,7 @@ sub_80C3CCC: @ 80C3CCC
|
|||||||
ldrb r0, [r2, 0xB]
|
ldrb r0, [r2, 0xB]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C3CE4
|
beq _080C3CE4
|
||||||
ldr r1, =gUnknown_085ECFB8
|
ldr r1, =gText_HallOfFameDebut
|
||||||
adds r2, 0x93
|
adds r2, 0x93
|
||||||
ldr r3, =gUnknown_0856FB0F
|
ldr r3, =gUnknown_0856FB0F
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -2585,7 +2585,7 @@ sub_80C3D60: @ 80C3D60
|
|||||||
adds r1, r2
|
adds r1, r2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
ldr r1, =gUnknown_085ECFED
|
ldr r1, =gText_WinsLosses
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
ldr r1, [r5]
|
ldr r1, [r5]
|
||||||
@ -2631,7 +2631,7 @@ sub_80C3DF0: @ 80C3DF0
|
|||||||
ldrb r0, [r2, 0x10]
|
ldrb r0, [r2, 0x10]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C3E0A
|
beq _080C3E0A
|
||||||
ldr r1, =gUnknown_085ED010
|
ldr r1, =gText_PokemonTrades
|
||||||
ldr r0, =0x00000237
|
ldr r0, =0x00000237
|
||||||
adds r2, r0
|
adds r2, r0
|
||||||
ldr r3, =gUnknown_0856FB0F
|
ldr r3, =gUnknown_0856FB0F
|
||||||
@ -2685,7 +2685,7 @@ sub_80C3E58: @ 80C3E58
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C3E80
|
beq _080C3E80
|
||||||
ldr r1, =gUnknown_085ED036
|
ldr r1, =gText_BerryCrush
|
||||||
ldr r0, =0x000002c3
|
ldr r0, =0x000002c3
|
||||||
adds r2, r0
|
adds r2, r0
|
||||||
ldr r3, =gUnknown_0856FB0F
|
ldr r3, =gUnknown_0856FB0F
|
||||||
@ -2738,7 +2738,7 @@ sub_80C3ED4: @ 80C3ED4
|
|||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C3EFC
|
beq _080C3EFC
|
||||||
ldr r1, =gUnknown_085ED01F
|
ldr r1, =gText_UnionTradesAndBattles
|
||||||
ldr r0, =0x0000034f
|
ldr r0, =0x0000034f
|
||||||
adds r2, r0
|
adds r2, r0
|
||||||
ldr r3, =gUnknown_0856FB0F
|
ldr r3, =gUnknown_0856FB0F
|
||||||
@ -2773,7 +2773,7 @@ sub_80C3F14: @ 80C3F14
|
|||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00000395
|
ldr r1, =0x00000395
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED096
|
ldr r1, =gText_Var1DarkGreyShadowLightGrey
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_080C3F46:
|
_080C3F46:
|
||||||
pop {r4}
|
pop {r4}
|
||||||
@ -2797,7 +2797,7 @@ sub_80C3F64: @ 80C3F64
|
|||||||
ldrh r0, [r0]
|
ldrh r0, [r0]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C3F8C
|
beq _080C3F8C
|
||||||
ldr r1, =gUnknown_085ED085
|
ldr r1, =gText_PokeblocksWithFriends
|
||||||
ldr r0, =0x00000395
|
ldr r0, =0x00000395
|
||||||
adds r2, r0
|
adds r2, r0
|
||||||
ldr r3, =gUnknown_0856FB0F
|
ldr r3, =gUnknown_0856FB0F
|
||||||
@ -2852,7 +2852,7 @@ sub_80C3FE0: @ 80C3FE0
|
|||||||
ldrh r0, [r0]
|
ldrh r0, [r0]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C4008
|
beq _080C4008
|
||||||
ldr r1, =gUnknown_085ED09F
|
ldr r1, =gText_WonContestsWFriends
|
||||||
ldr r0, =0x000003db
|
ldr r0, =0x000003db
|
||||||
adds r2, r0
|
adds r2, r0
|
||||||
ldr r3, =gUnknown_0856FB0F
|
ldr r3, =gUnknown_0856FB0F
|
||||||
@ -2902,7 +2902,7 @@ _080C4044:
|
|||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00000421
|
ldr r1, =0x00000421
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED0E0
|
ldr r1, =gText_WSlashStraightSlash
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
b _080C40B6
|
b _080C40B6
|
||||||
.pool
|
.pool
|
||||||
@ -2920,7 +2920,7 @@ _080C4094:
|
|||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldr r1, =0x00000421
|
ldr r1, =0x00000421
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =gUnknown_085ED0C8
|
ldr r1, =gText_Var1DarkLightGreyBP
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
_080C40B6:
|
_080C40B6:
|
||||||
pop {r4}
|
pop {r4}
|
||||||
@ -2949,7 +2949,7 @@ _080C40F0:
|
|||||||
ldrb r0, [r2, 0xD]
|
ldrb r0, [r2, 0xD]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C412C
|
beq _080C412C
|
||||||
ldr r1, =gUnknown_085ED0D3
|
ldr r1, =gText_BattleTower
|
||||||
ldr r0, =0x00000421
|
ldr r0, =0x00000421
|
||||||
adds r2, r0
|
adds r2, r0
|
||||||
ldr r3, =gUnknown_0856FB0C
|
ldr r3, =gUnknown_0856FB0C
|
||||||
@ -2963,7 +2963,7 @@ _080C4114:
|
|||||||
ldrh r0, [r0]
|
ldrh r0, [r0]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080C412C
|
beq _080C412C
|
||||||
ldr r1, =gUnknown_085ED0B6
|
ldr r1, =gText_BattlePtsWon
|
||||||
ldr r0, =0x00000421
|
ldr r0, =0x00000421
|
||||||
adds r2, r0
|
adds r2, r0
|
||||||
ldr r3, =gUnknown_0856FB0F
|
ldr r3, =gUnknown_0856FB0F
|
||||||
@ -6346,7 +6346,7 @@ _080C5DC2:
|
|||||||
lsrs r4, r0, 24
|
lsrs r4, r0, 24
|
||||||
cmp r4, 0x4
|
cmp r4, 0x4
|
||||||
bls _080C5DC2
|
bls _080C5DC2
|
||||||
ldr r4, =gUnknown_085ED8FF
|
ldr r4, =gText_SymbolsEarned
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x60
|
movs r2, 0x60
|
||||||
@ -6362,7 +6362,7 @@ _080C5DC2:
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r3, 0x5
|
movs r3, 0x5
|
||||||
bl box_print
|
bl box_print
|
||||||
ldr r4, =gUnknown_085ED90E
|
ldr r4, =gText_BattleRecord
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
movs r2, 0x60
|
movs r2, 0x60
|
||||||
@ -6380,7 +6380,7 @@ _080C5DC2:
|
|||||||
str r6, [sp]
|
str r6, [sp]
|
||||||
mov r0, r8
|
mov r0, r8
|
||||||
str r0, [sp, 0x4]
|
str r0, [sp, 0x4]
|
||||||
ldr r0, =gUnknown_085ED91C
|
ldr r0, =gText_BattlePoints
|
||||||
str r0, [sp, 0x8]
|
str r0, [sp, 0x8]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
movs r1, 0x8
|
movs r1, 0x8
|
||||||
|
86
asm/tv.s
86
asm/tv.s
@ -7811,7 +7811,7 @@ GetMomOrDadStringForTVMessage: @ 80F00A4
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _080F0104
|
bne _080F0104
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD08
|
ldr r1, =gText_Mom
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =0x00004003
|
ldr r0, =0x00004003
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -7824,7 +7824,7 @@ _080F00EC:
|
|||||||
cmp r0, 0x2
|
cmp r0, 0x2
|
||||||
bne _080F0104
|
bne _080F0104
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD08
|
ldr r1, =gText_Mom
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r0, =0x00004003
|
ldr r0, =0x00004003
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -7859,13 +7859,13 @@ _080F0104:
|
|||||||
bne _080F0158
|
bne _080F0158
|
||||||
_080F0142:
|
_080F0142:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD08
|
ldr r1, =gText_Mom
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F01A8
|
b _080F01A8
|
||||||
.pool
|
.pool
|
||||||
_080F0158:
|
_080F0158:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD04
|
ldr r1, =gText_Dad
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F01A8
|
b _080F01A8
|
||||||
.pool
|
.pool
|
||||||
@ -7878,7 +7878,7 @@ _080F016C:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _080F0198
|
beq _080F0198
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD08
|
ldr r1, =gText_Mom
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@ -7887,7 +7887,7 @@ _080F016C:
|
|||||||
.pool
|
.pool
|
||||||
_080F0198:
|
_080F0198:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAD04
|
ldr r1, =gText_Dad
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0x2
|
movs r1, 0x2
|
||||||
@ -10790,13 +10790,13 @@ _080F1A40:
|
|||||||
cmp r0, 0x32
|
cmp r0, 0x32
|
||||||
bne _080F1A58
|
bne _080F1A58
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAEB1
|
ldr r1, =gText_Lv50
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F1A60
|
b _080F1A60
|
||||||
.pool
|
.pool
|
||||||
_080F1A58:
|
_080F1A58:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EAEB8
|
ldr r1, =gText_OpenLevel
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F1A60:
|
_080F1A60:
|
||||||
ldrh r1, [r4, 0x16]
|
ldrh r1, [r4, 0x16]
|
||||||
@ -12536,31 +12536,31 @@ _080F2C08:
|
|||||||
.4byte _080F2C6C
|
.4byte _080F2C6C
|
||||||
_080F2C1C:
|
_080F2C1C:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB0E8
|
ldr r1, =gText_Cool
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F2C74
|
b _080F2C74
|
||||||
.pool
|
.pool
|
||||||
_080F2C30:
|
_080F2C30:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB0ED
|
ldr r1, =gText_Beauty
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F2C74
|
b _080F2C74
|
||||||
.pool
|
.pool
|
||||||
_080F2C44:
|
_080F2C44:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB0F4
|
ldr r1, =gText_Cute
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F2C74
|
b _080F2C74
|
||||||
.pool
|
.pool
|
||||||
_080F2C58:
|
_080F2C58:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB0F9
|
ldr r1, =gText_Smart
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F2C74
|
b _080F2C74
|
||||||
.pool
|
.pool
|
||||||
_080F2C6C:
|
_080F2C6C:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085EB0FF
|
ldr r1, =gText_Tough
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F2C74:
|
_080F2C74:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
@ -13154,13 +13154,13 @@ _080F31CA:
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _080F3200
|
bne _080F3200
|
||||||
ldr r0, =gStringVar3
|
ldr r0, =gStringVar3
|
||||||
ldr r1, =gUnknown_085ECB64
|
ldr r1, =gText_Single
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3208
|
b _080F3208
|
||||||
.pool
|
.pool
|
||||||
_080F3200:
|
_080F3200:
|
||||||
ldr r0, =gStringVar3
|
ldr r0, =gStringVar3
|
||||||
ldr r1, =gUnknown_085ECB6B
|
ldr r1, =gText_Double
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F3208:
|
_080F3208:
|
||||||
ldr r1, =gUnknown_0203A030
|
ldr r1, =gUnknown_0203A030
|
||||||
@ -13369,38 +13369,38 @@ _080F3430:
|
|||||||
.4byte _080F3494
|
.4byte _080F3494
|
||||||
_080F3444:
|
_080F3444:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB48
|
ldr r1, =gText_Spicy2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F349C
|
b _080F349C
|
||||||
.pool
|
.pool
|
||||||
_080F3458:
|
_080F3458:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB4E
|
ldr r1, =gText_Dry2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F349C
|
b _080F349C
|
||||||
.pool
|
.pool
|
||||||
_080F346C:
|
_080F346C:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB52
|
ldr r1, =gText_Sweet2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F349C
|
b _080F349C
|
||||||
.pool
|
.pool
|
||||||
_080F3480:
|
_080F3480:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB58
|
ldr r1, =gText_Bitter2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F349C
|
b _080F349C
|
||||||
.pool
|
.pool
|
||||||
_080F3494:
|
_080F3494:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB5F
|
ldr r1, =gText_Sour2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F349C:
|
_080F349C:
|
||||||
ldrb r0, [r4, 0x2]
|
ldrb r0, [r4, 0x2]
|
||||||
cmp r0, 0x18
|
cmp r0, 0x18
|
||||||
bls _080F34BC
|
bls _080F34BC
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB2A
|
ldr r1, =gText_Excellent
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F34DC
|
b _080F34DC
|
||||||
.pool
|
.pool
|
||||||
@ -13408,13 +13408,13 @@ _080F34BC:
|
|||||||
cmp r0, 0x16
|
cmp r0, 0x16
|
||||||
bls _080F34D4
|
bls _080F34D4
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB20
|
ldr r1, =gText_VeryGood
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F34DC
|
b _080F34DC
|
||||||
.pool
|
.pool
|
||||||
_080F34D4:
|
_080F34D4:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB1B
|
ldr r1, =gText_Good
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F34DC:
|
_080F34DC:
|
||||||
ldr r0, =gStringVar3
|
ldr r0, =gStringVar3
|
||||||
@ -13454,38 +13454,38 @@ _080F3524:
|
|||||||
.4byte _080F3588
|
.4byte _080F3588
|
||||||
_080F3538:
|
_080F3538:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB48
|
ldr r1, =gText_Spicy2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3590
|
b _080F3590
|
||||||
.pool
|
.pool
|
||||||
_080F354C:
|
_080F354C:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB4E
|
ldr r1, =gText_Dry2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3590
|
b _080F3590
|
||||||
.pool
|
.pool
|
||||||
_080F3560:
|
_080F3560:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB52
|
ldr r1, =gText_Sweet2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3590
|
b _080F3590
|
||||||
.pool
|
.pool
|
||||||
_080F3574:
|
_080F3574:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB58
|
ldr r1, =gText_Bitter2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3590
|
b _080F3590
|
||||||
.pool
|
.pool
|
||||||
_080F3588:
|
_080F3588:
|
||||||
ldr r0, =gStringVar1
|
ldr r0, =gStringVar1
|
||||||
ldr r1, =gUnknown_085ECB5F
|
ldr r1, =gText_Sour2
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F3590:
|
_080F3590:
|
||||||
ldrb r0, [r4, 0x2]
|
ldrb r0, [r4, 0x2]
|
||||||
cmp r0, 0x10
|
cmp r0, 0x10
|
||||||
bls _080F35B0
|
bls _080F35B0
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB34
|
ldr r1, =gText_SoSo
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F35D0
|
b _080F35D0
|
||||||
.pool
|
.pool
|
||||||
@ -13493,13 +13493,13 @@ _080F35B0:
|
|||||||
cmp r0, 0xD
|
cmp r0, 0xD
|
||||||
bls _080F35C8
|
bls _080F35C8
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB3A
|
ldr r1, =gText_Bad
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F35D0
|
b _080F35D0
|
||||||
.pool
|
.pool
|
||||||
_080F35C8:
|
_080F35C8:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB3E
|
ldr r1, =gText_TheWorst
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F35D0:
|
_080F35D0:
|
||||||
ldr r0, =gStringVar3
|
ldr r0, =gStringVar3
|
||||||
@ -14418,13 +14418,13 @@ _080F3ECC:
|
|||||||
.pool
|
.pool
|
||||||
_080F3EE8:
|
_080F3EE8:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB0C
|
ldr r1, =gText_Slots
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3F04
|
b _080F3F04
|
||||||
.pool
|
.pool
|
||||||
_080F3EFC:
|
_080F3EFC:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB12
|
ldr r1, =gText_Roulette
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F3F04:
|
_080F3F04:
|
||||||
ldrb r1, [r4, 0x2]
|
ldrb r1, [r4, 0x2]
|
||||||
@ -14455,13 +14455,13 @@ _080F3F28:
|
|||||||
.pool
|
.pool
|
||||||
_080F3F44:
|
_080F3F44:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB0C
|
ldr r1, =gText_Slots
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3F60
|
b _080F3F60
|
||||||
.pool
|
.pool
|
||||||
_080F3F58:
|
_080F3F58:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB12
|
ldr r1, =gText_Roulette
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F3F60:
|
_080F3F60:
|
||||||
ldrh r1, [r4, 0x4]
|
ldrh r1, [r4, 0x4]
|
||||||
@ -14485,13 +14485,13 @@ _080F3F78:
|
|||||||
.pool
|
.pool
|
||||||
_080F3F94:
|
_080F3F94:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB0C
|
ldr r1, =gText_Slots
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F3FB0
|
b _080F3FB0
|
||||||
.pool
|
.pool
|
||||||
_080F3FA8:
|
_080F3FA8:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB12
|
ldr r1, =gText_Roulette
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F3FB0:
|
_080F3FB0:
|
||||||
ldrh r1, [r4, 0x4]
|
ldrh r1, [r4, 0x4]
|
||||||
@ -14517,13 +14517,13 @@ _080F3FCC:
|
|||||||
.pool
|
.pool
|
||||||
_080F3FE8:
|
_080F3FE8:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB12
|
ldr r1, =gText_Roulette
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F4004
|
b _080F4004
|
||||||
.pool
|
.pool
|
||||||
_080F3FFC:
|
_080F3FFC:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB0C
|
ldr r1, =gText_Slots
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F4004:
|
_080F4004:
|
||||||
bl TVShowDone
|
bl TVShowDone
|
||||||
@ -15097,7 +15097,7 @@ DoTVShowPokemonLotterWinnerFlashReport: @ 80F45A0
|
|||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _080F45FC
|
bne _080F45FC
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB72
|
ldr r1, =gText_Jackpot
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F4634
|
b _080F4634
|
||||||
.pool
|
.pool
|
||||||
@ -15105,7 +15105,7 @@ _080F45FC:
|
|||||||
cmp r0, 0x1
|
cmp r0, 0x1
|
||||||
bne _080F4614
|
bne _080F4614
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB7A
|
ldr r1, =gText_First
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F4634
|
b _080F4634
|
||||||
.pool
|
.pool
|
||||||
@ -15113,13 +15113,13 @@ _080F4614:
|
|||||||
cmp r0, 0x2
|
cmp r0, 0x2
|
||||||
bne _080F462C
|
bne _080F462C
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB80
|
ldr r1, =gText_Second
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
b _080F4634
|
b _080F4634
|
||||||
.pool
|
.pool
|
||||||
_080F462C:
|
_080F462C:
|
||||||
ldr r0, =gStringVar2
|
ldr r0, =gStringVar2
|
||||||
ldr r1, =gUnknown_085ECB87
|
ldr r1, =gText_Third
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_080F4634:
|
_080F4634:
|
||||||
ldr r4, =gStringVar3
|
ldr r4, =gStringVar3
|
||||||
|
@ -1196,7 +1196,7 @@ sub_8166D44: @ 8166D44
|
|||||||
bl GetMonData
|
bl GetMonData
|
||||||
add r0, sp, 0xC
|
add r0, sp, 0xC
|
||||||
bl StringGetEnd10
|
bl StringGetEnd10
|
||||||
ldr r1, =gUnknown_085EC7A0
|
ldr r1, =gText_GetsAPokeBlockQuestion
|
||||||
add r0, sp, 0xC
|
add r0, sp, 0xC
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
ldr r4, =gStringVar4
|
ldr r4, =gStringVar4
|
||||||
@ -1426,7 +1426,7 @@ sub_8166F50: @ 8166F50
|
|||||||
movs r1, 0x97
|
movs r1, 0x97
|
||||||
movs r2, 0xE
|
movs r2, 0xE
|
||||||
bl sub_8098858
|
bl sub_8098858
|
||||||
ldr r2, =gUnknown_085EC800
|
ldr r2, =gText_WontEatAnymore
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@ -1503,13 +1503,13 @@ _08166FEC:
|
|||||||
ldr r1, [r0]
|
ldr r1, [r0]
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gUnknown_085EC7E1
|
ldr r1, =gText_WasEnhanced
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringAppend
|
bl StringAppend
|
||||||
b _08167018
|
b _08167018
|
||||||
.pool
|
.pool
|
||||||
_08167010:
|
_08167010:
|
||||||
ldr r1, =gUnknown_085EC7EF
|
ldr r1, =gText_NothingChanged
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
_08167018:
|
_08167018:
|
||||||
@ -2895,7 +2895,7 @@ sub_8167BA0: @ 8167BA0
|
|||||||
ldr r0, [r7]
|
ldr r0, [r7]
|
||||||
ldr r6, =0x0000804a
|
ldr r6, =0x0000804a
|
||||||
adds r0, r6
|
adds r0, r6
|
||||||
ldr r1, =gUnknown_085EBF8D
|
ldr r1, =gText_NatureSlash
|
||||||
bl StringCopy
|
bl StringCopy
|
||||||
ldr r1, =gNatureNamePointers
|
ldr r1, =gNatureNamePointers
|
||||||
lsls r4, 2
|
lsls r4, 2
|
||||||
|
@ -53,7 +53,7 @@ _081D9A44:
|
|||||||
bl sub_80D2578
|
bl sub_80D2578
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _081D9A5C
|
beq _081D9A5C
|
||||||
ldr r0, =gUnknown_085EE49A
|
ldr r0, =gText_Peekaboo
|
||||||
bl sub_80D255C
|
bl sub_80D255C
|
||||||
b _081D9A68
|
b _081D9A68
|
||||||
.pool
|
.pool
|
||||||
|
@ -353,7 +353,7 @@ Cb2_StartWallClock: @ 81349F4
|
|||||||
movs r0, 0x5A
|
movs r0, 0x5A
|
||||||
strh r0, [r1, 0x30]
|
strh r0, [r1, 0x30]
|
||||||
bl sub_813498C
|
bl sub_813498C
|
||||||
ldr r2, =gUnknown_085EFAE0
|
ldr r2, =gText_Confirm3
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
mov r1, r8
|
mov r1, r8
|
||||||
@ -500,7 +500,7 @@ _08134BA4:
|
|||||||
ldrh r0, [r0, 0xC]
|
ldrh r0, [r0, 0xC]
|
||||||
strh r0, [r1, 0x30]
|
strh r0, [r1, 0x30]
|
||||||
bl sub_813498C
|
bl sub_813498C
|
||||||
ldr r2, =gUnknown_085EFAE8
|
ldr r2, =gText_Cancel4
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
mov r1, r9
|
mov r1, r9
|
||||||
@ -683,7 +683,7 @@ sub_8134DC4: @ 8134DC4
|
|||||||
adds r2, r5, 0
|
adds r2, r5, 0
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl SetWindowBorderStyle
|
bl SetWindowBorderStyle
|
||||||
ldr r2, =gUnknown_085EFAC6
|
ldr r2, =gText_IsThisTheCorrectTime
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
|
14
charmap.txt
14
charmap.txt
@ -440,12 +440,14 @@ GREEN = 06
|
|||||||
LIGHT_GREEN = 07
|
LIGHT_GREEN = 07
|
||||||
BLUE = 08
|
BLUE = 08
|
||||||
LIGHT_BLUE = 09
|
LIGHT_BLUE = 09
|
||||||
BORDER_COLOR1 = 0A @ white
|
@ these next colors can be set to anything arbitrary at runtime
|
||||||
BORDER_COLOR2 = 0B @ white with a tinge of green
|
@ usually though they'll have the textbox border colors as described below
|
||||||
BORDER_COLOR3 = 0C @ white 2
|
DYNAMIC_COLOR1 = 0A @ white
|
||||||
BORDER_COLOR4 = 0D @ aquamarine
|
DYNAMIC_COLOR2 = 0B @ white with a tinge of green
|
||||||
BORDER_COLOR5 = 0E @ blue-green
|
DYNAMIC_COLOR3 = 0C @ white 2
|
||||||
BORDER_COLOR6 = 0F @ cerulean
|
DYNAMIC_COLOR4 = 0D @ aquamarine
|
||||||
|
DYNAMIC_COLOR5 = 0E @ blue-green
|
||||||
|
DYNAMIC_COLOR6 = 0F @ cerulean
|
||||||
|
|
||||||
@ sound and music
|
@ sound and music
|
||||||
|
|
||||||
|
5576
data/bard_music.s
5576
data/bard_music.s
File diff suppressed because it is too large
Load Diff
116
data/battle_4.s
116
data/battle_4.s
@ -7,44 +7,134 @@
|
|||||||
|
|
||||||
|
|
||||||
gMoveEffectBS_Ptrs:: @ 831C224
|
gMoveEffectBS_Ptrs:: @ 831C224
|
||||||
.incbin "baserom.gba", 0x31c224, 0xa4
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB386
|
||||||
|
.4byte gUnknown_082DB395
|
||||||
|
.4byte gUnknown_082DB3A4
|
||||||
|
.4byte gUnknown_082DB3B3
|
||||||
|
.4byte gUnknown_082DB3C9
|
||||||
|
.4byte gUnknown_082DB3E6
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB3C2
|
||||||
|
.4byte gUnknown_082DB3D6
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB3DD
|
||||||
|
.4byte gUnknown_082DB3F4
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB36A
|
||||||
|
.4byte gUnknown_082DB3F4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
window_template 0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x003f
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C2C8:: @ 831C2C8
|
gUnknown_0831C2C8:: @ 831C2C8
|
||||||
.incbin "baserom.gba", 0x31c2c8, 0x20
|
.incbin "graphics/battle_interface/unk_battlebox.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C2E8:: @ 831C2E8
|
gUnknown_0831C2E8:: @ 831C2E8
|
||||||
.incbin "baserom.gba", 0x31c2e8, 0xd8
|
.incbin "graphics/battle_interface/unk_battlebox.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.byte 0x3A, 0x3E, 0x3B, 0x3F, 0x3C, 0x3D, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_0831C3B8:: @ 831C3B8
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C3C0:: @ 831C3C0
|
gUnknown_0831C3C0:: @ 831C3C0
|
||||||
.incbin "baserom.gba", 0x31c3c0, 0x18
|
.2byte 0xd75a @ tileTag
|
||||||
|
.2byte 0xd75a @ paletteTag
|
||||||
|
.4byte gUnknown_0831C3B8
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_804F450
|
||||||
|
|
||||||
|
.align 2
|
||||||
sProtectSuccessRates:: @ 831C3D8
|
sProtectSuccessRates:: @ 831C3D8
|
||||||
.incbin "baserom.gba", 0x31c3d8, 0x8
|
.2byte 0xffff, 0x7fff, 0x3fff, 0x1fff
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C3E0:: @ 831C3E0
|
gUnknown_0831C3E0:: @ 831C3E0
|
||||||
.incbin "baserom.gba", 0x31c3e0, 0x28
|
.2byte MOVE_METRONOME, MOVE_STRUGGLE, MOVE_SKETCH, MOVE_MIMIC
|
||||||
|
.2byte 0xfffe, MOVE_COUNTER, MOVE_MIRROR_COAT, MOVE_PROTECT
|
||||||
|
.2byte MOVE_DETECT, MOVE_ENDURE, MOVE_DESTINY_BOND, MOVE_SLEEP_TALK
|
||||||
|
.2byte MOVE_THIEF, MOVE_FOLLOW_ME, MOVE_SNATCH, MOVE_HELPING_HAND
|
||||||
|
.2byte MOVE_COVET, MOVE_TRICK, MOVE_FOCUS_PUNCH, 0xffff
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C408:: @ 831C408
|
gUnknown_0831C408:: @ 831C408
|
||||||
.incbin "baserom.gba", 0x31c408, 0xc
|
.byte 0x01, 0xc8, 0x04, 0x96, 0x09, 0x64, 0x10, 0x50
|
||||||
|
.byte 0x20, 0x28, 0x30, 0x14
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C414:: @ 831C414
|
gUnknown_0831C414:: @ 831C414
|
||||||
.incbin "baserom.gba", 0x31c414, 0x14
|
.2byte 0x004e, 0x004b, 0x0059, 0x0038
|
||||||
|
.2byte 0x0039, 0x003d, 0x009d, 0x00f7
|
||||||
|
.2byte 0x0081, 0x0081
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C428:: @ 831C428
|
gUnknown_0831C428:: @ 831C428
|
||||||
.incbin "baserom.gba", 0x31c428, 0x18
|
.2byte 0x0064, 0x0014, 0x00fa, 0x0028
|
||||||
|
.2byte 0x01f4, 0x003c, 0x03e8, 0x0050
|
||||||
|
.2byte 0x07d0, 0x0064, 0xffff, 0xffff
|
||||||
|
|
||||||
|
.align 2
|
||||||
@ 831C440
|
@ 831C440
|
||||||
.include "data/pickup_items.inc"
|
.include "data/pickup_items.inc"
|
||||||
|
|
||||||
sTerrainToType:: @ 831C483
|
sTerrainToType:: @ 831C483
|
||||||
.incbin "baserom.gba", 0x31c483, 0xa
|
.byte 0x0c, 0x0c, 0x04, 0x0b, 0x0b, 0x0b, 0x05, 0x05
|
||||||
|
.byte 0x00, 0x00
|
||||||
|
|
||||||
sBallCatchBonuses:: @ 831C48D
|
sBallCatchBonuses:: @ 831C48D
|
||||||
.incbin "baserom.gba", 0x31c48d, 0x7
|
.byte 0x14, 0x0f, 0x0a, 0x0f, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C494:: @ 831C494
|
gUnknown_0831C494:: @ 831C494
|
||||||
.incbin "baserom.gba", 0x31c494, 0x64
|
.byte 0x3d, 0x44, 0x3d, 0x44, 0x14, 0x2d, 0x54, 0x5c
|
||||||
|
.byte 0x46, 0x55, 0x20, 0x5c, 0x26, 0x45, 0x46, 0x55
|
||||||
|
.byte 0x14, 0x5a, 0x46, 0x5c, 0x1e, 0x32, 0x20, 0x5a
|
||||||
|
.byte 0x38, 0x4e, 0x38, 0x4e, 0x19, 0x28, 0x4b, 0x5a
|
||||||
|
.byte 0x45, 0x4b, 0x1c, 0x53, 0x23, 0x2d, 0x1d, 0x23
|
||||||
|
.byte 0x3e, 0x48, 0x1e, 0x32, 0x3a, 0x5f, 0x58, 0x5e
|
||||||
|
.byte 0x22, 0x2d, 0x1d, 0x28, 0x23, 0x28, 0x23, 0x5f
|
||||||
|
.byte 0x38, 0x4e, 0x38, 0x4e, 0x23, 0x50, 0x22, 0x5e
|
||||||
|
.byte 0x2c, 0x5e, 0x22, 0x28, 0x38, 0x4e, 0x38, 0x4e
|
||||||
|
.byte 0x1e, 0x58, 0x1e, 0x58, 0x1e, 0x2b, 0x1b, 0x21
|
||||||
|
.byte 0x28, 0x5a, 0x19, 0x57, 0x12, 0x58, 0x5a, 0x5f
|
||||||
|
.byte 0x58, 0x5e, 0x16, 0x2a, 0x2a, 0x5c, 0x2a, 0x2f
|
||||||
|
.byte 0x38, 0x4e, 0x38, 0x4e
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_0831C4F8:: @ 831C4F8
|
gUnknown_0831C4F8:: @ 831C4F8
|
||||||
.incbin "baserom.gba", 0x31c4f8, 0x1c
|
.byte 0x03, 0x00, 0x01, 0x00, 0x00, 0x01, 0x03, 0x00
|
||||||
|
.byte 0x01, 0x02, 0x02, 0x00, 0x03, 0x01, 0x03, 0x01
|
||||||
|
.byte 0x02, 0x03, 0x03, 0x02, 0x01, 0x00, 0x02, 0x02
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
@ -3,26 +3,237 @@
|
|||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E5088:: @ 85E5088
|
gUnknown_085E5088:: @ 85E5088
|
||||||
.incbin "baserom.gba", 0x5e5088, 0xc
|
.byte 0x0a, 0x02, 0xfd, 0x00, 0x0f, 0x00, 0xfc, 0x00
|
||||||
|
.byte 0xf6, 0x02, 0xfc, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E5094:: @ 85E5094
|
gUnknown_085E5094:: @ 85E5094
|
||||||
.incbin "baserom.gba", 0x5e5094, 0x60
|
.4byte gUnknown_08C1A490, 0xd6ec0100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6ed0100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6ee0100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6ef0100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f00100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f10100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f20100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f30100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f40100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f50100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f60100
|
||||||
|
.4byte gUnknown_08C1A490, 0xd6f70100
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E50F4:: @ 85E50F4
|
gUnknown_085E50F4:: @ 85E50F4
|
||||||
.incbin "baserom.gba", 0x5e50f4, 0xc0
|
.4byte gUnknown_08C1A564, 0x0000d6ec
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6ed
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6ee
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6ef
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f0
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f1
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f2
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f3
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f4
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f5
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f6
|
||||||
|
.4byte gUnknown_08C1A564, 0x0000d6f7
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5154:: @ 85E5154
|
||||||
|
.2byte 0x0000, 0x0001, 0x0001, 0x0001
|
||||||
|
.2byte 0x0002, 0x0001, 0x0000, 0x0041
|
||||||
|
.2byte 0x0002, 0x0001, 0x0001, 0x0001
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5170:: @ 85E5170
|
||||||
|
.2byte 0x0003, 0x0001, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5178:: @ 85E5178
|
||||||
|
.2byte 0x0004, 0x0001, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5180:: @ 85E5180
|
||||||
|
.2byte 0x0005, 0x0001, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5188:: @ 85E5188
|
||||||
|
.2byte 0x0006, 0x0004, 0x0007, 0x0004
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5194:: @ 85E5194
|
||||||
|
.2byte 0x0007, 0x0004, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E519C:: @ 85E519C
|
||||||
|
.4byte gUnknown_085E5154
|
||||||
|
.4byte gUnknown_085E5170
|
||||||
|
.4byte gUnknown_085E5178
|
||||||
|
.4byte gUnknown_085E5180
|
||||||
|
.4byte gUnknown_085E5188
|
||||||
|
.4byte gUnknown_085E5194
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E51B4:: @ 85E51B4
|
gUnknown_085E51B4:: @ 85E51B4
|
||||||
.incbin "baserom.gba", 0x5e51b4, 0xc
|
.byte 0x00, 0x00, 0x00, 0x05, 0x01, 0x02, 0x02, 0x03
|
||||||
|
.byte 0x05, 0x05, 0x04, 0x04
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E51C0:: @ 85E51C0
|
gUnknown_085E51C0:: @ 85E51C0
|
||||||
.incbin "baserom.gba", 0x5e51c0, 0x30
|
.4byte sub_8171E50
|
||||||
|
.4byte sub_81723D4
|
||||||
|
.4byte sub_81721CC
|
||||||
|
.4byte sub_81722CC
|
||||||
|
.4byte sub_81726BC
|
||||||
|
.4byte sub_81721CC
|
||||||
|
.4byte sub_81720C8
|
||||||
|
.4byte sub_81722CC
|
||||||
|
.4byte sub_8172560
|
||||||
|
.4byte sub_8171FC4
|
||||||
|
.4byte sub_81723D4
|
||||||
|
.4byte sub_81727E8
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E51F0:: @ 85E51F0
|
gUnknown_085E51F0:: @ 85E51F0
|
||||||
.incbin "baserom.gba", 0x5e51f0, 0x60
|
.2byte 0xd6ec @ tileTag
|
||||||
|
.2byte 0xd6ec @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6ed @ tileTag
|
||||||
|
.2byte 0xd6ed @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6ee @ tileTag
|
||||||
|
.2byte 0xd6ee @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6ef @ tileTag
|
||||||
|
.2byte 0xd6ef @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E5250:: @ 85E5250
|
gUnknown_085E5250:: @ 85E5250
|
||||||
.incbin "baserom.gba", 0x5e5250, 0xc0
|
.2byte 0xd6f0 @ tileTag
|
||||||
|
.2byte 0xd6f0 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6f1 @ tileTag
|
||||||
|
.2byte 0xd6f1 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6f2 @ tileTag
|
||||||
|
.2byte 0xd6f2 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6f3 @ tileTag
|
||||||
|
.2byte 0xd6f3 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6f4 @ tileTag
|
||||||
|
.2byte 0xd6f4 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6f5 @ tileTag
|
||||||
|
.2byte 0xd6f5 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6f6 @ tileTag
|
||||||
|
.2byte 0xd6f6 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0xd6f7 @ tileTag
|
||||||
|
.2byte 0xd6f7 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gUnknown_085E519C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
gUnknown_085E5310:: @ 85E5310
|
gUnknown_085E5310:: @ 85E5310
|
||||||
.incbin "baserom.gba", 0x5e5310, 0x64
|
.2byte 0x7adf, 0x7af0, 0x53d7, 0x3fff, 0x7297, 0x67f5, 0x7b2c, 0x2b7e
|
||||||
|
.2byte 0x431f, 0x7bdd, 0x2a3f, 0x293f, 0x0000, 0x0201, 0x0403, 0x0101
|
||||||
|
.2byte 0x0100, 0x0503, 0x0506, 0x0004
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x281d @ tileTag
|
||||||
|
.2byte 0x281d @ paletteTag
|
||||||
|
.4byte gUnknown_0852490C
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_817330C
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5350:: @ 8535350
|
||||||
|
.2byte 0x0040, 0x0001, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085E5358:: @ 8535358
|
||||||
|
.4byte gUnknown_085E5350
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x274a @ tileTag
|
||||||
|
.2byte 0x274a @ paletteTag
|
||||||
|
.4byte gUnknown_08524914
|
||||||
|
.4byte gUnknown_085E5358
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_817330C
|
||||||
|
|
||||||
|
@ -3,6 +3,62 @@
|
|||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gLinkOpponentBufferCommands:: @ 831C7B4
|
gLinkOpponentBufferCommands:: @ 831C7B4
|
||||||
.incbin "baserom.gba", 0x31c7b4, 0xe4
|
.4byte dp01t_00_2_getattr
|
||||||
|
.4byte sub_8065900
|
||||||
|
.4byte sub_806590C
|
||||||
|
.4byte sub_8066284
|
||||||
|
.4byte sub_80662F8
|
||||||
|
.4byte sub_8066448
|
||||||
|
.4byte sub_8066624
|
||||||
|
.4byte sub_8066748
|
||||||
|
.4byte sub_8066A58
|
||||||
|
.4byte sub_8066B94
|
||||||
|
.4byte sub_8066C40
|
||||||
|
.4byte sub_8066CEC
|
||||||
|
.4byte sub_8066CF8
|
||||||
|
.4byte sub_8066D04
|
||||||
|
.4byte sub_8066D10
|
||||||
|
.4byte sub_8066D1C
|
||||||
|
.4byte sub_8066FF4
|
||||||
|
.4byte sub_806704C
|
||||||
|
.4byte sub_8067058
|
||||||
|
.4byte sub_8067064
|
||||||
|
.4byte sub_8067070
|
||||||
|
.4byte sub_806707C
|
||||||
|
.4byte sub_8067088
|
||||||
|
.4byte sub_8067094
|
||||||
|
.4byte sub_80670A0
|
||||||
|
.4byte sub_8067190
|
||||||
|
.4byte sub_806719C
|
||||||
|
.4byte sub_8067214
|
||||||
|
.4byte sub_806727C
|
||||||
|
.4byte sub_8067288
|
||||||
|
.4byte sub_8067294
|
||||||
|
.4byte sub_80672A0
|
||||||
|
.4byte sub_80672AC
|
||||||
|
.4byte sub_80672B8
|
||||||
|
.4byte sub_80672C4
|
||||||
|
.4byte sub_80672D0
|
||||||
|
.4byte sub_80672DC
|
||||||
|
.4byte sub_80672E8
|
||||||
|
.4byte sub_8067304
|
||||||
|
.4byte sub_806733C
|
||||||
|
.4byte sub_8067354
|
||||||
|
.4byte sub_806737C
|
||||||
|
.4byte sub_80673EC
|
||||||
|
.4byte sub_80673F8
|
||||||
|
.4byte sub_806743C
|
||||||
|
.4byte sub_8067498
|
||||||
|
.4byte sub_80674D4
|
||||||
|
.4byte sub_8067508
|
||||||
|
.4byte sub_8067718
|
||||||
|
.4byte sub_8067874
|
||||||
|
.4byte sub_80678C4
|
||||||
|
.4byte sub_80678D0
|
||||||
|
.4byte sub_8067930
|
||||||
|
.4byte sub_80679A4
|
||||||
|
.4byte sub_80679C4
|
||||||
|
.4byte sub_80679D0
|
||||||
|
.4byte nullsub_92
|
||||||
|
@ -3,7 +3,63 @@
|
|||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gLinkPartnerBufferCommands:: @ 85C9A94
|
gLinkPartnerBufferCommands:: @ 85C9A94
|
||||||
.incbin "baserom.gba", 0x5c9a94, 0xe4
|
.4byte dp01t_00_4_getattr
|
||||||
|
.4byte sub_814C038
|
||||||
|
.4byte sub_814C044
|
||||||
|
.4byte sub_814CA98
|
||||||
|
.4byte sub_814CB0C
|
||||||
|
.4byte sub_814CC28
|
||||||
|
.4byte sub_814CE14
|
||||||
|
.4byte sub_814CF30
|
||||||
|
.4byte sub_814D0E4
|
||||||
|
.4byte sub_814D0F0
|
||||||
|
.4byte sub_814D19C
|
||||||
|
.4byte sub_814D288
|
||||||
|
.4byte sub_814D294
|
||||||
|
.4byte sub_814D2A0
|
||||||
|
.4byte sub_814D2AC
|
||||||
|
.4byte sub_814D2B8
|
||||||
|
.4byte sub_814D590
|
||||||
|
.4byte sub_814D5E8
|
||||||
|
.4byte sub_814D5F4
|
||||||
|
.4byte sub_814D600
|
||||||
|
.4byte sub_814D60C
|
||||||
|
.4byte sub_814D618
|
||||||
|
.4byte sub_814D624
|
||||||
|
.4byte sub_814D630
|
||||||
|
.4byte sub_814D63C
|
||||||
|
.4byte sub_814D72C
|
||||||
|
.4byte sub_814D738
|
||||||
|
.4byte sub_814D7B0
|
||||||
|
.4byte sub_814D818
|
||||||
|
.4byte sub_814D824
|
||||||
|
.4byte sub_814D830
|
||||||
|
.4byte sub_814D83C
|
||||||
|
.4byte sub_814D848
|
||||||
|
.4byte sub_814D854
|
||||||
|
.4byte sub_814D860
|
||||||
|
.4byte sub_814D86C
|
||||||
|
.4byte sub_814D878
|
||||||
|
.4byte sub_814D884
|
||||||
|
.4byte sub_814D8A0
|
||||||
|
.4byte sub_814D8D8
|
||||||
|
.4byte sub_814D8F0
|
||||||
|
.4byte dp01t_29_4_blink
|
||||||
|
.4byte sub_814D988
|
||||||
|
.4byte sub_814D994
|
||||||
|
.4byte sub_814D9D8
|
||||||
|
.4byte sub_814DA34
|
||||||
|
.4byte dp01t_2E_4_battle_intro
|
||||||
|
.4byte sub_814DAA8
|
||||||
|
.4byte sub_814DDD8
|
||||||
|
.4byte sub_814DEE4
|
||||||
|
.4byte sub_814DF34
|
||||||
|
.4byte sub_814DF40
|
||||||
|
.4byte sub_814DFA0
|
||||||
|
.4byte sub_814E014
|
||||||
|
.4byte sub_814E034
|
||||||
|
.4byte sub_814E040
|
||||||
|
.4byte nullsub_113
|
||||||
|
|
||||||
|
@ -3,7 +3,65 @@
|
|||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gOpponentBufferCommands:: @ 831C6C8
|
gOpponentBufferCommands:: @ 831C6C8
|
||||||
.incbin "baserom.gba", 0x31c6c8, 0xec
|
.4byte dp01t_00_7_getattr
|
||||||
|
.4byte dp01t_01_2_read_pokmon_data_slice
|
||||||
|
.4byte dp01t_02_7_setattr
|
||||||
|
.4byte sub_80611B0
|
||||||
|
.4byte sub_8061224
|
||||||
|
.4byte sub_806137C
|
||||||
|
.4byte sub_806156C
|
||||||
|
.4byte sub_8061690
|
||||||
|
.4byte sub_80618D8
|
||||||
|
.4byte sub_8061AF0
|
||||||
|
.4byte sub_8061B9C
|
||||||
|
.4byte sub_8061C48
|
||||||
|
.4byte sub_8061C54
|
||||||
|
.4byte sub_8061C60
|
||||||
|
.4byte sub_8061C6C
|
||||||
|
.4byte sub_8061C78
|
||||||
|
.4byte sub_8061F34
|
||||||
|
.4byte sub_8061F90
|
||||||
|
.4byte sub_8061F9C
|
||||||
|
.4byte sub_8061FAC
|
||||||
|
.4byte sub_8061FB8
|
||||||
|
.4byte sub_806215C
|
||||||
|
.4byte sub_8062188
|
||||||
|
.4byte sub_8062288
|
||||||
|
.4byte sub_8062294
|
||||||
|
.4byte sub_8062384
|
||||||
|
.4byte sub_8062390
|
||||||
|
.4byte sub_8062408
|
||||||
|
.4byte sub_8062470
|
||||||
|
.4byte sub_806247C
|
||||||
|
.4byte sub_8062488
|
||||||
|
.4byte sub_8062494
|
||||||
|
.4byte sub_80624A0
|
||||||
|
.4byte sub_80624AC
|
||||||
|
.4byte sub_80624B8
|
||||||
|
.4byte sub_80624C4
|
||||||
|
.4byte sub_80624D0
|
||||||
|
.4byte sub_80624DC
|
||||||
|
.4byte sub_80624F8
|
||||||
|
.4byte sub_8062530
|
||||||
|
.4byte sub_8062548
|
||||||
|
.4byte dp01t_29_7_blink
|
||||||
|
.4byte sub_80625E0
|
||||||
|
.4byte sub_80625EC
|
||||||
|
.4byte sub_8062630
|
||||||
|
.4byte sub_806268C
|
||||||
|
.4byte dp01t_2E_7_battle_intro
|
||||||
|
.4byte sub_80626FC
|
||||||
|
.4byte dp01t_30_7_0803D67C
|
||||||
|
.4byte sub_8062A74
|
||||||
|
.4byte sub_8062AC4
|
||||||
|
.4byte sub_8062AD0
|
||||||
|
.4byte dp01t_34_7_move_anim_start_t3
|
||||||
|
.4byte sub_8062B98
|
||||||
|
.4byte sub_8062BA4
|
||||||
|
.4byte sub_8062BB0
|
||||||
|
.4byte nullsub_91
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.byte 0xB0, 0xB0, 0xC8, 0x98, 0x28, 0x28, 0x28, 0x20
|
||||||
|
@ -2,7 +2,64 @@
|
|||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gPlayerBufferCommands:: @ 831C514
|
gPlayerBufferCommands:: @ 831C514
|
||||||
.incbin "baserom.gba", 0x31c514, 0xe4
|
.4byte dp01t_00_1_getattr
|
||||||
|
.4byte sub_805A614
|
||||||
|
.4byte dp01t_02_1_setattr
|
||||||
|
.4byte sub_805B0F0
|
||||||
|
.4byte sub_805B164
|
||||||
|
.4byte sub_805B1CC
|
||||||
|
.4byte sub_805B3D4
|
||||||
|
.4byte sub_805B4F0
|
||||||
|
.4byte dp01t_08_1_8032428
|
||||||
|
.4byte sub_805B9F8
|
||||||
|
.4byte sub_805BAB8
|
||||||
|
.4byte sub_805BBA4
|
||||||
|
.4byte sub_805BBC4
|
||||||
|
.4byte sub_805BC18
|
||||||
|
.4byte sub_805BC78
|
||||||
|
.4byte dp01t_0F_1_move_anim
|
||||||
|
.4byte sub_805BF80
|
||||||
|
.4byte dp01t_11_1_message_for_player_only
|
||||||
|
.4byte dp01t_12_6_battle_menu
|
||||||
|
.4byte sub_805C0B0
|
||||||
|
.4byte dp01t_14_5_move_menu_pokedude
|
||||||
|
.4byte sub_805C248
|
||||||
|
.4byte sub_805C2AC
|
||||||
|
.4byte sub_805C3EC
|
||||||
|
.4byte sub_805C410
|
||||||
|
.4byte sub_805C528
|
||||||
|
.4byte sub_805C5C4
|
||||||
|
.4byte sub_805C63C
|
||||||
|
.4byte sub_805C6A4
|
||||||
|
.4byte sub_805C710
|
||||||
|
.4byte sub_805C71C
|
||||||
|
.4byte sub_805C7D0
|
||||||
|
.4byte sub_805C800
|
||||||
|
.4byte sub_805C80C
|
||||||
|
.4byte sub_805C820
|
||||||
|
.4byte sub_805C834
|
||||||
|
.4byte sub_805C848
|
||||||
|
.4byte sub_805C85C
|
||||||
|
.4byte sub_805C878
|
||||||
|
.4byte sub_805C8B0
|
||||||
|
.4byte sub_805C8C8
|
||||||
|
.4byte dp01t_29_1_blink
|
||||||
|
.4byte sub_805C960
|
||||||
|
.4byte sub_805C96C
|
||||||
|
.4byte sub_805C9B0
|
||||||
|
.4byte sub_805CA0C
|
||||||
|
.4byte dp01t_2E_1_battle_intro
|
||||||
|
.4byte dp01t_2F_1_pokemon_enter
|
||||||
|
.4byte sub_805CD74
|
||||||
|
.4byte sub_805CE80
|
||||||
|
.4byte sub_805CED0
|
||||||
|
.4byte dp01t_33_1_enemy_move
|
||||||
|
.4byte sub_805CF54
|
||||||
|
.4byte dp01t_35_1_link_standby_message_and_free_vram
|
||||||
|
.4byte sub_805D02C
|
||||||
|
.4byte sub_805D094
|
||||||
|
.4byte nullsub_22
|
||||||
|
|
||||||
|
@ -2,9 +2,70 @@
|
|||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gPlayerPartnerBufferCommands:: @ 8617170
|
gPlayerPartnerBufferCommands:: @ 8617170
|
||||||
.incbin "baserom.gba", 0x617170, 0xE4
|
.4byte dp01t_00_3_getattr
|
||||||
|
.4byte sub_81BC484
|
||||||
|
.4byte sub_81BC490
|
||||||
|
.4byte sub_81BCEE4
|
||||||
|
.4byte sub_81BCF58
|
||||||
|
.4byte sub_81BD074
|
||||||
|
.4byte sub_81BD260
|
||||||
|
.4byte sub_81BD37C
|
||||||
|
.4byte sub_81BD5BC
|
||||||
|
.4byte sub_81BD5C8
|
||||||
|
.4byte sub_81BD674
|
||||||
|
.4byte sub_81BD760
|
||||||
|
.4byte sub_81BD76C
|
||||||
|
.4byte sub_81BD778
|
||||||
|
.4byte sub_81BD784
|
||||||
|
.4byte sub_81BD790
|
||||||
|
.4byte sub_81BDA4C
|
||||||
|
.4byte sub_81BDAA0
|
||||||
|
.4byte sub_81BDAAC
|
||||||
|
.4byte sub_81BDABC
|
||||||
|
.4byte sub_81BDAC8
|
||||||
|
.4byte sub_81BDB70
|
||||||
|
.4byte sub_81BDB7C
|
||||||
|
.4byte sub_81BDC04
|
||||||
|
.4byte sub_81BDC10
|
||||||
|
.4byte sub_81BDD00
|
||||||
|
.4byte sub_81BDD9C
|
||||||
|
.4byte sub_81BDE14
|
||||||
|
.4byte sub_81BDE7C
|
||||||
|
.4byte sub_81BDE88
|
||||||
|
.4byte sub_81BDE94
|
||||||
|
.4byte sub_81BDEA0
|
||||||
|
.4byte sub_81BDEAC
|
||||||
|
.4byte sub_81BDEB8
|
||||||
|
.4byte sub_81BDEC4
|
||||||
|
.4byte sub_81BDED0
|
||||||
|
.4byte sub_81BDEDC
|
||||||
|
.4byte sub_81BDEE8
|
||||||
|
.4byte sub_81BDF04
|
||||||
|
.4byte sub_81BDF3C
|
||||||
|
.4byte sub_81BDF54
|
||||||
|
.4byte dp01t_29_3_blink
|
||||||
|
.4byte sub_81BDFEC
|
||||||
|
.4byte sub_81BDFF8
|
||||||
|
.4byte sub_81BE03C
|
||||||
|
.4byte sub_81BE098
|
||||||
|
.4byte dp01t_2E_3_battle_intro
|
||||||
|
.4byte sub_81BE10C
|
||||||
|
.4byte dp01t_30_3_80EB11C
|
||||||
|
.4byte sub_81BE4E0
|
||||||
|
.4byte sub_81BE530
|
||||||
|
.4byte sub_81BE53C
|
||||||
|
.4byte sub_81BE59C
|
||||||
|
.4byte sub_81BE604
|
||||||
|
.4byte sub_81BE610
|
||||||
|
.4byte sub_81BE61C
|
||||||
|
.4byte nullsub_128
|
||||||
|
|
||||||
|
.align 2
|
||||||
@ apparently unused data
|
@ apparently unused data
|
||||||
.incbin "baserom.gba", 0x617254, 32
|
.byte 0x83, 0x4d, 0xf3, 0x5f, 0x6f, 0x4f, 0xeb, 0x3e
|
||||||
|
.byte 0x67, 0x2e, 0x10, 0x46, 0x8c, 0x3d, 0x28, 0x35
|
||||||
|
.byte 0xc5, 0x2c, 0x15, 0x7f, 0xb5, 0x56, 0x9d, 0x53
|
||||||
|
.byte 0x3b, 0x43, 0xda, 0x36, 0x79, 0x2a, 0x0e, 0x53
|
||||||
|
@ -2,7 +2,64 @@
|
|||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
gRecordedOpponentBufferCommands:: @ 860AE90
|
.align 2
|
||||||
.incbin "baserom.gba", 0x60ae90, 0xe4
|
gRecordedOpponentBufferCommands:: @ 860AE90
|
||||||
|
.4byte sub_8187224
|
||||||
|
.4byte sub_8187A44
|
||||||
|
.4byte sub_8187A50
|
||||||
|
.4byte sub_81883C8
|
||||||
|
.4byte sub_818843C
|
||||||
|
.4byte sub_818858C
|
||||||
|
.4byte sub_8188768
|
||||||
|
.4byte sub_818888C
|
||||||
|
.4byte sub_8188A40
|
||||||
|
.4byte sub_8188A4C
|
||||||
|
.4byte sub_8188AF8
|
||||||
|
.4byte sub_8188BA4
|
||||||
|
.4byte sub_8188BB0
|
||||||
|
.4byte sub_8188BBC
|
||||||
|
.4byte sub_8188BC8
|
||||||
|
.4byte sub_8188BD4
|
||||||
|
.4byte sub_8188E90
|
||||||
|
.4byte sub_8188EE4
|
||||||
|
.4byte sub_8188EF0
|
||||||
|
.4byte sub_8188F14
|
||||||
|
.4byte sub_8188F20
|
||||||
|
.4byte sub_8188F7C
|
||||||
|
.4byte sub_8188F88
|
||||||
|
.4byte sub_8188FC4
|
||||||
|
.4byte sub_8188FD0
|
||||||
|
.4byte sub_81890C0
|
||||||
|
.4byte sub_81890CC
|
||||||
|
.4byte sub_8189144
|
||||||
|
.4byte sub_81891AC
|
||||||
|
.4byte sub_81891B8
|
||||||
|
.4byte sub_81891C4
|
||||||
|
.4byte sub_81891D0
|
||||||
|
.4byte sub_81891DC
|
||||||
|
.4byte sub_81891E8
|
||||||
|
.4byte sub_81891F4
|
||||||
|
.4byte sub_8189200
|
||||||
|
.4byte sub_818920C
|
||||||
|
.4byte sub_8189218
|
||||||
|
.4byte sub_8189234
|
||||||
|
.4byte sub_818926C
|
||||||
|
.4byte sub_8189284
|
||||||
|
.4byte sub_81892AC
|
||||||
|
.4byte sub_818931C
|
||||||
|
.4byte sub_8189328
|
||||||
|
.4byte sub_818936C
|
||||||
|
.4byte sub_81893C8
|
||||||
|
.4byte sub_8189404
|
||||||
|
.4byte sub_8189438
|
||||||
|
.4byte sub_8189648
|
||||||
|
.4byte sub_81897A4
|
||||||
|
.4byte sub_81897F4
|
||||||
|
.4byte sub_8189800
|
||||||
|
.4byte sub_8189860
|
||||||
|
.4byte sub_81898C8
|
||||||
|
.4byte sub_81898D4
|
||||||
|
.4byte sub_81898E0
|
||||||
|
.4byte nullsub_119
|
||||||
|
|
||||||
|
@ -2,7 +2,63 @@
|
|||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gRecordedPlayerBufferCommands:: @ 860AF74
|
gRecordedPlayerBufferCommands:: @ 860AF74
|
||||||
.incbin "baserom.gba", 0x60af74, 0xe4
|
.4byte sub_818A5EC
|
||||||
|
.4byte sub_818AE0C
|
||||||
|
.4byte sub_818AE18
|
||||||
|
.4byte sub_818B86C
|
||||||
|
.4byte sub_818B8E0
|
||||||
|
.4byte sub_818B9FC
|
||||||
|
.4byte sub_818BBE8
|
||||||
|
.4byte sub_818BD04
|
||||||
|
.4byte sub_818BFAC
|
||||||
|
.4byte sub_818BFB8
|
||||||
|
.4byte sub_818C064
|
||||||
|
.4byte sub_818C150
|
||||||
|
.4byte sub_818C15C
|
||||||
|
.4byte sub_818C168
|
||||||
|
.4byte sub_818C174
|
||||||
|
.4byte sub_818C180
|
||||||
|
.4byte sub_818C43C
|
||||||
|
.4byte sub_818C490
|
||||||
|
.4byte sub_818C4D8
|
||||||
|
.4byte sub_818C52C
|
||||||
|
.4byte sub_818C538
|
||||||
|
.4byte sub_818C594
|
||||||
|
.4byte sub_818C5A0
|
||||||
|
.4byte sub_818C5DC
|
||||||
|
.4byte sub_818C5E8
|
||||||
|
.4byte sub_818C6E8
|
||||||
|
.4byte sub_818C6F4
|
||||||
|
.4byte sub_818C76C
|
||||||
|
.4byte sub_818C7D4
|
||||||
|
.4byte sub_818C7E0
|
||||||
|
.4byte sub_818C7EC
|
||||||
|
.4byte sub_818C7F8
|
||||||
|
.4byte sub_818C804
|
||||||
|
.4byte sub_818C810
|
||||||
|
.4byte sub_818C81C
|
||||||
|
.4byte sub_818C828
|
||||||
|
.4byte sub_818C834
|
||||||
|
.4byte sub_818C840
|
||||||
|
.4byte sub_818C85C
|
||||||
|
.4byte sub_818C894
|
||||||
|
.4byte sub_818C8AC
|
||||||
|
.4byte sub_818C8D4
|
||||||
|
.4byte sub_818C944
|
||||||
|
.4byte sub_818C950
|
||||||
|
.4byte sub_818C994
|
||||||
|
.4byte sub_818C9F0
|
||||||
|
.4byte dp01t_2E_2_battle_intro
|
||||||
|
.4byte sub_818CA64
|
||||||
|
.4byte sub_818CD30
|
||||||
|
.4byte sub_818CE3C
|
||||||
|
.4byte sub_818CE8C
|
||||||
|
.4byte sub_818CE98
|
||||||
|
.4byte sub_818CEF8
|
||||||
|
.4byte sub_818CF60
|
||||||
|
.4byte sub_818CF6C
|
||||||
|
.4byte sub_818CF78
|
||||||
|
.4byte nullsub_121
|
||||||
|
@ -2,7 +2,317 @@
|
|||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
gSafariBufferCommands:: @ 85CDF20
|
gSafariBufferCommands:: @ 85CDF20
|
||||||
.incbin "baserom.gba", 0x5cdf20, 0x380
|
.4byte sub_81597AC
|
||||||
|
.4byte sub_81597B8
|
||||||
|
.4byte sub_81597C4
|
||||||
|
.4byte sub_81597D0
|
||||||
|
.4byte sub_81597DC
|
||||||
|
.4byte sub_81597E8
|
||||||
|
.4byte sub_81597F4
|
||||||
|
.4byte sub_8159800
|
||||||
|
.4byte sub_81598E0
|
||||||
|
.4byte sub_81598EC
|
||||||
|
.4byte sub_81598F8
|
||||||
|
.4byte sub_8159904
|
||||||
|
.4byte sub_8159910
|
||||||
|
.4byte sub_8159964
|
||||||
|
.4byte sub_81599C4
|
||||||
|
.4byte sub_81599D0
|
||||||
|
.4byte dp01t_10_6_message
|
||||||
|
.4byte dp01t_11_6_message_for_player_only
|
||||||
|
.4byte sub_8159A94
|
||||||
|
.4byte sub_8159AFC
|
||||||
|
.4byte sub_8159B08
|
||||||
|
.4byte sub_8159B14
|
||||||
|
.4byte sub_8159B54
|
||||||
|
.4byte sub_8159B60
|
||||||
|
.4byte sub_8159B6C
|
||||||
|
.4byte sub_8159B78
|
||||||
|
.4byte sub_8159B84
|
||||||
|
.4byte sub_8159BC0
|
||||||
|
.4byte sub_8159BCC
|
||||||
|
.4byte sub_8159BD8
|
||||||
|
.4byte sub_8159BE4
|
||||||
|
.4byte sub_8159BF0
|
||||||
|
.4byte sub_8159BFC
|
||||||
|
.4byte sub_8159C08
|
||||||
|
.4byte sub_8159C14
|
||||||
|
.4byte sub_8159C20
|
||||||
|
.4byte sub_8159C2C
|
||||||
|
.4byte sub_8159C38
|
||||||
|
.4byte sub_8159C44
|
||||||
|
.4byte sub_8159C50
|
||||||
|
.4byte sub_8159C5C
|
||||||
|
.4byte sub_8159C68
|
||||||
|
.4byte sub_8159C74
|
||||||
|
.4byte sub_8159C80
|
||||||
|
.4byte dp01t_34_6_move_anim_start_t3
|
||||||
|
.4byte sub_8159D20
|
||||||
|
.4byte dp01t_2E_6_battle_intro
|
||||||
|
.4byte sub_8159D90
|
||||||
|
.4byte sub_8159DEC
|
||||||
|
.4byte sub_8159DF8
|
||||||
|
.4byte sub_8159E04
|
||||||
|
.4byte sub_8159E10
|
||||||
|
.4byte sub_8159E1C
|
||||||
|
.4byte sub_8159E78
|
||||||
|
.4byte sub_8159E84
|
||||||
|
.4byte sub_8159E90
|
||||||
|
.4byte nullsub_115
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE004:: @ 85CE004
|
||||||
|
.2byte 0x0000, 0x0004, 0x0010, 0x0004
|
||||||
|
.2byte 0x0020, 0x0004, 0x0030, 0x0004
|
||||||
|
.2byte 0x0040, 0x0004, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE01C:: @ 85CE01C
|
||||||
|
.4byte gUnknown_085CE004
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE020:: @ 85CE020
|
||||||
|
.2byte 0x2799 @ tileTag
|
||||||
|
.2byte 0x2799 @ paletteTag
|
||||||
|
.4byte gUnknown_08524A34
|
||||||
|
.4byte gUnknown_085CE01C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_80A77C8
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x2720 @ tileTag
|
||||||
|
.2byte 0x2720 @ paletteTag
|
||||||
|
.4byte gUnknown_08524934
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815A0D4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x2721 @ tileTag
|
||||||
|
.2byte 0x2721 @ paletteTag
|
||||||
|
.4byte gUnknown_08524904
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_80A78AC
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE068:: @ 85CE068
|
||||||
|
.2byte 0x0000, 0x0028, 0x0010, 0x0008
|
||||||
|
.2byte 0x0020, 0x0028, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE078:: @ 85CE078
|
||||||
|
.4byte gUnknown_085CE068
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE07C:: @ 85CE07C
|
||||||
|
.2byte 0x27ce @ tileTag
|
||||||
|
.2byte 0x27ce @ paletteTag
|
||||||
|
.4byte gUnknown_08524914
|
||||||
|
.4byte gUnknown_085CE078
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_80A77C8
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x27cf @ tileTag
|
||||||
|
.2byte 0x27cf @ paletteTag
|
||||||
|
.4byte gUnknown_08524A3C
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815A1B0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x27cd @ tileTag
|
||||||
|
.2byte 0x27cd @ paletteTag
|
||||||
|
.4byte gUnknown_08524974
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815A254
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE0C4:: @ 85CE0C4
|
||||||
|
.2byte 0x0180, 0x0180, 0x0000, 0x0000
|
||||||
|
.2byte 0xffe0, 0x0018, 0x0500, 0x0000
|
||||||
|
.2byte 0x0018, 0xffe0, 0x0500, 0x0000
|
||||||
|
.2byte 0x7ffe, 0x0001, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE0E4:: @ 85CE0E4
|
||||||
|
.2byte 0x0030, 0x0030, 0x0000, 0x0000
|
||||||
|
.2byte 0x0020, 0x0020, 0x0600, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE0FC:: @ 85CE0FC
|
||||||
|
.4byte gUnknown_085CE0C4
|
||||||
|
.4byte gUnknown_085CE0E4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE104:: @ 85CE104
|
||||||
|
.2byte 0x27cb @ tileTag
|
||||||
|
.2byte 0x27cb @ paletteTag
|
||||||
|
.4byte gUnknown_08524AFC
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gUnknown_085CE0FC
|
||||||
|
.4byte sub_815A2F0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x27a8 @ tileTag
|
||||||
|
.2byte 0x27a8 @ paletteTag
|
||||||
|
.4byte gUnknown_0852490C
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815A6C4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE134:: @ 85CE134
|
||||||
|
.2byte 0x0000, 0x0003, 0x0010, 0x0003
|
||||||
|
.2byte 0x0020, 0x0003, 0x0030, 0x0003
|
||||||
|
.2byte 0x0040, 0x0003, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE14C:: @ 85CE14C
|
||||||
|
.4byte gUnknown_085CE134
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE150:: @ 85CE150
|
||||||
|
.2byte 0x272b @ tileTag
|
||||||
|
.2byte 0x272b @ paletteTag
|
||||||
|
.4byte gUnknown_08524914
|
||||||
|
.4byte gUnknown_085CE14C
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815A7B0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE168:: @ 85CE168
|
||||||
|
.2byte 0x0000, 0x0003, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE170:: @ 85CE170
|
||||||
|
.4byte gUnknown_085CE168
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE174:: @ 85CE174
|
||||||
|
.2byte 0xfff9, 0xfff9, 0x10fd, 0x0000
|
||||||
|
.2byte 0x0007, 0x0007, 0x1003, 0x0000
|
||||||
|
.2byte 0x7ffe, 0x0000, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE18C:: @ 85CE18C
|
||||||
|
.4byte gUnknown_085CE174
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE190:: @ 85CE190
|
||||||
|
.2byte 0x27f4 @ tileTag
|
||||||
|
.2byte 0x27f4 @ paletteTag
|
||||||
|
.4byte gUnknown_08524974
|
||||||
|
.4byte gUnknown_085CE170
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gUnknown_085CE18C
|
||||||
|
.4byte sub_815A7EC
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE1A8:: @ 85CE1A8
|
||||||
|
.2byte 0x0000, 0x0008, 0x0010, 0x0010, 0x0020, 0x0004, 0x0030, 0x0004, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE1BC:: @ 85CE1BC
|
||||||
|
.4byte gUnknown_085CE1A8
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE1C0:: @ 85CE1C0
|
||||||
|
.2byte 0x0200, 0x0200, 0x0000, 0x0000
|
||||||
|
.2byte 0xffe0, 0xffe0, 0x0800, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE1D8:: @ 85CE1D8
|
||||||
|
.4byte gUnknown_085CE1C0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE1DC:: @ 85CE1DC
|
||||||
|
.2byte 0x27d0 @ tileTag
|
||||||
|
.2byte 0x27d0 @ paletteTag
|
||||||
|
.4byte gUnknown_085249D4
|
||||||
|
.4byte gUnknown_085CE1BC
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gUnknown_085CE1D8
|
||||||
|
.4byte sub_815A8AC
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE1F4:: @ 85CE1F4
|
||||||
|
.2byte 0x0000, 0x0180, 0x0000, 0x0000
|
||||||
|
.2byte 0x0010, 0x0000, 0x1400, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE20C:: @ 85CE20C
|
||||||
|
.2byte 0x0140, 0x0180, 0x0000, 0x0000
|
||||||
|
.2byte 0xfff0, 0x0000, 0x1300, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE224:: @ 85CE224
|
||||||
|
.4byte gUnknown_085CE1F4
|
||||||
|
.4byte gUnknown_085CE20C
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE22C:: @ 85CE22C
|
||||||
|
.2byte 0x27f3 @ tileTag
|
||||||
|
.2byte 0x27f3 @ paletteTag
|
||||||
|
.4byte gUnknown_085249DC
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gUnknown_085CE224
|
||||||
|
.4byte sub_815A934
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x2807 @ tileTag
|
||||||
|
.2byte 0x2807 @ paletteTag
|
||||||
|
.4byte gUnknown_08524914
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815AAA4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.2byte 0x2807 @ tileTag
|
||||||
|
.2byte 0x2807 @ paletteTag
|
||||||
|
.4byte gUnknown_08524914
|
||||||
|
.4byte gDummySpriteAnimTable
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815ABD0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE274:: @ 85CE274
|
||||||
|
.2byte 0x0000, 0x0002, 0x0008, 0x0002
|
||||||
|
.2byte 0x0010, 0x0002, 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE284:: @ 85CE284
|
||||||
|
.4byte gUnknown_085CE274
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_085CE288:: @ 85CE288
|
||||||
|
.2byte 0x27f5 @ tileTag
|
||||||
|
.2byte 0x27f5 @ paletteTag
|
||||||
|
.4byte gUnknown_08524934
|
||||||
|
.4byte gUnknown_085CE284
|
||||||
|
.4byte NULL
|
||||||
|
.4byte gDummySpriteAffineAnimTable
|
||||||
|
.4byte sub_815ACD0
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,8 +2,63 @@
|
|||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
|
||||||
gWallyBufferCommands:: @ 85DFDC0
|
|
||||||
.incbin "baserom.gba", 0x5dfdc0, 0xe4
|
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWallyBufferCommands:: @ 85DFDC0
|
||||||
|
.4byte dp01t_00_5_getattr
|
||||||
|
.4byte sub_81693C0
|
||||||
|
.4byte sub_81693CC
|
||||||
|
.4byte sub_8169E20
|
||||||
|
.4byte sub_8169E2C
|
||||||
|
.4byte sub_8169E38
|
||||||
|
.4byte sub_8169E44
|
||||||
|
.4byte sub_8169EC8
|
||||||
|
.4byte dp01t_07_6_
|
||||||
|
.4byte sub_816A060
|
||||||
|
.4byte sub_816A06C
|
||||||
|
.4byte sub_816A078
|
||||||
|
.4byte sub_816A084
|
||||||
|
.4byte sub_816A0D8
|
||||||
|
.4byte sub_816A138
|
||||||
|
.4byte sub_816A144
|
||||||
|
.4byte sub_816A3B8
|
||||||
|
.4byte dp01t_11_5_message_for_player_only
|
||||||
|
.4byte dp01t_12_1_battle_menu
|
||||||
|
.4byte sub_816A4D8
|
||||||
|
.4byte sub_816A4E4
|
||||||
|
.4byte sub_816A57C
|
||||||
|
.4byte sub_816A5BC
|
||||||
|
.4byte sub_816A5C8
|
||||||
|
.4byte sub_816A5D4
|
||||||
|
.4byte sub_816A6D4
|
||||||
|
.4byte sub_816A6E0
|
||||||
|
.4byte sub_816A6EC
|
||||||
|
.4byte sub_816A6F8
|
||||||
|
.4byte sub_816A704
|
||||||
|
.4byte sub_816A710
|
||||||
|
.4byte sub_816A71C
|
||||||
|
.4byte sub_816A728
|
||||||
|
.4byte sub_816A734
|
||||||
|
.4byte sub_816A740
|
||||||
|
.4byte sub_816A74C
|
||||||
|
.4byte sub_816A758
|
||||||
|
.4byte sub_816A764
|
||||||
|
.4byte sub_816A770
|
||||||
|
.4byte sub_816A77C
|
||||||
|
.4byte sub_816A788
|
||||||
|
.4byte sub_816A794
|
||||||
|
.4byte sub_816A804
|
||||||
|
.4byte sub_816A810
|
||||||
|
.4byte sub_816A840
|
||||||
|
.4byte sub_816A89C
|
||||||
|
.4byte dp01t_2E_5_battle_intro
|
||||||
|
.4byte sub_816A90C
|
||||||
|
.4byte sub_816AC78
|
||||||
|
.4byte sub_816ACFC
|
||||||
|
.4byte sub_816AD08
|
||||||
|
.4byte sub_816AD14
|
||||||
|
.4byte sub_816AD20
|
||||||
|
.4byte sub_816AD7C
|
||||||
|
.4byte sub_816AD88
|
||||||
|
.4byte sub_816AD94
|
||||||
|
.4byte nullsub_118
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -322,10 +322,43 @@ BattleScript_CurseTurnDmg:: @ 82DB350
|
|||||||
.incbin "baserom.gba", 0x2db350, 0x11
|
.incbin "baserom.gba", 0x2db350, 0x11
|
||||||
|
|
||||||
gUnknown_082DB361:: @ 82DB361
|
gUnknown_082DB361:: @ 82DB361
|
||||||
.incbin "baserom.gba", 0x2db361, 0x17
|
.incbin "baserom.gba", 0x2db361, 0x9
|
||||||
|
|
||||||
|
gUnknown_082DB36A:: @ 82DB36A
|
||||||
|
.incbin "baserom.gba", 0x2db36A, 0xE
|
||||||
|
|
||||||
BattleScript_YawnMakesAsleep:: @ 82DB378
|
BattleScript_YawnMakesAsleep:: @ 82DB378
|
||||||
.incbin "baserom.gba", 0x2db378, 0xaa
|
.incbin "baserom.gba", 0x2db378, 0xE
|
||||||
|
|
||||||
|
gUnknown_082DB386:: @ 82DB386
|
||||||
|
.incbin "baserom.gba", 0x2db386, 0xF
|
||||||
|
|
||||||
|
gUnknown_082DB395:: @ 82DB395
|
||||||
|
.incbin "baserom.gba", 0x2db395, 0xF
|
||||||
|
|
||||||
|
gUnknown_082DB3A4:: @ 82DB3A4
|
||||||
|
.incbin "baserom.gba", 0x2db3A4, 0xF
|
||||||
|
|
||||||
|
gUnknown_082DB3B3:: @ 82DB3B3
|
||||||
|
.incbin "baserom.gba", 0x2db3B3, 0xF
|
||||||
|
|
||||||
|
gUnknown_082DB3C2:: @ 82DB3C2
|
||||||
|
.incbin "baserom.gba", 0x2db3C2, 0x7
|
||||||
|
|
||||||
|
gUnknown_082DB3C9:: @ 82DB3C9
|
||||||
|
.incbin "baserom.gba", 0x2db3C9, 0xD
|
||||||
|
|
||||||
|
gUnknown_082DB3D6:: @ 82DB3D6
|
||||||
|
.incbin "baserom.gba", 0x2db3D6, 0x7
|
||||||
|
|
||||||
|
gUnknown_082DB3DD:: @ 82DB3DD
|
||||||
|
.incbin "baserom.gba", 0x2db3DD, 0x9
|
||||||
|
|
||||||
|
gUnknown_082DB3E6:: @ 82DB3E6
|
||||||
|
.incbin "baserom.gba", 0x2db3E6, 0xE
|
||||||
|
|
||||||
|
gUnknown_082DB3F4:: @ 82DB3F4
|
||||||
|
.incbin "baserom.gba", 0x2db3F4, 0x2e
|
||||||
|
|
||||||
gUnknown_082DB422:: @ 82DB422
|
gUnknown_082DB422:: @ 82DB422
|
||||||
.incbin "baserom.gba", 0x2db422, 0xe
|
.incbin "baserom.gba", 0x2db422, 0xe
|
||||||
|
BIN
data/data3
BIN
data/data3
Binary file not shown.
@ -1,53 +1,12 @@
|
|||||||
.include "asm/macros.inc"
|
.include "asm/macros.inc"
|
||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
@ This section was decompiled in battle_dome_cards.
|
||||||
|
@ On its merge, this section should be deleted.
|
||||||
|
@ This section contains three objects and accounts for 28 bytes.
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
gUnknown_0860B058:: @ 860B058
|
|
||||||
.incbin "baserom.gba", 0x60b058, 0xc
|
|
||||||
|
|
||||||
gUnknown_0860B064:: @ 860B064
|
|
||||||
.incbin "baserom.gba", 0x60b064, 0x8
|
|
||||||
|
|
||||||
gUnknown_0860B06C:: @ 860B06C
|
|
||||||
.incbin "baserom.gba", 0x60b06c, 0x8
|
|
||||||
|
|
||||||
gUnknown_0860B074:: @ 860B074
|
|
||||||
.incbin "baserom.gba", 0x60b074, 0xa
|
|
||||||
|
|
||||||
gUnknown_0860B07E:: @ 860B07E
|
|
||||||
.incbin "baserom.gba", 0x60b07e, 0x126
|
|
||||||
|
|
||||||
gUnknown_0860B1A4:: @ 860B1A4
|
|
||||||
.incbin "baserom.gba", 0x60b1a4, 0x40
|
|
||||||
|
|
||||||
gUnknown_0860B1E4:: @ 860B1E4
|
|
||||||
.incbin "baserom.gba", 0x60b1e4, 0x20
|
|
||||||
|
|
||||||
gUnknown_0860B204:: @ 860B204
|
|
||||||
.incbin "baserom.gba", 0x60b204, 0x20
|
|
||||||
|
|
||||||
gUnknown_0860B224:: @ 860B224
|
|
||||||
.incbin "baserom.gba", 0x60b224, 0xc8
|
|
||||||
|
|
||||||
gUnknown_0860B2EC:: @ 860B2EC
|
|
||||||
.incbin "baserom.gba", 0x60b2ec, 0x18
|
|
||||||
|
|
||||||
gUnknown_0860B304:: @ 860B304
|
|
||||||
.incbin "baserom.gba", 0x60b304, 0xc
|
|
||||||
|
|
||||||
gUnknown_0860B310:: @ 860B310
|
|
||||||
.incbin "baserom.gba", 0x60b310, 0x14
|
|
||||||
|
|
||||||
gUnknown_0860B324:: @ 860B324
|
|
||||||
.incbin "baserom.gba", 0x60b324, 0x14
|
|
||||||
|
|
||||||
gUnknown_0860B338:: @ 860B338
|
|
||||||
.incbin "baserom.gba", 0x60b338, 0x14
|
|
||||||
|
|
||||||
gUnknown_0860B34C:: @ 860B34C
|
|
||||||
.incbin "baserom.gba", 0x60b34c, 0xc
|
|
||||||
|
|
||||||
gUnknown_0860B358:: @ 860B358
|
gUnknown_0860B358:: @ 860B358
|
||||||
.incbin "baserom.gba", 0x60b358, 0x1630
|
.incbin "baserom.gba", 0x60b358, 0x1630
|
||||||
|
|
||||||
|
@ -2,68 +2,6 @@
|
|||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
|
||||||
gUnknown_08617274:: @ 8617274
|
|
||||||
.incbin "baserom.gba", 0x617274, 0x920
|
|
||||||
|
|
||||||
gUnknown_08617B94:: @ 8617B94
|
|
||||||
.incbin "baserom.gba", 0x617b94, 0xb0
|
|
||||||
|
|
||||||
gUnknown_08617C44:: @ 8617C44
|
|
||||||
.incbin "baserom.gba", 0x617c44, 0x120
|
|
||||||
|
|
||||||
gUnknown_08617D64:: @ 8617D64
|
|
||||||
.incbin "baserom.gba", 0x617d64, 0x30
|
|
||||||
|
|
||||||
gUnknown_08617D94:: @ 8617D94
|
|
||||||
.incbin "baserom.gba", 0x617d94, 0x10
|
|
||||||
|
|
||||||
gUnknown_08617DA4:: @ 8617DA4
|
|
||||||
.incbin "baserom.gba", 0x617da4, 0x5c
|
|
||||||
|
|
||||||
gUnknown_08617E00:: @ 8617E00
|
|
||||||
.incbin "baserom.gba", 0x617e00, 0x18
|
|
||||||
|
|
||||||
gUnknown_08617E18:: @ 8617E18
|
|
||||||
.incbin "baserom.gba", 0x617e18, 0x1c
|
|
||||||
|
|
||||||
gUnknown_08617E34:: @ 8617E34
|
|
||||||
.incbin "baserom.gba", 0x617e34, 0x2c
|
|
||||||
|
|
||||||
gUnknown_08617E60:: @ 8617E60
|
|
||||||
.incbin "baserom.gba", 0x617e60, 0x18
|
|
||||||
|
|
||||||
gUnknown_08617E78:: @ 8617E78
|
|
||||||
.incbin "baserom.gba", 0x617e78, 0x15
|
|
||||||
|
|
||||||
gUnknown_08617E8D:: @ 8617E8D
|
|
||||||
.incbin "baserom.gba", 0x617e8d, 0xe
|
|
||||||
|
|
||||||
gUnknown_08617E9B:: @ 8617E9B
|
|
||||||
.incbin "baserom.gba", 0x617e9b, 0x26d
|
|
||||||
|
|
||||||
gUnknown_08618108:: @ 8618108
|
|
||||||
.incbin "baserom.gba", 0x618108, 0x8
|
|
||||||
|
|
||||||
gUnknown_08618110:: @ 8618110
|
|
||||||
.incbin "baserom.gba", 0x618110, 0x28
|
|
||||||
|
|
||||||
gUnknown_08618138:: @ 8618138
|
|
||||||
.incbin "baserom.gba", 0x618138, 0x20
|
|
||||||
|
|
||||||
gUnknown_08618158:: @ 8618158
|
|
||||||
.incbin "baserom.gba", 0x618158, 0x3
|
|
||||||
|
|
||||||
gUnknown_0861815B:: @ 861815B
|
|
||||||
.incbin "baserom.gba", 0x61815b, 0x5
|
|
||||||
|
|
||||||
gUnknown_08618160:: @ 8618160
|
|
||||||
.incbin "baserom.gba", 0x618160, 0x18
|
|
||||||
|
|
||||||
gUnknown_08618178:: @ 8618178
|
|
||||||
.incbin "baserom.gba", 0x618178, 0x49
|
|
||||||
|
|
||||||
@ 86181C1
|
@ 86181C1
|
||||||
.include "data/text/move_descriptions.inc"
|
.include "data/text/move_descriptions.inc"
|
||||||
|
|
||||||
|
35
data/data_emerald2pre1.s
Normal file
35
data/data_emerald2pre1.s
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
|
||||||
|
gUnknown_08617274:: @ 8617274
|
||||||
|
.incbin "baserom.gba", 0x617274, 0x920
|
||||||
|
|
||||||
|
gUnknown_08617B94:: @ 8617B94
|
||||||
|
.incbin "baserom.gba", 0x617b94, 0xb0
|
||||||
|
|
||||||
|
gUnknown_08617C44:: @ 8617C44
|
||||||
|
.incbin "baserom.gba", 0x617c44, 0x120
|
||||||
|
|
||||||
|
gUnknown_08617D64:: @ 8617D64
|
||||||
|
.incbin "baserom.gba", 0x617d64, 0x30
|
||||||
|
|
||||||
|
gUnknown_08617D94:: @ 8617D94
|
||||||
|
.incbin "baserom.gba", 0x617d94, 0x10
|
||||||
|
|
||||||
|
gUnknown_08617DA4:: @ 8617DA4
|
||||||
|
.incbin "baserom.gba", 0x617da4, 0x5c
|
||||||
|
|
||||||
|
gUnknown_08617E00:: @ 8617E00
|
||||||
|
.incbin "baserom.gba", 0x617e00, 0x18
|
||||||
|
|
||||||
|
gUnknown_08617E18:: @ 8617E18
|
||||||
|
.incbin "baserom.gba", 0x617e18, 0x1c
|
||||||
|
|
||||||
|
gUnknown_08617E34:: @ 8617E34
|
||||||
|
.incbin "baserom.gba", 0x617e34, 0x2c
|
||||||
|
|
||||||
|
gUnknown_08617E60:: @ 8617E60
|
||||||
|
.incbin "baserom.gba", 0x617e60, 0x18
|
@ -181,7 +181,149 @@ gUnknown_08272604:: @ 8272604
|
|||||||
.incbin "baserom.gba", 0x272604, 0x6b
|
.incbin "baserom.gba", 0x272604, 0x6b
|
||||||
|
|
||||||
gUnknown_0827266F:: @ 827266F
|
gUnknown_0827266F:: @ 827266F
|
||||||
.incbin "baserom.gba", 0x27266f, 0x1044
|
.string "Which PC should be accessed?$"
|
||||||
|
|
||||||
|
.string "Accessed SOMEONE’S PC.$"
|
||||||
|
|
||||||
|
.string "POKéMON Storage System opened.$"
|
||||||
|
|
||||||
|
.string "Accessed {PLAYER}’s PC.$"
|
||||||
|
|
||||||
|
.string "Accessed LANETTE’s PC.$"
|
||||||
|
|
||||||
|
.string "Hello, and welcome to\nthe POKéMON CENTER.\pWe restore your tired POKéMON\nto full health.\pWould you like to rest your POKéMON?$"
|
||||||
|
|
||||||
|
.string "Okay, I’ll take your POKéMON\nfor a few seconds.$"
|
||||||
|
|
||||||
|
.string "Thank you for waiting.\pWe’ve restored your POKéMON\nto full health.$"
|
||||||
|
|
||||||
|
.string "We hope to see you again!$"
|
||||||
|
|
||||||
|
.string "Hello, and welcome to\nthe POKéMON CENTER.\pWe restore your tired POKéMON\nto full health.\pWould you like to…$"
|
||||||
|
|
||||||
|
.string "Th-that card…\nCould it be… The GOLD CARD?!\pOh, the gold color is brilliant!\nThe four stars seem to sparkle!\pI’ve seen several TRAINERS with\na SILVER CARD before, but, {PLAYER},\lyou’re the first TRAINER I’ve ever\lseen with a GOLD CARD!\pOkay, {PLAYER}, please allow me\nthe honor of resting your POKéMON!$"
|
||||||
|
|
||||||
|
.string "I’m delighted to see you, {PLAYER}!\nYou want the usual, am I right?$"
|
||||||
|
|
||||||
|
.string "Okay, I’ll take your POKéMON\nfor a few seconds.$"
|
||||||
|
|
||||||
|
.string "Thank you for waiting.$"
|
||||||
|
|
||||||
|
.string "We hope to see you again!$"
|
||||||
|
|
||||||
|
.string "Welcome!\pHow may I serve you?$"
|
||||||
|
|
||||||
|
.string "Please come again!$"
|
||||||
|
|
||||||
|
.string "{PLAYER}{STRING 5}, welcome!\pWhat can I do for you?$"
|
||||||
|
|
||||||
|
.string "Obtained the {STR_VAR_2}!$"
|
||||||
|
|
||||||
|
.string "The BAG is full…$"
|
||||||
|
|
||||||
|
.string "{PLAYER} put away the {STR_VAR_2}\nin the {STR_VAR_3} POCKET.$"
|
||||||
|
|
||||||
|
.string "{PLAYER} found one {STR_VAR_2}!$"
|
||||||
|
|
||||||
|
.string "Too bad!\nThe BAG is full…$"
|
||||||
|
|
||||||
|
.string "{PLAYER} put away the {STR_VAR_2}\nin the BAG.$"
|
||||||
|
|
||||||
|
.string "Obtained the {STR_VAR_2}!$"
|
||||||
|
|
||||||
|
.string "Too bad! There’s no room left for\nanother {STR_VAR_2}…$"
|
||||||
|
|
||||||
|
.string "The {STR_VAR_2} was transferred\nto the PC.$"
|
||||||
|
|
||||||
|
.string "“Selected items for your convenience!”\nPOKéMON MART$"
|
||||||
|
|
||||||
|
.string "“Rejuvenate your tired partners!”\nPOKéMON CENTER$"
|
||||||
|
|
||||||
|
.string "{STR_VAR_1} might like this program.\n… … … … … … … … … … … … … … … …\pBetter get going!$"
|
||||||
|
|
||||||
|
.string "Welcome to LILYCOVE DEPARTMENT STORE.\pWhich floor would you like?$"
|
||||||
|
|
||||||
|
.string "The sandstorm is vicious.\nIt’s impossible to keep going.$"
|
||||||
|
|
||||||
|
.string "An item in the BAG can be\nregistered to SELECT for easy use.$"
|
||||||
|
|
||||||
|
.string "There’s an e-mail from POKéMON TRAINER\nSCHOOL.\p… … … … … …\pA POKéMON may learn up to four moves.\pA TRAINER’s expertise is tested on the\nmove sets chosen for POKéMON.\p… … … … … …$"
|
||||||
|
|
||||||
|
.string "{PLAYER} booted up the PC.$"
|
||||||
|
|
||||||
|
.string "The link was canceled.$"
|
||||||
|
|
||||||
|
.string "Want to give a nickname to\nthe {STR_VAR_2} you received?$"
|
||||||
|
|
||||||
|
.string "{PLAYER} is out of usable\nPOKéMON!\p{PLAYER} whited out!$"
|
||||||
|
|
||||||
|
.string "Registered {STR_VAR_1} {STR_VAR_2}\nin the POKéNAV.$"
|
||||||
|
|
||||||
|
.string "Do you know the TM SECRET POWER?\pOur group, we love the TM SECRET\nPOWER.\pOne of our members will give it to you.\nCome back and show me if you get it.\pWe’ll accept you as a member and sell\nyou good stuff in secrecy.$"
|
||||||
|
|
||||||
|
.string "Your POKéMON may be infected with\nPOKéRUS.\pLittle is known about the POKéRUS\nexcept that they are microscopic life-\lforms that attach to POKéMON.\pWhile infected, POKéMON are said to\ngrow exceptionally well.$"
|
||||||
|
|
||||||
|
.string "The water is dyed a deep blue…\nWould you like to SURF?$"
|
||||||
|
|
||||||
|
.string "{STR_VAR_1} used SURF!$"
|
||||||
|
|
||||||
|
.string "It sounded as if a door opened\nsomewhere far away.$"
|
||||||
|
|
||||||
|
.string "There is a big hole in the wall.$"
|
||||||
|
|
||||||
|
.string "I’m terribly sorry.\nThe POKéMON WIRELESS CLUB is\lundergoing adjustments now.$"
|
||||||
|
|
||||||
|
.string "It appears to be undergoing\nadjustments…$"
|
||||||
|
|
||||||
|
.string "I’m terribly sorry. The TRADE CENTER\nis undergoing inspections.$"
|
||||||
|
|
||||||
|
.string "I’m terribly sorry. The RECORD CORNER\nis under preparation.$"
|
||||||
|
|
||||||
|
.string "{PLAYER} handed over the\n{STR_VAR_1}.$"
|
||||||
|
|
||||||
|
.string "Thank you for accessing the\nMYSTERY GIFT System.$"
|
||||||
|
|
||||||
|
.string "{PLAYER} found one {STR_VAR_1}\n{STR_VAR_2}!$"
|
||||||
|
|
||||||
|
.string "The weird tree doesn’t like the\nWAILMER PAIL!\pThe weird tree attacked!$"
|
||||||
|
|
||||||
|
.string "The {STR_VAR_1} flew away!$"
|
||||||
|
|
||||||
|
gText_PkmnTransferredSomeonesPC:: @ 8273216
|
||||||
|
.string "{STR_VAR_2} was transferred to\nSOMEONE’S PC.\pIt was placed in \nBOX “{STR_VAR_1}.”$"
|
||||||
|
|
||||||
|
gText_PkmnTransferredLanettesPC:: @ 8273256
|
||||||
|
.string "{STR_VAR_2} was transferred to\nLANETTE’S PC.\pIt was placed in \nBOX “{STR_VAR_1}.”$"
|
||||||
|
|
||||||
|
gText_PkmnBoxSomeonesPCFull:: @ 8273296
|
||||||
|
.string "BOX “{STR_VAR_3}” on\nSOMEONE’S PC was full.\p{STR_VAR_2} was transferred to\nBOX “{STR_VAR_1}.”$"
|
||||||
|
|
||||||
|
gText_PkmnBoxLanettesPCFull:: @ 82732D9
|
||||||
|
.string "BOX “{STR_VAR_3}” on\nLANETTE’S PC was full.\p{STR_VAR_2} was transferred to\nBOX “{STR_VAR_1}.”$"
|
||||||
|
|
||||||
|
.string "There’s no more room for POKéMON!\pThe POKéMON BOXES are full and\ncan’t accept any more!$"
|
||||||
|
|
||||||
|
.string "Do you want to give a nickname to\nthis {STR_VAR_1}?$"
|
||||||
|
|
||||||
|
.string "There is a questionnaire.\nWould you like to fill it out?$"
|
||||||
|
|
||||||
|
.string "Thank you for taking the time to\nfill out our questionnaire.\pYour feedback will be used for\nfuture reference.$"
|
||||||
|
|
||||||
|
.string "Oh, hello!\nYou know those words?\pThat means you must know about\nthe MYSTERY GIFT.\pFrom now on, you should be\nreceiving MYSTERY GIFTS!$"
|
||||||
|
|
||||||
|
.string "Once you save your game, you can\naccess the MYSTERY GIFT.$"
|
||||||
|
|
||||||
|
.string "Oh, hello!\nYou know those words?\pThat means you must know about\nthe MYSTERY EVENT.$"
|
||||||
|
|
||||||
|
.string "Once you save your game, you can\naccess the MYSTERY EVENT.$"
|
||||||
|
|
||||||
|
.string "Thank you for using the MYSTERY\nEVENT System.\pYou must be {PLAYER}.\nThere is a ticket here for you.$"
|
||||||
|
|
||||||
|
.string "It appears to be for use at\nthe LILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$"
|
||||||
|
|
||||||
|
.string "The massive downpour appears to\nhave stopped…$"
|
||||||
|
|
||||||
|
.string "The intense sunshine appears to\nhave subsided…$"
|
||||||
|
|
||||||
gUnknown_082736B3:: @ 82736B3
|
gUnknown_082736B3:: @ 82736B3
|
||||||
.incbin "baserom.gba", 0x2736b3, 0x9
|
.incbin "baserom.gba", 0x2736b3, 0x9
|
||||||
|
@ -55,7 +55,13 @@ gUnknown_08C1A12C:: @ 8C1A12C
|
|||||||
.incbin "baserom.gba", 0xc1a12c, 0x188
|
.incbin "baserom.gba", 0xc1a12c, 0x188
|
||||||
|
|
||||||
gUnknown_08C1A2B4:: @ 8C1A2B4
|
gUnknown_08C1A2B4:: @ 8C1A2B4
|
||||||
.incbin "baserom.gba", 0xc1a2b4, 0x2404
|
.incbin "baserom.gba", 0xc1a2b4, 0x1DC
|
||||||
|
|
||||||
|
gUnknown_08C1A490:: @ 8C1A490
|
||||||
|
.incbin "baserom.gba", 0xc1a490, 0xD4
|
||||||
|
|
||||||
|
gUnknown_08C1A564:: @ 8C1A564
|
||||||
|
.incbin "baserom.gba", 0xc1a564, 0x2154
|
||||||
|
|
||||||
gUnknown_08C1C6B8:: @ 8C1C6B8
|
gUnknown_08C1C6B8:: @ 8C1C6B8
|
||||||
.incbin "baserom.gba", 0xc1c6b8, 0x9f4
|
.incbin "baserom.gba", 0xc1c6b8, 0x9f4
|
||||||
@ -953,7 +959,7 @@ gUnknown_08DD4BF0:: @ 8DD4BF0
|
|||||||
|
|
||||||
gUnknown_08DD4C4C:: @ 8DD4C4C
|
gUnknown_08DD4C4C:: @ 8DD4C4C
|
||||||
.incbin "baserom.gba", 0xdd4c4c, 0xac
|
.incbin "baserom.gba", 0xdd4c4c, 0xac
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_08DD4CF8:: @ 8DD4CF8
|
gUnknown_08DD4CF8:: @ 8DD4CF8
|
||||||
.incbin "graphics/interface/unk_change_case.4bpp.lz"
|
.incbin "graphics/interface/unk_change_case.4bpp.lz"
|
||||||
@ -988,7 +994,61 @@ gUnknown_08DD7300:: @ 8DD7300
|
|||||||
.incbin "baserom.gba", 0xdd7300, 0x60
|
.incbin "baserom.gba", 0xdd7300, 0x60
|
||||||
|
|
||||||
gUnknown_08DD7360:: @ 8DD7360
|
gUnknown_08DD7360:: @ 8DD7360
|
||||||
.incbin "baserom.gba", 0xdd7360, 0x4084
|
.incbin "baserom.gba", 0xdd7360, 0x1420
|
||||||
|
|
||||||
|
gUnknown_08DD8780:: @ 8DD8780
|
||||||
|
.incbin "baserom.gba", 0xdd8780, 0x40
|
||||||
|
|
||||||
|
gUnknown_08DD87C0:: @ 8DD87C0
|
||||||
|
.incbin "baserom.gba", 0xdd87c0, 0x720
|
||||||
|
|
||||||
|
gUnknown_08DD8EE0:: @ 8DD8EE0
|
||||||
|
.incbin "baserom.gba", 0xdd8ee0, 0x1a0
|
||||||
|
|
||||||
|
gUnknown_08DD9080:: @ 8DD9080
|
||||||
|
.incbin "baserom.gba", 0xdd9080, 0x60
|
||||||
|
|
||||||
|
gUnknown_08DD90E0:: @ 8DD90E0
|
||||||
|
.incbin "baserom.gba", 0xdd90e0, 0x638
|
||||||
|
|
||||||
|
gUnknown_08DD9718:: @ 8DD9718
|
||||||
|
.incbin "baserom.gba", 0xdd9718, 0x15c
|
||||||
|
|
||||||
|
gUnknown_08DD9874:: @ 8DD9874
|
||||||
|
.incbin "baserom.gba", 0xdd9874, 0x40
|
||||||
|
|
||||||
|
gUnknown_08DD98B4:: @ 8DD98B4
|
||||||
|
.incbin "baserom.gba", 0xdd98b4, 0x5a4
|
||||||
|
|
||||||
|
gUnknown_08DD9E58:: @ 8DD9E58
|
||||||
|
.incbin "baserom.gba", 0xdd9e58, 0x194
|
||||||
|
|
||||||
|
gUnknown_08DD9FEC:: @ 8DD9FEC
|
||||||
|
.incbin "baserom.gba", 0xdd9fec, 0x40
|
||||||
|
|
||||||
|
gUnknown_08DDA02C:: @ 8DDA02C
|
||||||
|
.incbin "baserom.gba", 0xdda02c, 0x610
|
||||||
|
|
||||||
|
gUnknown_08DDA63C:: @ 8DDA63C
|
||||||
|
.incbin "baserom.gba", 0xdda63c, 0x1c4
|
||||||
|
|
||||||
|
gUnknown_08DDA800:: @ 8DDA800
|
||||||
|
.incbin "baserom.gba", 0xdda800, 0x40
|
||||||
|
|
||||||
|
gUnknown_08DDA840:: @ 8DDA840
|
||||||
|
.incbin "baserom.gba", 0xdda840, 0x600
|
||||||
|
|
||||||
|
gUnknown_08DDAE40:: @ 8DDAE40
|
||||||
|
.incbin "baserom.gba", 0xddae40, 0x1a0
|
||||||
|
|
||||||
|
gUnknown_08DDAFE0:: @ 8DDAFE0
|
||||||
|
.incbin "baserom.gba", 0xddafe0, 0x40
|
||||||
|
|
||||||
|
gUnknown_08DDB020:: @ 8DDB020
|
||||||
|
.incbin "baserom.gba", 0xddb020, 0x2a4
|
||||||
|
|
||||||
|
gUnknown_08DDB2C4:: @ 8DDB2C4
|
||||||
|
.incbin "baserom.gba", 0xddb2c4, 0x120
|
||||||
|
|
||||||
gUnknown_08DDB3E4:: @ 8DDB3E4
|
gUnknown_08DDB3E4:: @ 8DDB3E4
|
||||||
.incbin "baserom.gba", 0xddb3e4, 0x80
|
.incbin "baserom.gba", 0xddb3e4, 0x80
|
||||||
|
198
data/link.s
198
data/link.s
@ -54,38 +54,14 @@ gUnknown_082ED1FC:: @ 82ED1FC BgTemplate
|
|||||||
.4byte 0x000001F8
|
.4byte 0x000001F8
|
||||||
.4byte 0x00001081
|
.4byte 0x00001081
|
||||||
|
|
||||||
gUnknown_082ED204:: @ 82ED204 WindowTemplate
|
gUnknown_082ED204:: @ 82ED204
|
||||||
.byte 0x00
|
window_template 0x00, 0x00, 0x00, 0x1E, 0x05, 0x0F, 0x0002
|
||||||
.byte 0x00
|
|
||||||
.byte 0x00
|
|
||||||
.byte 0x1E
|
|
||||||
.byte 0x05
|
|
||||||
.byte 0x0F
|
|
||||||
.2byte 0x0002
|
|
||||||
|
|
||||||
.byte 0x00
|
window_template 0x00, 0x00, 0x06, 0x1E, 0x07, 0x0F, 0x0098
|
||||||
.byte 0x00
|
|
||||||
.byte 0x06
|
|
||||||
.byte 0x1E
|
|
||||||
.byte 0x07
|
|
||||||
.byte 0x0F
|
|
||||||
.2byte 0x0098
|
|
||||||
|
|
||||||
.byte 0x00
|
window_template 0x00, 0x00, 0x0D, 0x1E, 0x07, 0x0F, 0x016A
|
||||||
.byte 0x00
|
|
||||||
.byte 0x0D
|
|
||||||
.byte 0x1E
|
|
||||||
.byte 0x07
|
|
||||||
.byte 0x0F
|
|
||||||
.2byte 0x016A
|
|
||||||
|
|
||||||
.byte 0xFF
|
window_template 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0000
|
||||||
.byte 0x00
|
|
||||||
.byte 0x00
|
|
||||||
.byte 0x00
|
|
||||||
.byte 0x00
|
|
||||||
.byte 0x00
|
|
||||||
.2byte 0x0000
|
|
||||||
|
|
||||||
gUnknown_082ED224:: @ 82ED224
|
gUnknown_082ED224:: @ 82ED224
|
||||||
.byte 0x00, 0x01, 0x02, 0x00, 0xff, 0xfe, 0xff, 0x00
|
.byte 0x00, 0x01, 0x02, 0x00, 0xff, 0xfe, 0xff, 0x00
|
||||||
@ -256,52 +232,52 @@ gUnknown_082ED6E0:: @ 82ED6E0
|
|||||||
.2byte 0x0002, 0x7f7d, 0x0000, 0xffff
|
.2byte 0x0002, 0x7f7d, 0x0000, 0xffff
|
||||||
|
|
||||||
.ascii "RFU WAIT"
|
.ascii "RFU WAIT"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
.space 7
|
||||||
|
|
||||||
.ascii "RFU BOOT"
|
.ascii "RFU BOOT"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
.space 7
|
||||||
|
|
||||||
.ascii "RFU ERROR"
|
.ascii "RFU ERROR"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
.space 6
|
||||||
|
|
||||||
.ascii "RFU RESET"
|
.ascii "RFU RESET"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
.space 6
|
||||||
|
|
||||||
.ascii "RFU CONFIG"
|
.ascii "RFU CONFIG"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00
|
.space 5
|
||||||
|
|
||||||
.ascii "RFU START"
|
.ascii "RFU START"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
.space 6
|
||||||
|
|
||||||
.ascii "RFU SC POLL"
|
.ascii "RFU SC POLL"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00
|
.space 4
|
||||||
|
|
||||||
.ascii "RFU SP POLL"
|
.ascii "RFU SP POLL"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00
|
.space 4
|
||||||
|
|
||||||
.ascii "RFU START"
|
.ascii "RFU START"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
.space 6
|
||||||
|
|
||||||
.ascii "RFU SEND ERR"
|
.ascii "RFU SEND ERR"
|
||||||
.byte 0x00, 0x00, 0x00
|
.space 3
|
||||||
|
|
||||||
.ascii "RFU CP POLL"
|
.ascii "RFU CP POLL"
|
||||||
.byte 0x00, 0x00, 0x00, 0x00
|
.space 4
|
||||||
|
|
||||||
.ascii " "
|
.ascii " "
|
||||||
.byte 0x00, 0x00
|
.space 2
|
||||||
|
|
||||||
.ascii "RECOVER START "
|
.ascii "RECOVER START "
|
||||||
.byte 0x00, 0x00
|
.space 2
|
||||||
|
|
||||||
.ascii "DISSCONECT "
|
.ascii "DISSCONECT "
|
||||||
.byte 0x00, 0x00
|
.space 2
|
||||||
|
|
||||||
.ascii "RECOVER SUUSES"
|
.ascii "RECOVER SUUSES"
|
||||||
.byte 0x00, 0x00
|
.space 2
|
||||||
|
|
||||||
.ascii "RECOVER FAILED"
|
.ascii "RECOVER FAILED"
|
||||||
.byte 0x00, 0x00
|
.space 2
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082ED7E0:: @ 82ED7E0
|
gUnknown_082ED7E0:: @ 82ED7E0
|
||||||
@ -1657,7 +1633,7 @@ gUnknown_082F025C:: @ 82F025C
|
|||||||
window_template 0x00, 0x12, 0x07, 0x10, 0x06, 0x0f, 0x0001
|
window_template 0x00, 0x12, 0x07, 0x10, 0x06, 0x0f, 0x0001
|
||||||
|
|
||||||
gUnknown_082F0264:: @ 82F0264
|
gUnknown_082F0264:: @ 82F0264
|
||||||
.4byte gUnknown_085EA333, 0x00000001
|
.4byte gText_Register, 0x00000001
|
||||||
.4byte gUnknown_082EFD8C, 0x00000002
|
.4byte gUnknown_082EFD8C, 0x00000002
|
||||||
.4byte gUnknown_082EFD7C, 0x00000003
|
.4byte gUnknown_082EFD7C, 0x00000003
|
||||||
|
|
||||||
@ -1937,14 +1913,14 @@ gUnknown_082F0600:: @ 82F0600
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0608:: @ 82F0608
|
gUnknown_082F0608:: @ 82F0608
|
||||||
.4byte gUnknown_085EEDEC, 0x00000000
|
.4byte gText_WonderCards, 0x00000000
|
||||||
.4byte gUnknown_085EEDFC, 0x00000001
|
.4byte gText_WonderNews, 0x00000001
|
||||||
.4byte gUnknown_085EEE28, 0xfffffffe
|
.4byte gText_Exit3, 0xfffffffe
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0620:: @ 82F0620
|
gUnknown_082F0620:: @ 82F0620
|
||||||
.4byte gUnknown_085EEE08, 0x00000000
|
.4byte gText_WirelessCommunication, 0x00000000
|
||||||
.4byte gUnknown_085EEE20, 0x00000001
|
.4byte gText_Friend2, 0x00000001
|
||||||
.4byte gText_Cancel2, 0xfffffffe
|
.4byte gText_Cancel2, 0xfffffffe
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
@ -1957,26 +1933,26 @@ gUnknown_082F0638:: @ 82F0638 struct ListMenuTemplate
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0650:: @ 82F0650
|
gUnknown_082F0650:: @ 82F0650
|
||||||
.4byte gUnknown_085EEE30, 0x00000000
|
.4byte gText_Receive, 0x00000000
|
||||||
.4byte gUnknown_085EEE38, 0x00000001
|
.4byte gText_Send, 0x00000001
|
||||||
.4byte gUnknown_085EEE40, 0x00000002
|
.4byte gText_Toss, 0x00000002
|
||||||
.4byte gText_Cancel2, 0xfffffffe
|
.4byte gText_Cancel2, 0xfffffffe
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0670:: @ 82F0670
|
gUnknown_082F0670:: @ 82F0670
|
||||||
.4byte gUnknown_085EEE30, 0x00000000
|
.4byte gText_Receive, 0x00000000
|
||||||
.4byte gUnknown_085EEE40, 0x00000002
|
.4byte gText_Toss, 0x00000002
|
||||||
.4byte gText_Cancel2, 0xfffffffe
|
.4byte gText_Cancel2, 0xfffffffe
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0688:: @ 82F0688
|
gUnknown_082F0688:: @ 82F0688
|
||||||
.4byte gUnknown_085EEE30, 0x00000000
|
.4byte gText_Receive, 0x00000000
|
||||||
.4byte gUnknown_085EEE38, 0x00000001
|
.4byte gText_Send, 0x00000001
|
||||||
.4byte gText_Cancel2, 0xfffffffe
|
.4byte gText_Cancel2, 0xfffffffe
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F06A0:: @ 82F06A0
|
gUnknown_082F06A0:: @ 82F06A0
|
||||||
.4byte gUnknown_085EEE30, 0x00000000
|
.4byte gText_Receive, 0x00000000
|
||||||
.4byte gText_Cancel2, 0xfffffffe
|
.4byte gText_Cancel2, 0xfffffffe
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
@ -2012,10 +1988,10 @@ gUnknown_082F06F8:: @ 82F06F8
|
|||||||
.byte 0x21, 0x31, 0x00, 0x01
|
.byte 0x21, 0x31, 0x00, 0x01
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
.4byte gUnknown_085EEE48
|
.4byte gText_VarietyOfEventsImportedWireless
|
||||||
.4byte gUnknown_085EEE8C
|
.4byte gText_WonderCardsInPossession
|
||||||
.4byte gUnknown_085EEEB8
|
.4byte gText_ReadNewsThatArrived
|
||||||
.4byte gUnknown_085EEED4
|
.4byte gText_ReturnToTitle
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0720:: @ 82F0720 struct TextColor
|
gUnknown_082F0720:: @ 82F0720 struct TextColor
|
||||||
@ -2089,11 +2065,11 @@ gUnknown_082F0D3C:: @ 82F0D3C
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0D5C:: @ 82F0D5C
|
gUnknown_082F0D5C:: @ 82F0D5C
|
||||||
.4byte gUnknown_085EED41
|
.4byte gText_WirelessCommStatus
|
||||||
.4byte gUnknown_085EED5F
|
.4byte gText_PeopleTrading
|
||||||
.4byte gUnknown_085EED6F
|
.4byte gText_PeopleBattling
|
||||||
.4byte gUnknown_085EED80
|
.4byte gText_PeopleInUnionRoom
|
||||||
.4byte gUnknown_085EED9A
|
.4byte gText_PeopleCommunicating
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F0D70:: @ 82F0D70
|
gUnknown_082F0D70:: @ 82F0D70
|
||||||
@ -2804,37 +2780,37 @@ gUnknown_082F2C98:: @ 82F2C98
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F2D40:: @ 82F2D40
|
gUnknown_082F2D40:: @ 82F2D40
|
||||||
.4byte gUnknown_085ED265
|
.4byte gText_QuitChatting
|
||||||
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED274
|
.4byte gText_RegisterTextWhere
|
||||||
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED289
|
.4byte gText_RegisterTextHere
|
||||||
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED29D
|
.4byte gText_InputText
|
||||||
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED2E8
|
.4byte gText_ExitingChat
|
||||||
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED2FA
|
.4byte gText_LeaderLeftEndingChat
|
||||||
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED325
|
.4byte gText_RegisteredTextChanged
|
||||||
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED368
|
.4byte gText_AlreadySavedFile
|
||||||
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED3A3
|
.4byte gText_SavingDontTurnOff
|
||||||
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED3C5
|
.4byte gText_PlayerSavedGame
|
||||||
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00
|
||||||
|
|
||||||
.4byte gUnknown_085ED3D8
|
.4byte gText_IfLeaderLeavesChatEnds
|
||||||
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
@ -2843,11 +2819,11 @@ gText_Ellipsis:: @ 82F2DC4
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F2DC8:: @ 82F2DC8
|
gUnknown_082F2DC8:: @ 82F2DC8
|
||||||
.4byte gUnknown_085ED23C, 0x00000000
|
.4byte gText_Upper, 0x00000000
|
||||||
.4byte gUnknown_085ED242, 0x00000000
|
.4byte gText_Lower, 0x00000000
|
||||||
.4byte gUnknown_085ED24F, 0x00000000
|
.4byte gText_Symbols, 0x00000000
|
||||||
.4byte gUnknown_085ED257, 0x00000000
|
.4byte gText_Register2, 0x00000000
|
||||||
.4byte gUnknown_085ED260, 0x00000000
|
.4byte gText_Exit2, 0x00000000
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F2DF0:: @ 82F2DF0
|
gUnknown_082F2DF0:: @ 82F2DF0
|
||||||
@ -3026,22 +3002,22 @@ gUnknown_082F3290:: @ 82F3290
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F32A4:: @ 82F32A4
|
gUnknown_082F32A4:: @ 82F32A4
|
||||||
.4byte gUnknown_085ED5F0
|
.4byte gText_ReadyToBerryCrush
|
||||||
.4byte gUnknown_085ED62C
|
.4byte gText_WaitForAllChooseBerry
|
||||||
.4byte gUnknown_085ED65C
|
.4byte gText_EndedWithXUnitsPowder
|
||||||
.4byte gUnknown_085ED6C8
|
.4byte gText_RecordingGameResults
|
||||||
.4byte gUnknown_085ED704
|
.4byte gText_PlayBerryCrushAgain
|
||||||
.4byte gUnknown_085ED724
|
.4byte gText_YouHaveNoBerries
|
||||||
.4byte gUnknown_085ED754
|
.4byte gText_MemberDroppedOut
|
||||||
.4byte gUnknown_085ED788
|
.4byte gText_TimesUpNoGoodPowder
|
||||||
.4byte gUnknown_085ED7BC
|
.4byte gText_CommunicationStandby2
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F32C8:: @ 82F32C8 struct BgTemplate
|
gUnknown_082F32C8:: @ 82F32C8 struct BgTemplate
|
||||||
.4byte 0x000000F8
|
.4byte 0x000000F8
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F32CC:: @ 82F32CC struct WindowTemplate? not sure
|
gUnknown_082F32CC:: @ 82F32CC struct BgTemplate? not sure
|
||||||
.byte 0xd1, 0x14, 0x00, 0x00, 0xc2, 0x20, 0x00, 0x00
|
.byte 0xd1, 0x14, 0x00, 0x00, 0xc2, 0x20, 0x00, 0x00
|
||||||
.byte 0xb3, 0x30, 0x00, 0x00
|
.byte 0xb3, 0x30, 0x00, 0x00
|
||||||
|
|
||||||
@ -3331,12 +3307,12 @@ gUnknown_082F4384:: @ 82F4384
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F43B4:: @ 82F43B4
|
gUnknown_082F43B4:: @ 82F43B4
|
||||||
.4byte gUnknown_085ED7E8
|
.4byte gText_SpaceTimes2
|
||||||
.4byte gUnknown_085ED7F4
|
.4byte gText_XDotY
|
||||||
.4byte gUnknown_085ED7FC
|
.4byte gText_Var1Berry
|
||||||
.4byte gUnknown_085ED88C
|
.4byte gText_NeatnessRankings
|
||||||
.4byte gUnknown_085ED8A0
|
.4byte gText_CoopRankings
|
||||||
.4byte gUnknown_085ED8B8
|
.4byte gText_PressingPowerRankings
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F43CC:: @ 82F43CC
|
gUnknown_082F43CC:: @ 82F43CC
|
||||||
@ -3599,9 +3575,9 @@ gUnknown_082F7B2C:: @ 82F7B2C
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F7B34:: @ 82F7B34
|
gUnknown_082F7B34:: @ 82F7B34
|
||||||
.4byte gUnknown_085EDD02
|
.4byte gText_BerriesPicked
|
||||||
.4byte gUnknown_085EDD12
|
.4byte gText_BestScore
|
||||||
.4byte gUnknown_085EDD1E
|
.4byte gText_BerriesInRowFivePlayers
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082F7B40:: @ 82F7B40
|
gUnknown_082F7B40:: @ 82F7B40
|
||||||
@ -4064,11 +4040,11 @@ gUnknown_082FB3C8:: @ 82FB3C8
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082FB3DC:: @ 82FB3DC
|
gUnknown_082FB3DC:: @ 82FB3DC
|
||||||
.4byte gUnknown_085EDDAE
|
.4byte gText_1Colon
|
||||||
.4byte gUnknown_085EDDB1
|
.4byte gText_2Colon
|
||||||
.4byte gUnknown_085EDDB4
|
.4byte gText_3Colon
|
||||||
.4byte gUnknown_085EDDB7
|
.4byte gText_4Colon
|
||||||
.4byte gUnknown_085EDDBA
|
.4byte gText_5Colon
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082FB3F0:: @ 82FB3F0
|
gUnknown_082FB3F0:: @ 82FB3F0
|
||||||
@ -4656,9 +4632,9 @@ gUnknown_082FE270:: @ 82FE270
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gUnknown_082FE278:: @ 82FE278
|
gUnknown_082FE278:: @ 82FE278
|
||||||
.4byte gUnknown_085EDEA2
|
.4byte gText_JumpsInARow
|
||||||
.4byte gUnknown_085EDEB2
|
.4byte gText_BestScore2
|
||||||
.4byte gUnknown_085EDEBE
|
.4byte gText_ExcellentsInARow
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gPkmnJump321StartPal1:: @ 82FE284
|
gPkmnJump321StartPal1:: @ 82FE284
|
||||||
|
1486
data/strings.s
1486
data/strings.s
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,6 @@
|
|||||||
|
gNullMoveDescription:: @ 86181C0
|
||||||
|
.string "$"
|
||||||
|
|
||||||
gPoundMoveDescription:: @ 86181C1
|
gPoundMoveDescription:: @ 86181C1
|
||||||
.string "Pounds the foe with\nforelegs or tail.$"
|
.string "Pounds the foe with\nforelegs or tail.$"
|
||||||
|
|
||||||
|
19
graphics/battle_interface/unk_battlebox.pal
Normal file
19
graphics/battle_interface/unk_battlebox.pal
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
JASC-PAL
|
||||||
|
0100
|
||||||
|
16
|
||||||
|
255 255 255
|
||||||
|
255 255 255
|
||||||
|
106 90 115
|
||||||
|
0 0 0
|
||||||
|
213 230 255
|
||||||
|
189 205 238
|
||||||
|
238 238 255
|
||||||
|
106 172 197
|
||||||
|
90 139 180
|
||||||
|
123 197 205
|
||||||
|
0 0 0
|
||||||
|
0 0 0
|
||||||
|
123 197 255
|
||||||
|
0 0 139
|
||||||
|
255 131 131
|
||||||
|
164 0 0
|
BIN
graphics/battle_interface/unk_battlebox.png
Normal file
BIN
graphics/battle_interface/unk_battlebox.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 174 B |
13
include/battle_dome_cards.h
Normal file
13
include/battle_dome_cards.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#ifndef GUARD_BATTLE_DOME_CARDS_H
|
||||||
|
#define GUARD_BATTLE_DOME_CARDS_H
|
||||||
|
|
||||||
|
bool16 dp13_810BB8C(void);
|
||||||
|
u16 sub_818D3E4(u16 species, u32 otId, u32 personality, u8 flags, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||||
|
u16 sub_818D7D8(u16 species, u32 otId, u32 personality, bool8 isFrontPic, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||||
|
u16 sub_818D820(u16 spriteId);
|
||||||
|
u16 sub_818D8AC(u16 species, bool8 isFrontPic, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||||
|
u16 sub_818D8F0(u16 spriteId);
|
||||||
|
u16 sub_818D938(u16 species, bool8 isFrontPic, u16 destX, u16 destY, u8 paletteSlot, u8 windowId);
|
||||||
|
u8 sub_818D97C(u8 a0, u8 a1);
|
||||||
|
|
||||||
|
#endif //GUARD_BATTLE_DOME_CARDS_H
|
@ -29,5 +29,8 @@ enum
|
|||||||
};
|
};
|
||||||
|
|
||||||
void InitEasyChatPhrases(void);
|
void InitEasyChatPhrases(void);
|
||||||
|
void easy_chat_input_maybe(void);
|
||||||
|
void CopyEasyChatWord(u8 *, u16);
|
||||||
|
bool32 sub_811F8D8(u16);
|
||||||
|
|
||||||
#endif // GUARD_EASYCHAT_H
|
#endif // GUARD_EASYCHAT_H
|
||||||
|
@ -8,19 +8,19 @@
|
|||||||
|
|
||||||
struct MultiBootParam
|
struct MultiBootParam
|
||||||
{
|
{
|
||||||
u32 system_work[5];
|
u32 system_work[5]; // 00
|
||||||
u8 handshake_data;
|
u8 handshake_data; // 14
|
||||||
u8 padding;
|
u8 padding; // 15
|
||||||
u16 handshake_timeout;
|
u16 handshake_timeout; // 16
|
||||||
u8 probe_count;
|
u8 probe_count; // 18
|
||||||
u8 client_data[MULTIBOOT_NCHILD];
|
u8 client_data[MULTIBOOT_NCHILD]; // 19
|
||||||
u8 palette_data;
|
u8 palette_data; // 1c
|
||||||
u8 response_bit;
|
u8 response_bit; // 1d
|
||||||
u8 client_bit;
|
u8 client_bit; // 1e
|
||||||
u8 reserved1;
|
u8 reserved1; // 1f
|
||||||
u8 *boot_srcp;
|
const u8 *boot_srcp; // 20
|
||||||
u8 *boot_endp;
|
const u8 *boot_endp; // 24
|
||||||
u8 *masterp;
|
const u8 *masterp;
|
||||||
u8 *reserved2[MULTIBOOT_NCHILD];
|
u8 *reserved2[MULTIBOOT_NCHILD];
|
||||||
u32 system_work2[4];
|
u32 system_work2[4];
|
||||||
u8 sendflag;
|
u8 sendflag;
|
||||||
|
@ -18,6 +18,14 @@ void memcpy(void *, const void *, size_t);
|
|||||||
|
|
||||||
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
|
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
|
||||||
|
|
||||||
|
// useful math macros
|
||||||
|
|
||||||
|
// Converts a number to Q8.8 fixed-point format
|
||||||
|
#define Q_8_8(n) ((s16)((n) * 256))
|
||||||
|
|
||||||
|
// Converts a number to Q4.12 fixed-point format
|
||||||
|
#define Q_4_12(n) ((s16)((n) * 4096))
|
||||||
|
|
||||||
#define POKEMON_NAME_LENGTH 10
|
#define POKEMON_NAME_LENGTH 10
|
||||||
#define OT_NAME_LENGTH 7
|
#define OT_NAME_LENGTH 7
|
||||||
|
|
||||||
@ -662,6 +670,61 @@ struct DaycareData
|
|||||||
#define FLAGS_COUNT 300
|
#define FLAGS_COUNT 300
|
||||||
#define VARS_COUNT 256
|
#define VARS_COUNT 256
|
||||||
|
|
||||||
|
enum {
|
||||||
|
LILYCOVE_LADY_QUIZ,
|
||||||
|
LILYCOVE_LADY_FAVOUR,
|
||||||
|
LILYCOVE_LADY_CONTEST
|
||||||
|
};
|
||||||
|
|
||||||
|
struct LilycoveLadyQuiz
|
||||||
|
{
|
||||||
|
/*0x000*/ u8 id;
|
||||||
|
/*0x001*/ u8 phase;
|
||||||
|
/*0x002*/ u16 unk_002[9];
|
||||||
|
/*0x014*/ u16 unk_014;
|
||||||
|
/*0x016*/ u16 unk_016;
|
||||||
|
/*0x018*/ u8 playerName[8];
|
||||||
|
/*0x020*/ u16 playerTrainerId[4];
|
||||||
|
/*0x028*/ u16 itemId;
|
||||||
|
/*0x02a*/ u8 unk_02a;
|
||||||
|
/*0x02b*/ u8 unk_02b;
|
||||||
|
/*0x02c*/ u8 unk_02c;
|
||||||
|
/*0x02d*/ u8 language;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct LilycoveLadyFavour
|
||||||
|
{
|
||||||
|
/*0x000*/ u8 id;
|
||||||
|
/*0x001*/ u8 phase;
|
||||||
|
/*0x002*/ u8 unk_002;
|
||||||
|
/*0x003*/ u8 unk_003;
|
||||||
|
/*0x004*/ u8 playerName[8];
|
||||||
|
/*0x00c*/ u8 unk_00c;
|
||||||
|
/*0x00e*/ u16 itemId;
|
||||||
|
/*0x010*/ u16 unk_010;
|
||||||
|
/*0x012*/ u8 language;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct LilycoveLadyContest
|
||||||
|
{
|
||||||
|
/*0x000*/ u8 id;
|
||||||
|
/*0x001*/ u8 phase;
|
||||||
|
/*0x002*/ u8 fave_pkblk;
|
||||||
|
/*0x003*/ u8 other_pkblk;
|
||||||
|
/*0x004*/ u8 playerName[8];
|
||||||
|
/*0x00c*/ u8 max_sheen;
|
||||||
|
/*0x00d*/ u8 category;
|
||||||
|
/*0x00e*/ u8 language;
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef union // TODO
|
||||||
|
{
|
||||||
|
struct LilycoveLadyQuiz quiz;
|
||||||
|
struct LilycoveLadyFavour favour;
|
||||||
|
struct LilycoveLadyContest contest;
|
||||||
|
u8 id;
|
||||||
|
} LilycoveLady;
|
||||||
|
|
||||||
struct SaveBlock1
|
struct SaveBlock1
|
||||||
{
|
{
|
||||||
/*0x00*/ struct Coords16 pos;
|
/*0x00*/ struct Coords16 pos;
|
||||||
@ -745,7 +808,8 @@ struct SaveBlock1
|
|||||||
/*0x3728*/ struct RamScript ramScript;
|
/*0x3728*/ struct RamScript ramScript;
|
||||||
/*0x3B14*/ struct RecordMixingGift recordMixingGift;
|
/*0x3B14*/ struct RecordMixingGift recordMixingGift;
|
||||||
/*0x3B24*/ u8 seen2[52];
|
/*0x3B24*/ u8 seen2[52];
|
||||||
/*0x3B58*/ u8 lilycoveLady[536]; // TODO: convert to a union
|
/*0x3B58*/ LilycoveLady lilycoveLady;
|
||||||
|
/*0x3B88*/ u8 filler_3B88[0x1E8];
|
||||||
/*0x3D70*/ u8 babyPhrase[24]; // TODO: convert to a struct
|
/*0x3D70*/ u8 babyPhrase[24]; // TODO: convert to a struct
|
||||||
// sizeof: 0x3D88
|
// sizeof: 0x3D88
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
#ifndef GUARD_GPU_REGS_H
|
#ifndef GUARD_GPU_REGS_H
|
||||||
#define GUARD_GPU_REGS_H
|
#define GUARD_GPU_REGS_H
|
||||||
|
|
||||||
|
// Exported type declarations
|
||||||
|
|
||||||
|
// Exported RAM declarations
|
||||||
|
|
||||||
|
// Exported ROM declarations
|
||||||
void InitGpuRegManager(void);
|
void InitGpuRegManager(void);
|
||||||
void CopyBufferedValuesToGpuRegs(void);
|
void CopyBufferedValuesToGpuRegs(void);
|
||||||
void SetGpuReg(u8 regOffset, u16 value);
|
void SetGpuReg(u8 regOffset, u16 value);
|
||||||
@ -11,4 +16,4 @@ void ClearGpuRegBits(u8 regOffset, u16 mask);
|
|||||||
void EnableInterrupts(u16 mask);
|
void EnableInterrupts(u16 mask);
|
||||||
void DisableInterrupts(u16 mask);
|
void DisableInterrupts(u16 mask);
|
||||||
|
|
||||||
#endif // GUARD_GPU_REGS_H
|
#endif //GUARD_GPU_REGS_H
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user