merge with master and fix conflicts

This commit is contained in:
DizzyEggg 2017-09-23 20:36:00 +02:00
commit 7bb0fcf182
200 changed files with 23492 additions and 30189 deletions

3
.gitattributes vendored
View File

@ -12,3 +12,6 @@ Makefile text eol=lf
*.png binary
*.bin binary
*.h linguist-language=C
*.inc linguist-language=Assembly

1
.gitignore vendored
View File

@ -24,3 +24,4 @@ tools/*
*.sa*
Thumbs.db
.DS_Store
*.ddump

View File

@ -1886,7 +1886,7 @@ sub_8035C4C: @ 8035C4C
ldrb r2, [r0]
cmp r2, 0x3
bne _08035C68
ldr r0, =gUnknown_085CCBAD
ldr r0, =gText_Draw
movs r1, 0x15
bl battle_show_message_maybe
b _08035D68
@ -1962,10 +1962,10 @@ _08035CE2:
cmp r0, 0
beq _08035D36
_08035CFC:
ldr r0, =gUnknown_085CCB9E
ldr r0, =gText_Win
movs r1, 0x17
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCBA5
ldr r0, =gText_Loss
movs r1, 0x16
bl battle_show_message_maybe
b _08035D68
@ -1983,19 +1983,19 @@ _08035D20:
cmp r0, 0
beq _08035D58
_08035D36:
ldr r0, =gUnknown_085CCB9E
ldr r0, =gText_Win
movs r1, 0x16
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCBA5
ldr r0, =gText_Loss
movs r1, 0x17
bl battle_show_message_maybe
b _08035D68
.pool
_08035D58:
ldr r0, =gUnknown_085CCB9E
ldr r0, =gText_Win
movs r1, 0x17
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCBA5
ldr r0, =gText_Loss
movs r1, 0x16
bl battle_show_message_maybe
_08035D68:

View File

@ -4995,7 +4995,7 @@ _08039470:
beq _0803947E
b _0803975E
_0803947E:
ldr r0, =gUnknown_085CD28F
ldr r0, =gText_RecordBattleToPass
movs r1, 0
bl battle_show_message_maybe
ldr r1, =gBattleCommunication
@ -5018,7 +5018,7 @@ _080394AC:
movs r2, 0x1D
movs r3, 0xD
bl sub_8056A3C
ldr r0, =gUnknown_085CCABB
ldr r0, =gText_BattleYesNoChoice
movs r1, 0xC
bl battle_show_message_maybe
ldr r4, =gBattleCommunication
@ -5213,7 +5213,7 @@ _08039678:
bne _080396A0
movs r0, 0x37
bl PlaySE
ldr r0, =gUnknown_085CD2CB
ldr r0, =gText_BattleRecordedOnPass
_08039686:
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -9235,7 +9235,7 @@ _0803B7EA:
ldr r1, =gAbsentBankFlags
ldrb r1, [r1]
strb r1, [r0]
ldr r0, =gUnknown_085CC23E
ldr r0, =gText_EmptyString3
movs r1, 0
bl battle_show_message_maybe
ldr r1, =gBattleMainFunc
@ -9506,7 +9506,7 @@ _0803BAB2:
ldr r4, =gNoOfAllBanks
ldr r0, =gAbsentBankFlags
mov r12, r0
ldr r1, =gUnknown_085CC23E
ldr r1, =gText_EmptyString3
mov r9, r1
ldrb r0, [r4]
cmp r2, r0

View File

@ -3025,7 +3025,7 @@ _0804E084:
movs r2, 0x1D
movs r3, 0xD
bl sub_8056A3C
ldr r0, =gUnknown_085CCABB
ldr r0, =gText_BattleYesNoChoice
movs r1, 0xC
bl battle_show_message_maybe
ldr r1, =gBattleScripting
@ -3389,7 +3389,7 @@ _0804E3E0:
movs r2, 0x1D
movs r3, 0xD
bl sub_8056A3C
ldr r0, =gUnknown_085CCABB
ldr r0, =gText_BattleYesNoChoice
movs r1, 0xC
bl battle_show_message_maybe
ldrb r0, [r5, 0x1F]
@ -4313,7 +4313,7 @@ _0804EBD8:
movs r2, 0x1D
movs r3, 0xD
bl sub_8056A3C
ldr r0, =gUnknown_085CCABB
ldr r0, =gText_BattleYesNoChoice
movs r1, 0xC
bl battle_show_message_maybe
ldrb r0, [r5]
@ -6150,7 +6150,7 @@ _0804FC32:
bl sub_81A5D44
b _0804FD70
_0804FC38:
ldr r1, =gUnknown_085CD1C8
ldr r1, =gRefereeStringsTable
ldr r0, =gBattlescriptCurrInstr
ldr r0, [r0]
ldrb r0, [r0, 0x1]
@ -19066,7 +19066,7 @@ _08056C2C:
movs r2, 0x1D
movs r3, 0xD
bl sub_8056A3C
ldr r0, =gUnknown_085CCABB
ldr r0, =gText_BattleYesNoChoice
movs r1, 0xC
bl battle_show_message_maybe
ldr r1, =gBattleCommunication

View File

@ -1245,7 +1245,7 @@ _08057F80:
ldrb r0, [r0]
movs r1, 0x1B
bl battle_menu_cursor_related_2
ldr r0, =gUnknown_085CCACA
ldr r0, =gText_BattleSwitchWhich
movs r1, 0xB
bl battle_show_message_maybe
ldr r1, =gBattleBankFunc
@ -4377,7 +4377,7 @@ _08059AF4:
sub_8059B18: @ 8059B18
push {r4,lr}
ldr r4, =gDisplayedStringBattle
ldr r1, =gUnknown_085CCA6F
ldr r1, =gText_MoveInterfacePP
adds r0, r4, 0
bl StringCopy
adds r0, r4, 0
@ -4449,7 +4449,7 @@ sub_8059BB0: @ 8059BB0
ldr r0, =gBattleBufferA + 4
adds r4, r0
ldr r6, =gDisplayedStringBattle
ldr r1, =gUnknown_085CCA73
ldr r1, =gText_MoveInterfaceType
adds r0, r6, 0
bl StringCopy
movs r1, 0xFC
@ -4716,7 +4716,7 @@ b_link_standby_message: @ 8059DC0
strh r1, [r0]
ldr r0, =gUnknown_02022E16
strh r1, [r0]
ldr r0, =gUnknown_085CCA29
ldr r0, =gText_LinkStandby
movs r1, 0
bl battle_show_message_maybe
_08059DE0:
@ -8532,7 +8532,7 @@ dp01t_12_6_battle_menu: @ 805C044
ldr r1, =sub_805C004
str r1, [r0]
bl sub_817F2A8
ldr r0, =gUnknown_085CCA3A
ldr r0, =gText_BattleMenu
movs r1, 0x2
bl battle_show_message_maybe
movs r4, 0
@ -8550,7 +8550,7 @@ _0805C062:
ldrb r0, [r0]
movs r1, 0
bl sub_8059CB4
ldr r0, =gUnknown_085CC9F3
ldr r0, =gText_WhatWillPkmnDo
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
movs r1, 0x1
@ -8578,7 +8578,7 @@ sub_805C0B0: @ 805C0B0
movs r2, 0x1D
movs r3, 0xD
bl sub_8056A3C
ldr r0, =gUnknown_085CCABB
ldr r0, =gText_BattleYesNoChoice
movs r1, 0xC
bl battle_show_message_maybe
ldr r1, =gUnknown_03005D74

View File

@ -860,7 +860,7 @@ sub_8159A94: @ 8159A94
adds r0, r1
ldr r1, =sub_8159A54
str r1, [r0]
ldr r0, =gUnknown_085CCA54
ldr r0, =gText_SafariZoneMenu
movs r1, 0x2
bl battle_show_message_maybe
movs r4, 0
@ -878,7 +878,7 @@ _08159AAE:
ldrb r0, [r0]
movs r1, 0
bl sub_8059CB4
ldr r0, =gUnknown_085CCA04
ldr r0, =gText_WhatWillPkmnDo2
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
movs r1, 0x1

View File

@ -3674,7 +3674,7 @@ dp01t_12_1_battle_menu: @ 816A470
adds r0, r1
ldr r1, =sub_816A430
str r1, [r0]
ldr r0, =gUnknown_085CCA3A
ldr r0, =gText_BattleMenu
movs r1, 0x2
bl battle_show_message_maybe
movs r4, 0
@ -3692,7 +3692,7 @@ _0816A48A:
ldrb r0, [r0]
movs r1, 0
bl sub_8059CB4
ldr r0, =gUnknown_085CCA15
ldr r0, =gText_WhatWillWallyDo
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
movs r1, 0x1

File diff suppressed because it is too large Load Diff

View File

@ -1802,7 +1802,7 @@ _0818F974:
sub_818F9B0: @ 818F9B0
push {lr}
ldr r0, =gStringVar1
ldr r2, =gUnknown_085CCD20
ldr r2, =gRoundsStringTable
ldr r1, =gSaveBlock2Ptr
ldr r1, [r1]
ldr r3, =0x00000cb2
@ -1821,7 +1821,7 @@ sub_818F9B0: @ 818F9B0
sub_818F9E0: @ 818F9E0
push {lr}
ldr r0, =gStringVar1
ldr r2, =gUnknown_085CCD20
ldr r2, =gRoundsStringTable
ldr r1, =gSaveBlock2Ptr
ldr r1, [r1]
ldr r3, =0x00000cb2
@ -10605,7 +10605,7 @@ _081944FC:
movs r2, 0
movs r1, 0x2
strb r1, [r0, 0x5]
ldr r0, =gUnknown_085CCCEE
ldr r0, =gText_BattleTourney
str r0, [sp, 0x4]
add r0, sp, 0x4
strb r1, [r0, 0x4]

View File

@ -2398,7 +2398,7 @@ sub_819B9B4: @ 819B9B4
movs r0, 0
movs r1, 0
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EEBB2
ldr r2, =gText_RentalPkmn2
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -2481,20 +2481,20 @@ sub_819BA64: @ 819BA64
ldrb r0, [r0, 0x5]
cmp r0, 0x1
bne _0819BA88
ldr r2, =gUnknown_085EEBC1
ldr r2, =gText_SelectFirstPkmn
b _0819BA9C
.pool
_0819BA88:
cmp r0, 0x2
bne _0819BA94
ldr r2, =gUnknown_085EEBDB
ldr r2, =gText_SelectSecondPkmn
b _0819BA9C
.pool
_0819BA94:
ldr r2, =gUnknown_085EEC2D
ldr r2, =gText_TheseThreePkmnOkay
cmp r0, 0x3
bne _0819BA9C
ldr r2, =gUnknown_085EEBF6
ldr r2, =gText_SelectThirdPkmn
_0819BA9C:
movs r0, 0x5
str r0, [sp]
@ -2521,7 +2521,7 @@ sub_819BAC8: @ 819BAC8
movs r0, 0x2
movs r1, 0
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EEC50
ldr r2, =gText_CantSelectSamePkmn
movs r0, 0x5
str r0, [sp]
movs r0, 0
@ -2560,7 +2560,7 @@ sub_819BAFC: @ 819BAFC
str r4, [sp]
movs r6, 0
str r6, [sp, 0x4]
ldr r0, =gUnknown_085EEC15
ldr r0, =gText_Summary
str r0, [sp, 0x8]
movs r0, 0x3
movs r1, 0x1
@ -2571,7 +2571,7 @@ sub_819BAFC: @ 819BAFC
beq _0819BB60
str r4, [sp]
str r6, [sp, 0x4]
ldr r0, =gUnknown_085EEC24
ldr r0, =gText_Deselect
str r0, [sp, 0x8]
movs r0, 0x3
movs r1, 0x1
@ -2583,7 +2583,7 @@ sub_819BAFC: @ 819BAFC
_0819BB60:
str r4, [sp]
str r5, [sp, 0x4]
ldr r0, =gUnknown_085EEC10
ldr r0, =gText_Rent
str r0, [sp, 0x8]
movs r0, 0x3
movs r1, 0x1
@ -2595,7 +2595,7 @@ _0819BB74:
str r0, [sp]
movs r0, 0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085EEC1D
ldr r0, =gText_Others2
str r0, [sp, 0x8]
movs r0, 0x3
movs r1, 0x1
@ -2625,7 +2625,7 @@ sub_819BBA8: @ 819BBA8
str r5, [sp]
movs r4, 0
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EEC49
ldr r0, =gText_Yes2
str r0, [sp, 0x8]
movs r0, 0x4
movs r1, 0x1
@ -2634,7 +2634,7 @@ sub_819BBA8: @ 819BBA8
bl box_print
str r5, [sp]
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EEC4D
ldr r0, =gText_No2
str r0, [sp, 0x8]
movs r0, 0x4
movs r1, 0x1
@ -4584,7 +4584,7 @@ sub_819CC24: @ 819CC24
ldrsh r5, [r4, r0]
cmp r5, 0
bne _0819CC5A
ldr r0, =gUnknown_085EECBB
ldr r0, =gText_QuitSwapping
bl sub_819EBEC
ldr r0, =gUnknown_03001284
ldr r0, [r0]
@ -4670,7 +4670,7 @@ sub_819CCD4: @ 819CCD4
adds r1, 0x30
movs r2, 0x1
bl sub_819F2B4
ldr r0, =gUnknown_085EECF0
ldr r0, =gText_AcceptThisPkmn
bl sub_819EBEC
ldr r0, [r4]
adds r0, 0x20
@ -6176,12 +6176,12 @@ _0819D948:
ldrb r0, [r0, 0x14]
cmp r0, 0
bne _0819D964
ldr r0, =gUnknown_085EEC73
ldr r0, =gText_SelectPkmnToSwap
bl sub_819EBEC
b _0819D96A
.pool
_0819D964:
ldr r0, =gUnknown_085EEC8B
ldr r0, =gText_SelectPkmnToAccept
bl sub_819EBEC
_0819D96A:
ldr r0, =gUnknown_03001284
@ -6765,7 +6765,7 @@ _0819DF02:
b _0819E006
.pool
_0819DF10:
ldr r0, =gUnknown_085EEC73
ldr r0, =gText_SelectPkmnToSwap
bl sub_819EBEC
movs r0, 0x2
bl PutWindowTilemap
@ -8272,7 +8272,7 @@ sub_819EB18: @ 819EB18
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EEC66
ldr r2, =gText_PkmnSwap
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -8402,7 +8402,7 @@ sub_819EC20: @ 819EC20
str r5, [sp]
movs r4, 0
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EECAA
ldr r0, =gText_Summary2
str r0, [sp, 0x8]
movs r0, 0x3
movs r1, 0x1
@ -8411,7 +8411,7 @@ sub_819EC20: @ 819EC20
bl box_print
str r5, [sp]
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EECA5
ldr r0, =gText_Swap
str r0, [sp, 0x8]
movs r0, 0x3
movs r1, 0x1
@ -8420,7 +8420,7 @@ sub_819EC20: @ 819EC20
bl box_print
str r5, [sp]
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EECB2
ldr r0, =gText_Rechoose
str r0, [sp, 0x8]
movs r0, 0x3
movs r1, 0x1
@ -8450,7 +8450,7 @@ sub_819EC94: @ 819EC94
str r5, [sp]
movs r4, 0
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EECCA
ldr r0, =gText_Yes3
str r0, [sp, 0x8]
movs r0, 0x4
movs r1, 0x1
@ -8459,7 +8459,7 @@ sub_819EC94: @ 819EC94
bl box_print
str r5, [sp]
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EECCE
ldr r0, =gText_No3
str r0, [sp, 0x8]
movs r0, 0x4
movs r1, 0x1
@ -8523,12 +8523,12 @@ sub_819ED34: @ 819ED34
beq _0819ED56
cmp r0, 0x1
bne _0819ED60
ldr r0, =gUnknown_085EECD1
ldr r0, =gText_PkmnForSwap
movs r1, 0
movs r2, 0x5
bl sub_819ECF0
_0819ED56:
ldr r0, =gUnknown_085EECDD
ldr r0, =gText_Cancel3
movs r1, 0x18
movs r2, 0x5
bl sub_819ECF0
@ -8554,12 +8554,12 @@ sub_819ED78: @ 819ED78
beq _0819ED9A
cmp r0, 0x1
bne _0819EDA4
ldr r0, =gUnknown_085EECD1
ldr r0, =gText_PkmnForSwap
movs r1, 0x8
movs r2, 0x3
bl sub_819ECF0
_0819ED9A:
ldr r0, =gUnknown_085EECDD
ldr r0, =gText_Cancel3
movs r1, 0x20
movs r2, 0x3
bl sub_819ECF0
@ -8588,14 +8588,14 @@ _0819EDCC:
ldrb r0, [r0, 0x14]
cmp r0, 0x1
bne _0819EDF6
ldr r0, =gUnknown_085EECD1
ldr r0, =gText_PkmnForSwap
movs r1, 0x8
movs r2, 0x3
bl sub_819ECF0
b _0819EDF6
.pool
_0819EDEC:
ldr r0, =gUnknown_085EECDD
ldr r0, =gText_Cancel3
movs r1, 0x20
movs r2, 0x3
bl sub_819ECF0
@ -9401,7 +9401,7 @@ _0819F4C8:
.4byte _0819F548
.4byte _0819F568
_0819F4DC:
ldr r0, =gUnknown_085EED0A
ldr r0, =gText_SamePkmnInPartyAlready
bl sub_819EBEC
ldr r0, =gUnknown_03001284
ldr r0, [r0]
@ -9446,7 +9446,7 @@ _0819F52C:
bl CopyWindowToVram
b _0819F54E
_0819F548:
ldr r0, =gUnknown_085EEC8B
ldr r0, =gText_SelectPkmnToAccept
bl sub_819EBEC
_0819F54E:
ldr r0, =gTasks
@ -11469,9 +11469,9 @@ _081A0528:
movs r0, 0x12
mov r10, r0
movs r6, 0x8
ldr r0, =gUnknown_085EAEB1
ldr r0, =gText_Lv50
str r0, [sp, 0xC]
ldr r0, =gUnknown_085EAEB8
ldr r0, =gText_OpenLevel
str r0, [sp, 0x10]
b _081A0652
.pool
@ -11580,9 +11580,9 @@ _081A061C:
movs r0, 0x12
mov r10, r0
movs r6, 0x8
ldr r0, =gUnknown_085ED193
ldr r0, =gText_Give
str r0, [sp, 0xC]
ldr r0, =gUnknown_085ED198
ldr r0, =gText_NoNeed
str r0, [sp, 0x10]
b _081A0652
.pool
@ -11590,9 +11590,9 @@ _081A0634:
movs r1, 0x14
mov r10, r1
movs r6, 0x8
ldr r0, =gUnknown_085EAE62
ldr r0, =gText_Yes
str r0, [sp, 0xC]
ldr r0, =gUnknown_085EAE66
ldr r0, =gText_No
str r0, [sp, 0x10]
b _081A0652
.pool
@ -12950,11 +12950,11 @@ _081A1140:
ands r0, r1
cmp r0, 0x1
bne _081A115C
ldr r1, =gUnknown_085EAEB1
ldr r1, =gText_Lv50
b _081A1174
.pool
_081A115C:
ldr r1, =gUnknown_085EAEB8
ldr r1, =gText_OpenLevel
b _081A1174
.pool
_081A1164:
@ -14386,7 +14386,7 @@ _081A1D24:
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE302
ldr r1, =gText_WinStreak
adds r0, r4, 0
bl StringExpandPlaceholders
mov r1, r10
@ -14434,7 +14434,7 @@ sub_81A1D78: @ 81A1D78
adds r4, r0
adds r4, r1
ldrh r1, [r4]
ldr r0, =gUnknown_085EE319
ldr r0, =gText_Record
str r5, [sp]
bl sub_81A1CD8
add sp, 0x4
@ -14545,7 +14545,7 @@ _081A1E66:
lsrs r0, 24
cmp r0, 0x1
bne _081A1E88
ldr r0, =gUnknown_085EE311
ldr r0, =gText_Current
str r7, [sp]
adds r1, r4, 0
mov r2, r8
@ -14554,7 +14554,7 @@ _081A1E66:
b _081A1E96
.pool
_081A1E88:
ldr r0, =gUnknown_085EE320
ldr r0, =gText_Prev
str r7, [sp]
adds r1, r4, 0
mov r2, r8
@ -14593,7 +14593,7 @@ sub_81A1EA8: @ 81A1EA8
cmp r7, 0
bne _081A1EF0
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE158
ldr r1, =gText_SingleBattleRoomResults
bl StringExpandPlaceholders
b _081A1F28
.pool
@ -14601,7 +14601,7 @@ _081A1EF0:
cmp r7, 0x1
bne _081A1F08
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE178
ldr r1, =gText_DoubleBattleRoomResults
bl StringExpandPlaceholders
b _081A1F28
.pool
@ -14609,13 +14609,13 @@ _081A1F08:
cmp r7, 0x2
bne _081A1F20
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE198
ldr r1, =gText_MultiBattleRoomResults
bl StringExpandPlaceholders
b _081A1F28
.pool
_081A1F20:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE1B7
ldr r1, =gText_LinkMultiBattleRoomResults
bl StringExpandPlaceholders
_081A1F28:
ldr r0, =gStringVar4
@ -14623,7 +14623,7 @@ _081A1F28:
bl sub_81A1C4C
ldr r6, =gUnknown_0203AB74
ldrb r0, [r6]
ldr r2, =gUnknown_085EE2F2
ldr r2, =gText_Lv502
movs r1, 0x31
mov r8, r1
str r1, [sp]
@ -14635,7 +14635,7 @@ _081A1F28:
movs r3, 0x10
bl PrintTextOnWindow
ldrb r0, [r6]
ldr r2, =gUnknown_085EE2F9
ldr r2, =gText_OpenLv
movs r1, 0x61
mov r9, r1
str r1, [sp]
@ -14830,8 +14830,8 @@ _081A20E6:
lsrs r0, 24
cmp r0, 0x1
bne _081A210C
ldr r0, =gUnknown_085EE311
ldr r1, =gUnknown_085EE338
ldr r0, =gText_Current
ldr r1, =gText_ClearStreak
str r7, [sp]
str r4, [sp, 0x4]
mov r2, r8
@ -14840,8 +14840,8 @@ _081A20E6:
b _081A211C
.pool
_081A210C:
ldr r0, =gUnknown_085EE320
ldr r1, =gUnknown_085EE338
ldr r0, =gText_Prev
ldr r1, =gText_ClearStreak
str r7, [sp]
str r4, [sp, 0x4]
mov r2, r8
@ -14881,13 +14881,13 @@ sub_81A2134: @ 81A2134
cmp r7, 0
bne _081A217C
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE1DB
ldr r1, =gText_SingleBattleTourneyResults
bl StringExpandPlaceholders
b _081A2184
.pool
_081A217C:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE1FE
ldr r1, =gText_DoubleBattleTourneyResults
bl StringExpandPlaceholders
_081A2184:
ldr r0, =gStringVar4
@ -14895,7 +14895,7 @@ _081A2184:
bl sub_81A1C4C
ldr r1, =gUnknown_0203AB74
ldrb r0, [r1]
ldr r2, =gUnknown_085EE2F2
ldr r2, =gText_Lv502
movs r6, 0x21
str r6, [sp]
movs r5, 0xFF
@ -14907,7 +14907,7 @@ _081A2184:
bl PrintTextOnWindow
ldr r1, =gUnknown_0203AB74
ldrb r0, [r1]
ldr r2, =gUnknown_085EE2F9
ldr r2, =gText_OpenLv
movs r1, 0x61
str r1, [sp]
str r5, [sp, 0x4]
@ -14935,13 +14935,13 @@ _081A2184:
str r0, [sp]
movs r0, 0x31
str r0, [sp, 0x4]
ldr r0, =gUnknown_085EE319
ldr r1, =gUnknown_085EE338
ldr r0, =gText_Record
ldr r1, =gText_ClearStreak
movs r3, 0x40
bl sub_81A2008
ldr r1, =gUnknown_085EE332
ldr r1, =gText_Total
mov r10, r1
ldr r0, =gUnknown_085EE349
ldr r0, =gText_Championships
mov r8, r0
ldr r0, [r4]
ldr r1, =0x00000d1c
@ -14972,8 +14972,8 @@ _081A2184:
str r0, [sp]
movs r0, 0x71
str r0, [sp, 0x4]
ldr r0, =gUnknown_085EE319
ldr r1, =gUnknown_085EE338
ldr r0, =gText_Record
ldr r1, =gText_ClearStreak
movs r3, 0x40
bl sub_81A2008
ldr r0, [r4]
@ -15052,7 +15052,7 @@ _081A2304:
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE302
ldr r1, =gText_WinStreak
adds r0, r4, 0
bl StringExpandPlaceholders
mov r1, r10
@ -15100,7 +15100,7 @@ sub_81A2358: @ 81A2358
adds r4, r0
adds r4, r1
ldrh r1, [r4]
ldr r0, =gUnknown_085EE319
ldr r0, =gText_Record
str r5, [sp]
bl sub_81A22B8
add sp, 0x4
@ -15186,7 +15186,7 @@ _081A241E:
lsrs r0, 24
cmp r0, 0x1
bne _081A2440
ldr r0, =gUnknown_085EE311
ldr r0, =gText_Current
str r7, [sp]
adds r1, r4, 0
mov r2, r8
@ -15195,7 +15195,7 @@ _081A241E:
b _081A244E
.pool
_081A2440:
ldr r0, =gUnknown_085EE320
ldr r0, =gText_Prev
str r7, [sp]
adds r1, r4, 0
mov r2, r8
@ -15234,13 +15234,13 @@ sub_81A2460: @ 81A2460
cmp r7, 0
bne _081A24A8
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE221
ldr r1, =gText_SingleBattleHallResults
bl StringExpandPlaceholders
b _081A24B0
.pool
_081A24A8:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE241
ldr r1, =gText_DoubleBattleHallResults
bl StringExpandPlaceholders
_081A24B0:
ldr r0, =gStringVar4
@ -15248,7 +15248,7 @@ _081A24B0:
bl sub_81A1C4C
ldr r6, =gUnknown_0203AB74
ldrb r0, [r6]
ldr r2, =gUnknown_085EE2F2
ldr r2, =gText_Lv502
movs r1, 0x31
mov r8, r1
str r1, [sp]
@ -15260,7 +15260,7 @@ _081A24B0:
movs r3, 0x10
bl PrintTextOnWindow
ldrb r0, [r6]
ldr r2, =gUnknown_085EE2F9
ldr r2, =gText_OpenLv
movs r1, 0x61
mov r9, r1
str r1, [sp]
@ -15434,8 +15434,8 @@ _081A264C:
lsrs r0, 24
cmp r0, 0x1
bne _081A2674
ldr r0, =gUnknown_085EE311
ldr r1, =gUnknown_085EE35B
ldr r0, =gText_Current
ldr r1, =gText_RoomsCleared
str r5, [sp]
str r6, [sp, 0x4]
adds r2, r7, 0
@ -15444,8 +15444,8 @@ _081A264C:
b _081A2684
.pool
_081A2674:
ldr r0, =gUnknown_085EE320
ldr r1, =gUnknown_085EE35B
ldr r0, =gText_Prev
ldr r1, =gText_RoomsCleared
str r5, [sp]
str r6, [sp, 0x4]
adds r2, r7, 0
@ -15480,14 +15480,14 @@ sub_81A2698: @ 81A2698
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE261
ldr r1, =gText_BattleChoiceResults
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
movs r1, 0
bl sub_81A1C4C
ldrb r0, [r6]
ldr r2, =gUnknown_085EE2F2
ldr r2, =gText_Lv502
movs r1, 0x21
str r1, [sp]
movs r5, 0xFF
@ -15498,7 +15498,7 @@ sub_81A2698: @ 81A2698
movs r3, 0x8
bl PrintTextOnWindow
ldrb r0, [r6]
ldr r2, =gUnknown_085EE2F9
ldr r2, =gText_OpenLv
movs r1, 0x61
str r1, [sp]
str r5, [sp, 0x4]
@ -15513,9 +15513,9 @@ sub_81A2698: @ 81A2698
movs r2, 0x72
movs r3, 0x21
bl sub_81A2618
ldr r0, =gUnknown_085EE319
ldr r0, =gText_Record
mov r10, r0
ldr r7, =gUnknown_085EE35B
ldr r7, =gText_RoomsCleared
ldr r5, =gSaveBlock2Ptr
ldr r0, [r5]
ldr r1, =0x00000e08
@ -15529,9 +15529,9 @@ sub_81A2698: @ 81A2698
adds r1, r7, 0
movs r3, 0x40
bl sub_81A258C
ldr r0, =gUnknown_085EE332
ldr r0, =gText_Total
mov r8, r0
ldr r1, =gUnknown_085EE36D
ldr r1, =gText_TimesCleared
mov r9, r1
ldr r0, [r5]
ldr r1, =0x00000e0c
@ -15633,7 +15633,7 @@ _081A2834:
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE381
ldr r1, =gText_KOsInARow
adds r0, r4, 0
bl StringExpandPlaceholders
mov r1, r10
@ -15678,7 +15678,7 @@ sub_81A2888: @ 81A2888
adds r1, r2
adds r1, r0
ldrh r1, [r1]
ldr r0, =gUnknown_085EE319
ldr r0, =gText_Record
str r3, [sp]
adds r2, r4, 0
adds r3, r5, 0
@ -15743,7 +15743,7 @@ _081A2928:
lsrs r0, 24
cmp r0, 0x1
bne _081A2948
ldr r0, =gUnknown_085EE311
ldr r0, =gText_Current
str r6, [sp]
adds r1, r5, 0
adds r2, r7, 0
@ -15752,7 +15752,7 @@ _081A2928:
b _081A2956
.pool
_081A2948:
ldr r0, =gUnknown_085EE320
ldr r0, =gText_Prev
str r6, [sp]
adds r1, r5, 0
adds r2, r7, 0
@ -15785,14 +15785,14 @@ sub_81A2968: @ 81A2968
movs r0, 0xA
bl sub_81A1C90
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE27C
ldr r1, =gText_SetKOTourneyResults
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
movs r1, 0x2
bl sub_81A1C4C
ldrb r0, [r5]
ldr r2, =gUnknown_085EE2F2
ldr r2, =gText_Lv502
movs r1, 0x31
str r1, [sp]
movs r6, 0xFF
@ -15803,7 +15803,7 @@ sub_81A2968: @ 81A2968
movs r3, 0x10
bl PrintTextOnWindow
ldrb r0, [r5]
ldr r2, =gUnknown_085EE2F9
ldr r2, =gText_OpenLv
movs r1, 0x61
str r1, [sp]
str r6, [sp, 0x4]
@ -15896,7 +15896,7 @@ _081A2A80:
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE302
ldr r1, =gText_WinStreak
adds r0, r4, 0
bl StringExpandPlaceholders
mov r1, r10
@ -15915,7 +15915,7 @@ _081A2A80:
movs r2, 0x1
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085EE392
ldr r1, =gText_TimesVar1
adds r0, r4, 0
bl StringExpandPlaceholders
mov r1, r10
@ -15973,7 +15973,7 @@ sub_81A2B04: @ 81A2B04
adds r2, r0
adds r2, r1
ldrh r2, [r2]
ldr r0, =gUnknown_085EE319
ldr r0, =gText_Record
str r3, [sp]
str r4, [sp, 0x4]
str r5, [sp, 0x8]
@ -16102,7 +16102,7 @@ _081A2C3E:
lsrs r0, 24
cmp r0, 0x1
bne _081A2C68
ldr r0, =gUnknown_085EE311
ldr r0, =gText_Current
mov r1, r8
str r1, [sp]
mov r1, r9
@ -16116,7 +16116,7 @@ _081A2C3E:
b _081A2C80
.pool
_081A2C68:
ldr r0, =gUnknown_085EE320
ldr r0, =gText_Prev
mov r1, r8
str r1, [sp]
mov r1, r9
@ -16160,13 +16160,13 @@ sub_81A2C94: @ 81A2C94
cmp r7, 0
bne _081A2CD8
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE298
ldr r1, =gText_BattleSwapSingleResults
bl StringExpandPlaceholders
b _081A2CE0
.pool
_081A2CD8:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EE2B8
ldr r1, =gText_BattleSwapDoubleResults
bl StringExpandPlaceholders
_081A2CE0:
ldr r0, =gStringVar4
@ -16175,7 +16175,7 @@ _081A2CE0:
ldr r0, =gUnknown_0203AB74
mov r8, r0
ldrb r0, [r0]
ldr r2, =gUnknown_085EE2F2
ldr r2, =gText_Lv502
movs r6, 0x21
str r6, [sp]
movs r5, 0xFF
@ -16187,7 +16187,7 @@ _081A2CE0:
bl PrintTextOnWindow
mov r1, r8
ldrb r0, [r1]
ldr r2, =gUnknown_085EE326
ldr r2, =gText_RentalSwap
str r6, [sp]
str r5, [sp, 0x4]
str r4, [sp, 0x8]
@ -16196,7 +16196,7 @@ _081A2CE0:
bl PrintTextOnWindow
mov r1, r8
ldrb r0, [r1]
ldr r2, =gUnknown_085EE2F9
ldr r2, =gText_OpenLv
movs r1, 0x61
str r1, [sp]
str r5, [sp, 0x4]
@ -16301,7 +16301,7 @@ _081A2E00:
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE39C
ldr r1, =gText_FloorsCleared
adds r0, r4, 0
bl StringExpandPlaceholders
mov r1, r10
@ -16346,7 +16346,7 @@ sub_81A2E54: @ 81A2E54
adds r1, r2
adds r1, r0
ldrh r1, [r1]
ldr r0, =gUnknown_085EE319
ldr r0, =gText_Record
str r3, [sp]
adds r2, r4, 0
adds r3, r5, 0
@ -16413,7 +16413,7 @@ _081A2EF8:
lsrs r0, 24
cmp r0, 0x1
bne _081A2F18
ldr r0, =gUnknown_085EE311
ldr r0, =gText_Current
str r6, [sp]
adds r1, r5, 0
adds r2, r7, 0
@ -16422,7 +16422,7 @@ _081A2EF8:
b _081A2F26
.pool
_081A2F18:
ldr r0, =gUnknown_085EE320
ldr r0, =gText_Prev
str r6, [sp]
adds r1, r5, 0
adds r2, r7, 0
@ -16453,14 +16453,14 @@ sub_81A2F38: @ 81A2F38
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE2D8
ldr r1, =gText_BattleQuestResults
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
movs r1, 0x2
bl sub_81A1C4C
ldrb r0, [r5]
ldr r2, =gUnknown_085EE2F2
ldr r2, =gText_Lv502
movs r1, 0x31
str r1, [sp]
movs r6, 0xFF
@ -16471,7 +16471,7 @@ sub_81A2F38: @ 81A2F38
movs r3, 0x8
bl PrintTextOnWindow
ldrb r0, [r5]
ldr r2, =gUnknown_085EE2F9
ldr r2, =gText_OpenLv
movs r1, 0x61
str r1, [sp]
str r6, [sp, 0x4]
@ -16532,7 +16532,7 @@ sub_81A2FF8: @ 81A2FF8
bl FillWindowPixelBuffer
ldr r0, =gStringVar4
mov r9, r0
ldr r1, =gUnknown_085EDF86
ldr r1, =gText_LinkContestResults
bl StringExpandPlaceholders
movs r0, 0x1
mov r1, r9
@ -16550,7 +16550,7 @@ sub_81A2FF8: @ 81A2FF8
str r5, [sp, 0x8]
mov r2, r9
bl PrintTextOnWindow
ldr r7, =gUnknown_085EDFA0
ldr r7, =gText_1st
movs r0, 0x1
adds r1, r7, 0
movs r2, 0x26
@ -16568,7 +16568,7 @@ sub_81A2FF8: @ 81A2FF8
movs r1, 0x1
adds r2, r7, 0
bl PrintTextOnWindow
ldr r7, =gUnknown_085EDFA4
ldr r7, =gText_2nd
movs r0, 0x1
adds r1, r7, 0
movs r2, 0x26
@ -16585,7 +16585,7 @@ sub_81A2FF8: @ 81A2FF8
movs r1, 0x1
adds r2, r7, 0
bl PrintTextOnWindow
ldr r7, =gUnknown_085EDFA8
ldr r7, =gText_3rd
movs r0, 0x1
adds r1, r7, 0
movs r2, 0x26
@ -16602,7 +16602,7 @@ sub_81A2FF8: @ 81A2FF8
movs r1, 0x1
adds r2, r7, 0
bl PrintTextOnWindow
ldr r7, =gUnknown_085EDFAC
ldr r7, =gText_4th
movs r0, 0x1
adds r1, r7, 0
movs r2, 0x26
@ -16620,7 +16620,7 @@ sub_81A2FF8: @ 81A2FF8
adds r2, r7, 0
bl PrintTextOnWindow
ldrb r0, [r4]
ldr r2, =gUnknown_085EB0E8
ldr r2, =gText_Cool
movs r1, 0x29
str r1, [sp]
str r6, [sp, 0x4]
@ -16629,7 +16629,7 @@ sub_81A2FF8: @ 81A2FF8
movs r3, 0x6
bl PrintTextOnWindow
ldrb r0, [r4]
ldr r2, =gUnknown_085EB0ED
ldr r2, =gText_Beauty
movs r1, 0x39
str r1, [sp]
str r6, [sp, 0x4]
@ -16638,7 +16638,7 @@ sub_81A2FF8: @ 81A2FF8
movs r3, 0x6
bl PrintTextOnWindow
ldrb r0, [r4]
ldr r2, =gUnknown_085EB0F4
ldr r2, =gText_Cute
movs r1, 0x49
str r1, [sp]
str r6, [sp, 0x4]
@ -16647,7 +16647,7 @@ sub_81A2FF8: @ 81A2FF8
movs r3, 0x6
bl PrintTextOnWindow
ldrb r0, [r4]
ldr r2, =gUnknown_085EB0F9
ldr r2, =gText_Smart
movs r1, 0x59
str r1, [sp]
str r6, [sp, 0x4]
@ -16656,7 +16656,7 @@ sub_81A2FF8: @ 81A2FF8
movs r3, 0x6
bl PrintTextOnWindow
ldrb r0, [r4]
ldr r2, =gUnknown_085EB0FF
ldr r2, =gText_Tough
movs r1, 0x69
str r1, [sp]
str r6, [sp, 0x4]
@ -18104,7 +18104,7 @@ _081A3E38:
cmp r5, r4
bne _081A3E50
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB79
ldr r1, =gText_SpaceAndSpace
bl StringAppend
b _081A3EC8
.pool
@ -18112,7 +18112,7 @@ _081A3E50:
cmp r5, r4
ble _081A3EC8
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB7F
ldr r1, =gText_CommaSpace
bl StringAppend
b _081A3EC8
.pool
@ -18120,17 +18120,17 @@ _081A3E68:
cmp r4, r5
bne _081A3E80
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB79
ldr r1, =gText_SpaceAndSpace
bl StringAppend
b _081A3E88
.pool
_081A3E80:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB7F
ldr r1, =gText_CommaSpace
bl StringAppend
_081A3E88:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB86
ldr r1, =gText_NewLine
bl StringAppend
b _081A3EC8
.pool
@ -18138,17 +18138,17 @@ _081A3EA0:
cmp r4, r5
bne _081A3EB8
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB79
ldr r1, =gText_SpaceAndSpace
bl StringAppend
b _081A3EC0
.pool
_081A3EB8:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB7F
ldr r1, =gText_CommaSpace
bl StringAppend
_081A3EC0:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB84
ldr r1, =gText_ScrollTextUp
bl StringAppend
_081A3EC8:
ldr r0, =gStringVar1
@ -18495,10 +18495,10 @@ _081A416A:
cmp r4, 0
bne _081A41A4
ldr r4, =gStringVar1
ldr r1, =gUnknown_085CCB82
ldr r1, =gText_Space2
adds r0, r4, 0
bl StringAppend
ldr r1, =gUnknown_085CCB88
ldr r1, =gText_Are
adds r0, r4, 0
bl StringAppend
b _081A4202
@ -18509,17 +18509,17 @@ _081A41A4:
cmp r0, 0
beq _081A41C0
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB84
ldr r1, =gText_ScrollTextUp
bl StringAppend
b _081A41C8
.pool
_081A41C0:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB82
ldr r1, =gText_Space2
bl StringAppend
_081A41C8:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085CCB8C
ldr r1, =gText_Are2
bl StringAppend
b _081A4202
.pool
@ -18966,7 +18966,7 @@ sub_81A4594: @ 81A4594
ldrb r5, [r1]
lsls r4, r0, 1
adds r4, r0
ldr r1, =gUnknown_085EE424
ldr r1, =gText_1Dot
adds r4, r1
mov r1, r8
lsls r3, r1, 27
@ -19076,7 +19076,7 @@ sub_81A4684: @ 81A4684
ldrb r0, [r1]
lsls r2, r6, 1
adds r2, r6
ldr r1, =gUnknown_085EE424
ldr r1, =gText_1Dot
adds r2, r1
lsls r3, r7, 27
lsrs r3, 24
@ -20577,30 +20577,30 @@ _081A5328:
movs r0, 0x1
negs r0, r0
strb r0, [r1, 0x1]
ldr r0, =gUnknown_085CCDB2
ldr r0, =gText_JapaneseHonorific
bl StrCpyDecodeToDisplayedStringBattle
ldr r4, =gDisplayedStringBattle
adds r0, r4, 0
movs r1, 0xF
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCDB5
ldr r0, =gText_Vs
movs r1, 0x10
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCDB8
ldr r0, =gText_RivalBuffer
bl StrCpyDecodeToDisplayedStringBattle
adds r0, r4, 0
movs r1, 0x11
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCDBB
ldr r0, =gText_Mind
movs r1, 0x12
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCDC0
ldr r0, =gText_Skill
movs r1, 0x13
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCDC6
ldr r0, =gText_Body
movs r1, 0x14
bl battle_show_message_maybe
ldr r0, =gUnknown_085CCDCB
ldr r0, =gText_Judgement
bl StrCpyDecodeToDisplayedStringBattle
adds r0, r4, 0
movs r1, 0x15
@ -20684,7 +20684,7 @@ _081A544C:
_081A5464:
movs r3, 0x1
bl sub_81A5558
ldr r0, =gUnknown_085CCDCB
ldr r0, =gText_Judgement
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
movs r1, 0x15

View File

@ -3760,7 +3760,7 @@ sub_80741E8: @ 80741E8
lsls r0, 24
lsrs r7, r0, 24
ldr r5, =gDisplayedStringBattle
ldr r1, =gUnknown_085ED228
ldr r1, =gText_HighlightDarkGrey
adds r0, r5, 0
bl StringCopy
adds r0, r4, 0
@ -3802,15 +3802,15 @@ _0807424A:
beq _08074268
cmp r6, 0xFE
beq _08074270
ldr r1, =gUnknown_085ED238
ldr r1, =gText_DynColor2
b _08074272
.pool
_08074268:
ldr r1, =gUnknown_085ED22E
ldr r1, =gText_DynColor2Male
b _08074272
.pool
_08074270:
ldr r1, =gUnknown_085ED233
ldr r1, =gText_DynColor1Female
_08074272:
adds r0, r5, 0
bl StringCopy
@ -4375,7 +4375,7 @@ sub_8074770: @ 8074770
adds r4, r0, 0
lsls r4, 24
lsrs r4, 24
ldr r0, =gUnknown_085CCB2C
ldr r0, =gText_SafariBalls
add r1, sp, 0x4
str r1, [sp]
movs r1, 0
@ -4419,7 +4419,7 @@ sub_80747D8: @ 80747D8
adds r4, r0, 0
lsls r4, 24
lsrs r4, 24
ldr r1, =gUnknown_085CCB3C
ldr r1, =gText_SafariBallLeft
add r0, sp, 0x4
bl StringCopy
ldr r1, =gNumSafariBalls

View File

@ -136,12 +136,12 @@ _0814E1CC:
movs r0, 0x80
lsls r0, 17
ands r2, r0
ldr r7, =gUnknown_085CBBCD
ldr r7, =gText_TwoTrainersWantToBattle
cmp r2, 0
bne _0814E200
b _0814E6D8
_0814E200:
ldr r7, =gUnknown_085CD318
ldr r7, =gText_TwoTrainersWantToBattle3
b _0814E6D8
.pool
_0814E214:
@ -151,19 +151,19 @@ _0814E214:
lsls r0, 4
cmp r1, r0
bne _0814E22C
ldr r7, =gUnknown_085CBB9C
ldr r7, =gText_TrainerXYWantsToBattle
b _0814E6D8
.pool
_0814E22C:
movs r0, 0x80
lsls r0, 17
ands r2, r0
ldr r7, =gUnknown_085CBBB9
ldr r7, =gText_TrainerXWantsToBattle
cmp r2, 0
bne _0814E23A
b _0814E6D8
_0814E23A:
ldr r7, =gUnknown_085CD301
ldr r7, =gText_TrainerWantsToBattle
b _0814E6D8
.pool
_0814E248:
@ -175,12 +175,12 @@ _0814E248:
movs r0, 0x80
lsls r0, 8
ands r2, r0
ldr r7, =gUnknown_085CBB9C
ldr r7, =gText_TrainerXYWantsToBattle
cmp r2, 0
bne _0814E260
b _0814E6D8
_0814E260:
ldr r7, =gUnknown_085CCE17
ldr r7, =gText_TwoTrainersWantToBattle2
b _0814E6D8
.pool
_0814E26C:
@ -189,7 +189,7 @@ _0814E26C:
ands r0, r2
cmp r0, 0
beq _0814E280
ldr r7, =gUnknown_085CBB5A
ldr r7, =gText_WildPkmnAppeared2
b _0814E6D8
.pool
_0814E280:
@ -197,19 +197,19 @@ _0814E280:
ands r0, r2
cmp r0, 0
beq _0814E290
ldr r7, =gUnknown_085CBB82
ldr r7, =gText_TwoWildPkmnAppeared
b _0814E6D8
.pool
_0814E290:
movs r0, 0x80
lsls r0, 2
ands r2, r0
ldr r7, =gUnknown_085CBB47
ldr r7, =gText_WildPkmnAppeared
cmp r2, 0
bne _0814E29E
b _0814E6D8
_0814E29E:
ldr r7, =gUnknown_085CBB6D
ldr r7, =gText_WildPkmnAppearedPause
b _0814E6D8
.pool
_0814E2AC:
@ -230,7 +230,7 @@ _0814E2AC:
ands r0, r1
cmp r0, 0
beq _0814E2DC
ldr r7, =gUnknown_085CCE38
ldr r7, =gText_TrainerXYSentOutZGoN
b _0814E6D8
.pool
_0814E2DC:
@ -239,22 +239,22 @@ _0814E2DC:
ands r0, r1
cmp r0, 0
beq _0814E2F0
ldr r7, =gUnknown_085CBC96
ldr r7, =gText_GoTwoPkmn
b _0814E6D8
.pool
_0814E2F0:
movs r0, 0x40
ands r1, r0
ldr r7, =gUnknown_085CBC96
ldr r7, =gText_GoTwoPkmn
cmp r1, 0
bne _0814E2FC
b _0814E6D8
_0814E2FC:
ldr r7, =gUnknown_085CBCE5
ldr r7, =gText_EnemySentOutPkmnGoPkmn
b _0814E6D8
.pool
_0814E308:
ldr r7, =gUnknown_085CBC8E
ldr r7, =gText_GoPkmn
b _0814E6D8
.pool
_0814E310:
@ -275,7 +275,7 @@ _0814E310:
cmp r0, 0
beq _0814E33C
_0814E330:
ldr r7, =gUnknown_085CCDDE
ldr r7, =gText_TwoTrainersSentPkmn
b _0814E6D8
.pool
_0814E33C:
@ -283,18 +283,18 @@ _0814E33C:
ands r0, r1
cmp r0, 0
beq _0814E34C
ldr r7, =gUnknown_085CBC4E
ldr r7, =gText_TwoTrainersSentOutPkmn
b _0814E6D8
.pool
_0814E34C:
ldr r0, =0x02000002
ands r1, r0
ldr r7, =gUnknown_085CBBFA
ldr r7, =gText_TrainerXYSentOutTwoPkmn
cmp r1, 0
bne _0814E358
b _0814E6D8
_0814E358:
ldr r7, =gUnknown_085CBC37
ldr r7, =gText_TrainerXSentOutTwoPkmn
b _0814E6D8
.pool
_0814E368:
@ -306,12 +306,12 @@ _0814E368:
ldrh r1, [r0]
movs r0, 0xC0
lsls r0, 4
ldr r7, =gUnknown_085CBC27
ldr r7, =gText_TrainerXSentOutPkmn
cmp r1, r0
beq _0814E380
b _0814E6D8
_0814E380:
ldr r7, =gUnknown_085CBBE7
ldr r7, =gText_TrainerXYSentOutPkmn
b _0814E6D8
.pool
_0814E394:
@ -327,7 +327,7 @@ _0814E394:
ldrb r2, [r0]
cmp r2, 0
bne _0814E3BC
ldr r7, =gUnknown_085CBCFD
ldr r7, =gText_PkmnThatsEnough
b _0814E6D8
.pool
_0814E3BC:
@ -340,16 +340,16 @@ _0814E3BC:
cmp r0, 0
beq _0814E3D8
_0814E3CC:
ldr r7, =gUnknown_085CBD1B
ldr r7, =gText_PkmnComeBack
b _0814E6D8
.pool
_0814E3D8:
ldr r7, =gUnknown_085CBD3D
ldr r7, =gText_PkmnGoodComeBack
cmp r2, 0x2
beq _0814E3E0
b _0814E6D8
_0814E3E0:
ldr r7, =gUnknown_085CBD2A
ldr r7, =gText_PkmnOkComeBack
b _0814E6D8
.pool
_0814E3EC:
@ -370,16 +370,16 @@ _0814E406:
ldr r0, [r2]
movs r1, 0x40
ands r0, r1
ldr r7, =gUnknown_085CBD65
ldr r7, =gText_TrainerXWithdrewPkmn
cmp r0, 0
bne _0814E414
b _0814E6D8
_0814E414:
ldr r7, =gUnknown_085CBD75
ldr r7, =gText_TrainerXWithdrewPkmn2
b _0814E6D8
.pool
_0814E428:
ldr r7, =gUnknown_085CBD52
ldr r7, =gText_TrainerXYWithdrewPkmn
b _0814E6D8
.pool
_0814E430:
@ -402,22 +402,22 @@ _0814E430:
cmp r0, 0
beq _0814E468
_0814E456:
ldr r7, =gUnknown_085CBCA5
ldr r7, =gText_GoPkmn2
b _0814E6D8
.pool
_0814E468:
cmp r2, 0x1
bne _0814E474
ldr r7, =gUnknown_085CBCAD
ldr r7, =gText_DoItPkmn
b _0814E6D8
.pool
_0814E474:
ldr r7, =gUnknown_085CBCC7
ldr r7, =gText_YourFoesWeakGetEmPkmn
cmp r2, 0x2
beq _0814E47C
b _0814E6D8
_0814E47C:
ldr r7, =gUnknown_085CBCB8
ldr r7, =gText_GoForItPkmn
b _0814E6D8
.pool
_0814E488:
@ -440,7 +440,7 @@ _0814E4AC:
ands r1, r0
cmp r1, 0
beq _0814E4BC
ldr r7, =gUnknown_085CBC7E
ldr r7, =gText_TrainerXSentOutPkmn3
b _0814E6D8
.pool
_0814E4BC:
@ -448,12 +448,12 @@ _0814E4BC:
ldrh r1, [r0]
movs r0, 0xC0
lsls r0, 4
ldr r7, =gUnknown_085CBC6E
ldr r7, =gText_TrainerXSentOutPkmn2
cmp r1, r0
beq _0814E4CC
b _0814E6D8
_0814E4CC:
ldr r7, =gUnknown_085CBC14
ldr r7, =gText_TrainerXYSentOutPkmn2
b _0814E6D8
.pool
_0814E4DC:
@ -465,7 +465,7 @@ _0814E4DC:
mov r1, r9
ldrb r0, [r1, 0x17]
_0814E4EA:
ldr r7, =gUnknown_085CCE04
ldr r7, =gText_TrainerXYSentOutPkmn3
cmp r0, 0x1
beq _0814E4F2
b _0814E6D8
@ -489,7 +489,7 @@ _0814E4F8:
ldrb r2, [r1]
lsls r1, r2, 4
adds r1, r2
ldr r2, =gUnknown_085CCBBC
ldr r2, =gText_UnknownMoveTypes
adds r1, r2
bl StringCopy
b _0814E544
@ -505,7 +505,7 @@ _0814E534:
_0814E544:
ldr r0, =gBattleTextBuff2
bl sub_814F950
ldr r7, =gUnknown_085CBDAC
ldr r7, =gText_XUsedY2
b _0814E6D8
.pool
_0814E55C:
@ -539,7 +539,7 @@ _0814E58A:
lsrs r0, 24
cmp r0, 0x1
bhi _0814E5A4
ldr r7, =gUnknown_085CB4CA
ldr r7, =gText_GotAwaySafely
b _0814E6D8
.pool
_0814E5A4:
@ -547,12 +547,12 @@ _0814E5A4:
ldr r0, [r0]
movs r1, 0x40
ands r0, r1
ldr r7, =gUnknown_085CB5D2
ldr r7, =gText_WildFled
cmp r0, 0
bne _0814E5B4
b _0814E6D8
_0814E5B4:
ldr r7, =gUnknown_085CB5DF
ldr r7, =gText_TwoWildFled
b _0814E6D8
.pool
_0814E5C4:
@ -594,18 +594,18 @@ _0814E60E:
movs r0, 0x80
lsls r0, 16
ands r1, r0
ldr r7, =gUnknown_085CB538
ldr r7, =gText_PlayerBeatTwo
cmp r1, 0
beq _0814E6D8
ldr r7, =gUnknown_085CCE53
ldr r7, =gText_TwoEnemiesDefeated
b _0814E6D8
.pool
_0814E628:
ldr r7, =gUnknown_085CB567
ldr r7, =gText_PlayerLostToTwo
b _0814E6D8
.pool
_0814E630:
ldr r7, =gUnknown_085CB5A6
ldr r7, =gText_PlayerBattledToDrawVsTwo
b _0814E6D8
.pool
_0814E638:
@ -630,15 +630,15 @@ _0814E660:
beq _0814E678
b _0814E6D8
_0814E666:
ldr r7, =gUnknown_085CBA2E
ldr r7, =gText_PlayerDefeatedXY
b _0814E6D8
.pool
_0814E670:
ldr r7, =gUnknown_085CD24C
ldr r7, =gText_PlayerLostAgainst2
b _0814E6D8
.pool
_0814E678:
ldr r7, =gUnknown_085CD267
ldr r7, =gText_PlayerBattledToDraw2
b _0814E6D8
.pool
_0814E680:
@ -657,15 +657,15 @@ _0814E698:
beq _0814E6B0
b _0814E6D8
_0814E69E:
ldr r7, =gUnknown_085CB524
ldr r7, =gText_PlayerDefeated
b _0814E6D8
.pool
_0814E6A8:
ldr r7, =gUnknown_085CB54F
ldr r7, =gText_PlayerLostAgainst
b _0814E6D8
.pool
_0814E6B0:
ldr r7, =gUnknown_085CB581
ldr r7, =gText_PlayerBattledToDraw
b _0814E6D8
.pool
_0814E6B8:
@ -679,7 +679,7 @@ _0814E6B8:
b _0814E6DE
.pool
_0814E6CC:
ldr r1, =gUnknown_085CC270
ldr r1, =gBattleStringsTable
adds r0, r6, 0
subs r0, 0xC
lsls r0, 2
@ -1104,10 +1104,10 @@ _0814EAF8:
ldr r1, [r0]
movs r0, 0x8
ands r1, r0
ldr r4, =gUnknown_085CBD85
ldr r4, =gText_WildPkmnPrefix
cmp r1, 0
beq _0814EB36
ldr r4, =gUnknown_085CBD8B
ldr r4, =gText_FoePkmnPrefix
b _0814EB36
.pool
_0814EB2C:
@ -1229,10 +1229,10 @@ _0814EC38:
ldr r1, [r0]
movs r0, 0x8
ands r1, r0
ldr r4, =gUnknown_085CBD85
ldr r4, =gText_WildPkmnPrefix
cmp r1, 0
beq _0814EC56
ldr r4, =gUnknown_085CBD8B
ldr r4, =gText_FoePkmnPrefix
_0814EC56:
ldrb r1, [r4]
adds r0, r1, 0
@ -1294,10 +1294,10 @@ _0814ECD4:
ldr r1, [r0]
movs r0, 0x8
ands r1, r0
ldr r4, =gUnknown_085CBD85
ldr r4, =gText_WildPkmnPrefix
cmp r1, 0
beq _0814ECF2
ldr r4, =gUnknown_085CBD8B
ldr r4, =gText_FoePkmnPrefix
_0814ECF2:
ldrb r1, [r4]
adds r0, r1, 0
@ -1359,10 +1359,10 @@ _0814ED70:
ldr r1, [r0]
movs r0, 0x8
ands r1, r0
ldr r4, =gUnknown_085CBD85
ldr r4, =gText_WildPkmnPrefix
cmp r1, 0
beq _0814ED8E
ldr r4, =gUnknown_085CBD8B
ldr r4, =gText_FoePkmnPrefix
_0814ED8E:
ldrb r1, [r4]
adds r0, r1, 0
@ -1424,10 +1424,10 @@ _0814EE0C:
ldr r1, [r0]
movs r0, 0x8
ands r1, r0
ldr r4, =gUnknown_085CBD85
ldr r4, =gText_WildPkmnPrefix
cmp r1, 0
beq _0814EE2A
ldr r4, =gUnknown_085CBD8B
ldr r4, =gText_FoePkmnPrefix
_0814EE2A:
ldrb r1, [r4]
adds r0, r1, 0
@ -1489,10 +1489,10 @@ _0814EEA8:
ldr r1, [r0]
movs r0, 0x8
ands r1, r0
ldr r4, =gUnknown_085CBD85
ldr r4, =gText_WildPkmnPrefix
cmp r1, 0
beq _0814EEC6
ldr r4, =gUnknown_085CBD8B
ldr r4, =gText_FoePkmnPrefix
_0814EEC6:
ldrb r1, [r4]
adds r0, r1, 0
@ -1569,7 +1569,7 @@ _0814EF6A:
ldrb r1, [r0]
lsls r0, r1, 4
adds r0, r1
ldr r1, =gUnknown_085CCBBC
ldr r1, =gText_UnknownMoveTypes
adds r4, r0, r1
b _0814F5C0
.pool
@ -1626,7 +1626,7 @@ _0814EFEC:
adds r1, r0
mov r0, sp
bl StringCopy
ldr r1, =gUnknown_085CC0AD
ldr r1, =gText_BerrySuffix
mov r0, sp
bl StringAppend
b _0814F5BE
@ -1652,13 +1652,13 @@ _0814F014:
adds r1, r0
mov r0, sp
bl StringCopy
ldr r1, =gUnknown_085CC0AD
ldr r1, =gText_BerrySuffix
mov r0, sp
bl StringAppend
b _0814F5BE
.pool
_0814F05C:
ldr r4, =gUnknown_085CC0A0
ldr r4, =gText_EnigmaBerry
b _0814F5C0
.pool
_0814F064:
@ -1996,10 +1996,10 @@ _0814F330:
ldr r1, [r0]
movs r0, 0x8
ands r1, r0
ldr r4, =gUnknown_085CBD85
ldr r4, =gText_WildPkmnPrefix
cmp r1, 0
beq _0814F34E
ldr r4, =gUnknown_085CBD8B
ldr r4, =gText_FoePkmnPrefix
_0814F34E:
ldrb r1, [r4]
adds r0, r1, 0
@ -2051,12 +2051,12 @@ _0814F3C4:
ldr r0, =0x000008ab
bl FlagGet
lsls r0, 24
ldr r4, =gUnknown_085CC015
ldr r4, =gText_Someones
cmp r0, 0
bne _0814F3D4
b _0814F5C0
_0814F3D4:
ldr r4, =gUnknown_085CC01F
ldr r4, =gText_Lanettes
b _0814F5C0
.pool
_0814F3E4:
@ -2069,12 +2069,12 @@ _0814F3EE:
ldrb r0, [r0]
bl GetBankSide
lsls r0, 24
ldr r4, =gUnknown_085CBD9A
ldr r4, =gText_FoePkmnPrefix3
cmp r0, 0
beq _0814F3FE
b _0814F5C0
_0814F3FE:
ldr r4, =gUnknown_085CBD9E
ldr r4, =gText_AllyPkmnPrefix2
b _0814F5C0
.pool
_0814F410:
@ -2087,12 +2087,12 @@ _0814F41A:
ldrb r0, [r0]
bl GetBankSide
lsls r0, 24
ldr r4, =gUnknown_085CBD91
ldr r4, =gText_FoePkmnPrefix2
cmp r0, 0
beq _0814F42A
b _0814F5C0
_0814F42A:
ldr r4, =gUnknown_085CBD95
ldr r4, =gText_AllyPkmnPrefix
b _0814F5C0
.pool
_0814F43C:
@ -2105,12 +2105,12 @@ _0814F446:
ldrb r0, [r0]
bl GetBankSide
lsls r0, 24
ldr r4, =gUnknown_085CBDA3
ldr r4, =gText_FoePkmnPrefix4
cmp r0, 0
beq _0814F456
b _0814F5C0
_0814F456:
ldr r4, =gUnknown_085CBDA7
ldr r4, =gText_AllyPkmnPrefix3
b _0814F5C0
.pool
_0814F468:
@ -2387,7 +2387,7 @@ _0814F6AC:
ldrb r0, [r0, 0x2]
lsls r0, 8
orrs r1, r0
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
subs r1, 0xC
lsls r1, 2
adds r1, r0
@ -2485,13 +2485,13 @@ _0814F768:
ands r0, r1
cmp r0, 0
beq _0814F788
ldr r1, =gUnknown_085CBD8B
ldr r1, =gText_FoePkmnPrefix
adds r0, r6, 0
bl StringAppend
b _0814F790
.pool
_0814F788:
ldr r1, =gUnknown_085CBD85
ldr r1, =gText_WildPkmnPrefix
adds r0, r6, 0
bl StringAppend
_0814F790:
@ -2562,7 +2562,7 @@ _0814F81A:
b _0814F8DE
.pool
_0814F828:
ldr r1, =gUnknown_085CBE6C
ldr r1, =gPokeblockWasTooXStringTable
adds r0, r5, r7
ldrb r0, [r0, 0x1]
lsls r0, 2
@ -2618,11 +2618,11 @@ _0814F858:
adds r1, r0
adds r0, r6, 0
bl StringCopy
ldr r1, =gUnknown_085CC0AD
ldr r1, =gText_BerrySuffix
b _0814F8BE
.pool
_0814F8BC:
ldr r1, =gUnknown_085CC0A0
ldr r1, =gText_EnigmaBerry
_0814F8BE:
adds r0, r6, 0
bl StringAppend
@ -2679,7 +2679,7 @@ _0814F918:
blt _0814F944
cmp r2, 0x2
bgt _0814F938
ldr r1, =gUnknown_085CCBB5
ldr r1, =gText_SpaceIs
adds r0, r4, 0
bl StringCopy
b _0814F944
@ -2687,7 +2687,7 @@ _0814F918:
_0814F938:
cmp r2, 0x4
bgt _0814F944
ldr r1, =gUnknown_085CCBB9
ldr r1, =gText_ApostropheS
adds r0, r4, 0
bl StringCopy
_0814F944:
@ -2744,26 +2744,26 @@ _0814F99C:
.4byte _0814F9C8
.4byte _0814F9D8
_0814F9B0:
ldr r1, =gUnknown_085CBDB7
ldr r1, =gText_ExclamationMark
b _0814F9CA
.pool
_0814F9B8:
ldr r1, =gUnknown_085CBDB9
ldr r1, =gText_ExclamationMark2
b _0814F9CA
.pool
_0814F9C0:
ldr r1, =gUnknown_085CBDBB
ldr r1, =gText_ExclamationMark3
b _0814F9CA
.pool
_0814F9C8:
ldr r1, =gUnknown_085CBDBD
ldr r1, =gText_ExclamationMark4
_0814F9CA:
adds r0, r3, 0
bl StringCopy
b _0814F9E0
.pool
_0814F9D8:
ldr r1, =gUnknown_085CBDBF
ldr r1, =gText_ExclamationMark5
adds r0, r3, 0
bl StringCopy
_0814F9E0:

View File

@ -488,7 +488,7 @@ sub_813C2F4: @ 813C2F4
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EF6A1
ldr r1, =gText_TotalRecordWLD
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0x1
@ -672,7 +672,7 @@ sub_813C4BC: @ 813C4BC
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r5, =gStringVar4
ldr r1, =gUnknown_085EF68D
ldr r1, =gText_PlayersBattleResults
adds r0, r5, 0
bl StringExpandPlaceholders
movs r0, 0x1
@ -697,7 +697,7 @@ sub_813C4BC: @ 813C4BC
mov r9, r1
add r0, r9
bl sub_813C2F4
ldr r1, =gUnknown_085EF6BD
ldr r1, =gText_WinLoseDraw
adds r0, r5, 0
bl StringExpandPlaceholders
ldrb r0, [r6]

View File

@ -2151,7 +2151,7 @@ sub_8147018: @ 8147018
ands r5, r0
movs r1, 0
mov r8, r4
ldr r6, =gUnknown_02038C08
ldr r6, =gFieldEffectSpawnParams
_08147046:
lsls r5, 16
asrs r5, 16
@ -2221,7 +2221,7 @@ _081470C4:
sub_81470D0: @ 81470D0
push {r4,r5,lr}
ldr r0, =gUnknown_085C8E68
ldr r5, =gUnknown_02038C08
ldr r5, =gFieldEffectSpawnParams
movs r2, 0
ldrsh r1, [r5, r2]
movs r3, 0x4

View File

@ -5627,7 +5627,7 @@ _080827AA:
ldr r0, [r6]
ldr r1, =0x000011b8
adds r0, r1
ldr r1, =gUnknown_085EE42D
ldr r1, =gText_SavingDontTurnOff2
movs r2, 0
bl sub_808417C
bl sub_800ADF8
@ -8350,7 +8350,7 @@ ShowBerryBlenderRecordWindow: @ 8083E24
ldrb r0, [r5]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r6, =gUnknown_085EE44F
ldr r6, =gText_BlenderMaxSpeedRecord
movs r0, 0x1
adds r1, r6, 0
movs r2, 0x90
@ -8367,7 +8367,7 @@ ShowBerryBlenderRecordWindow: @ 8083E24
adds r2, r6, 0
bl PrintTextOnWindow
ldrb r0, [r5]
ldr r2, =gUnknown_085EE473
ldr r2, =gText_234Players
movs r1, 0x29
str r1, [sp]
str r4, [sp, 0x4]

View File

@ -5,588 +5,4 @@
.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.

View File

@ -511,7 +511,7 @@ sub_8178090: @ 8178090
movs r0, 0x3
movs r1, 0xFF
bl FillWindowPixelBuffer
ldr r4, =gUnknown_085E926B
ldr r4, =gText_BerryTag
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x40
@ -573,7 +573,7 @@ sub_8178110: @ 8178110
adds r1, r6, 0
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9263
ldr r1, =gText_UnkF908Var1Var2
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -602,7 +602,7 @@ sub_8178174: @ 8178174
ldrb r0, [r0]
bl GetBerryInfo
adds r4, r0, 0
ldr r2, =gUnknown_085E9225
ldr r2, =gText_SizeSlash
movs r7, 0x1
str r7, [sp]
movs r0, 0xFF
@ -652,7 +652,7 @@ _081781C8:
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9233
ldr r1, =gText_Var1DotVar2
adds r0, r4, 0
bl StringExpandPlaceholders
str r7, [sp]
@ -694,7 +694,7 @@ itemid_copy_name: @ 8178250
ldrb r0, [r0]
bl GetBerryInfo
adds r6, r0, 0
ldr r2, =gUnknown_085E922C
ldr r2, =gText_FirmSlash
movs r5, 0x11
str r5, [sp]
movs r0, 0xFF

View File

@ -15,7 +15,7 @@ MovePlayerOnBike: @ 8119164
lsrs r4, r1, 16
lsls r2, 16
lsrs r2, 16
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x2
ands r0, r1
@ -72,7 +72,7 @@ CheckMovementInputMachBike: @ 81191CC
cmp r1, 0
bne _081191F4
strb r0, [r4]
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r0, [r2, 0xB]
cmp r0, 0
bne _08119208
@ -81,7 +81,7 @@ CheckMovementInputMachBike: @ 81191CC
b _0811921C
.pool
_081191F4:
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
cmp r1, r3
beq _08119218
ldrb r0, [r2, 0x2]
@ -126,7 +126,7 @@ sub_8119238: @ 8119238
push {r4,r5,lr}
lsls r0, 24
lsrs r5, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -161,7 +161,7 @@ sub_8119280: @ 8119280
lsls r0, 24
lsrs r5, r0, 24
adds r7, r5, 0
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r1, [r6, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -255,7 +255,7 @@ sub_8119344: @ 8119344
lsls r0, 24
lsrs r5, r0, 24
adds r7, r5, 0
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r0, [r6, 0xB]
cmp r0, 0
beq _0811935A
@ -352,7 +352,7 @@ CheckMovementInputAcroBike: @ 8119400
lsls r2, 16
lsrs r2, 16
ldr r4, =gUnknown_0859749C
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r3, [r3, 0x8]
lsls r3, 2
adds r3, r4
@ -377,7 +377,7 @@ CheckMovementInputAcroBikeNormal: @ 811942C
bl player_get_direction_upper_nybble
lsls r0, 24
lsrs r3, r0, 24
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
movs r0, 0
strb r0, [r2, 0xA]
ldrb r1, [r4]
@ -417,11 +417,11 @@ _0811946C:
b _081194C0
_0811948A:
ldrb r0, [r4]
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
cmp r0, r3
beq _081194BC
_08119492:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x2]
adds r2, r0, 0
cmp r1, 0x2
@ -453,7 +453,7 @@ _081194C0:
CheckMovementInputAcroBikeChangingDirection: @ 81194C8
push {r4-r6,lr}
adds r5, r0, 0
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r0, [r4, 0x9]
strb r0, [r5]
ldrb r0, [r4, 0xA]
@ -520,7 +520,7 @@ CheckMovementInputAcroBikeStandingWheelie: @ 8119540
bl player_get_direction_upper_nybble
lsls r0, 24
lsrs r6, r0, 24
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r1, [r5, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -553,7 +553,7 @@ _08119594:
adds r0, 0x1
strb r0, [r5, 0xA]
_0811959A:
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r0, [r1, 0xA]
cmp r0, 0x27
bls _081195B4
@ -608,7 +608,7 @@ CheckMovementInputAcroBikeBunnyHop: @ 81195E0
lsls r0, 24
lsrs r5, r0, 24
adds r2, r5, 0
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r1, [r4, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -661,7 +661,7 @@ _08119668:
movs r0, 0x6
b _08119676
_0811966E:
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x2
strb r0, [r1, 0x2]
movs r0, 0x7
@ -693,7 +693,7 @@ CheckMovementInputAcroBikeMovingWheelie: @ 8119688
lsls r0, 24
lsrs r5, r0, 24
adds r2, r5, 0
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r1, [r4, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -732,7 +732,7 @@ _081196F6:
movs r0, 0x4
b _08119750
_081196FC:
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x2
strb r0, [r1, 0x2]
movs r0, 0xC
@ -770,7 +770,7 @@ _08119736:
movs r0, 0x5
b _08119750
_08119748:
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x2
strb r0, [r1, 0x2]
movs r0, 0xA
@ -797,7 +797,7 @@ CheckMovementInputAcroBikeUnknownMode5: @ 8119764
lsrs r4, 16
lsls r5, 16
lsrs r5, 16
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r1, [r6, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -836,7 +836,7 @@ CheckMovementInputAcroBikeUnknownMode6: @ 81197C0
lsrs r1, 16
lsls r2, 16
lsrs r2, 16
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
movs r3, 0
strb r3, [r4, 0x8]
bl CheckMovementInputAcroBike
@ -863,7 +863,7 @@ sub_81197F4: @ 81197F4
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -893,7 +893,7 @@ sub_8119830: @ 8119830
lsls r0, 24
lsrs r5, r0, 24
adds r6, r5, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -961,7 +961,7 @@ sub_81198C0: @ 81198C0
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -990,7 +990,7 @@ sub_81198FC: @ 81198FC
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1019,7 +1019,7 @@ sub_8119938: @ 8119938
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1048,7 +1048,7 @@ sub_8119974: @ 8119974
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1077,7 +1077,7 @@ sub_81199B0: @ 81199B0
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1156,7 +1156,7 @@ _08119A50:
bl sub_81197F4
b _08119A84
_08119A58:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -1198,7 +1198,7 @@ sub_8119AA4: @ 8119AA4
lsls r0, 24
lsrs r4, r0, 24
adds r6, r4, 0
ldr r7, =gUnknown_02037590
ldr r7, =gPlayerAvatar
ldrb r1, [r7, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1267,7 +1267,7 @@ sub_8119B34: @ 8119B34
lsls r0, 24
lsrs r4, r0, 24
adds r6, r4, 0
ldr r7, =gUnknown_02037590
ldr r7, =gPlayerAvatar
ldrb r1, [r7, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1336,7 +1336,7 @@ sub_8119BC4: @ 8119BC4
lsls r0, 24
lsrs r4, r0, 24
adds r6, r4, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1396,7 +1396,7 @@ sub_8119C3C: @ 8119C3C
lsrs r3, r0, 16
lsls r1, 16
lsrs r2, r1, 16
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x4
ands r0, r1
@ -1421,7 +1421,7 @@ sub_8119C64: @ 8119C64
bl sub_8119DF8
lsls r0, 24
lsrs r2, r0, 24
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldr r0, [r4, 0xC]
movs r1, 0xF
ands r0, r1
@ -1443,7 +1443,7 @@ _08119C9A:
movs r0, 0xF
adds r2, r5, 0
ands r2, r0
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldr r0, [r4, 0x10]
movs r1, 0xF
ands r0, r1
@ -1532,7 +1532,7 @@ sub_8119D30: @ 8119D30
_08119D36:
ldr r0, =gUnknown_085974C0
adds r4, r5, r0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldr r1, [r0, 0xC]
ldr r2, [r0, 0x10]
ldr r0, [r4, 0x8]
@ -1570,7 +1570,7 @@ _08119D7A:
sub_8119D80: @ 8119D80
push {r4,lr}
lsls r0, 24
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldr r2, [r3, 0xC]
lsls r2, 4
movs r1, 0xF0
@ -1604,7 +1604,7 @@ _08119D9C:
sub_8119DBC: @ 8119DBC
push {r4,lr}
lsls r0, 24
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldr r2, [r3, 0x10]
lsls r2, 4
movs r1, 0xF0
@ -1681,7 +1681,7 @@ sub_8119E38: @ 8119E38
adds r6, r0, 0
lsls r6, 24
lsrs r6, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -1922,7 +1922,7 @@ _08119FF2:
sub_8119FF8: @ 8119FF8
push {r4,lr}
sub sp, 0x4
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x18
ands r0, r1
@ -1966,7 +1966,7 @@ player_should_look_direction_be_enforced_upon_movement: @ 811A044
cmp r0, 0
beq _0811A078
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1996,7 +1996,7 @@ GetOnOffBike: @ 811A080
ldr r1, =gUnknown_02037348
movs r0, 0
strb r0, [r1]
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x6
ands r0, r1
@ -2026,7 +2026,7 @@ _0811A0C4:
thumb_func_start sub_811A0D0
sub_811A0D0: @ 811A0D0
push {lr}
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
movs r3, 0
strb r3, [r2, 0x8]
strb r3, [r2, 0x9]
@ -2064,7 +2064,7 @@ _0811A0FA:
sub_811A114: @ 811A114
lsls r0, 24
lsrs r0, 24
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
strb r0, [r2, 0xA]
lsrs r1, r0, 1
adds r0, r1
@ -2075,7 +2075,7 @@ sub_811A114: @ 811A114
thumb_func_start sub_811A128
sub_811A128: @ 811A128
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0xA]
strb r0, [r1, 0xB]
@ -2091,7 +2091,7 @@ sub_811A138: @ 811A138
mov r0, sp
movs r2, 0x6
bl memcpy
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2]
movs r0, 0x2
ands r0, r1
@ -2130,7 +2130,7 @@ _0811A182:
sub_811A188: @ 811A188
push {r4,r5,lr}
sub sp, 0x4
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r1, [r5]
movs r0, 0x4
ands r0, r1

View File

@ -271,7 +271,7 @@ _0817982E:
sub_8179834: @ 8179834
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -367,7 +367,7 @@ _08179912:
sub_8179918: @ 8179918
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]

View File

@ -55,7 +55,7 @@ sub_80B23B0: @ 80B23B0
movs r1, 0
bl SetStandardWindowBorderStyle
ldr r5, =gStringVar4
ldr r1, =gUnknown_085EE667
ldr r1, =gText_XPLink
adds r0, r5, 0
bl StringExpandPlaceholders
movs r0, 0x1

View File

@ -33,7 +33,7 @@ sub_817ACE4: @ 817ACE4
movs r2, 0x2
movs r3, 0xE
bl SetWindowBorderStyle
ldr r2, =gUnknown_085EFA8F
ldr r2, =gText_ClearAllSaveData
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -87,7 +87,7 @@ _0817AD68:
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EFAAA
ldr r2, =gText_ClearingData
movs r0, 0x1
str r0, [sp]
str r4, [sp, 0x4]

View File

@ -1579,7 +1579,7 @@ _080D84B8:
cmp r0, 0
beq _080D853C
add r0, sp, 0x4
ldr r1, =gUnknown_085ED1A0
ldr r1, =gText_ColorLightShadowDarkGrey
b _080D8566
.pool
_080D853C:
@ -1603,7 +1603,7 @@ _080D853C:
cmp r0, 0x3
beq _080D856C
add r0, sp, 0x4
ldr r1, =gUnknown_085ED1A7
ldr r1, =gText_ColorBlue
_080D8566:
bl StringCopy
adds r5, r0, 0
@ -6407,7 +6407,7 @@ sub_80DAED4: @ 80DAED4
lsls r4, r1, 24
lsrs r4, 24
ldr r0, =gDisplayedStringBattle
ldr r1, =gUnknown_085ED1AB
ldr r1, =gText_ColorTransparent
bl StringCopy
adds r1, r0, 0
subs r0, r1, 0x1
@ -15507,7 +15507,7 @@ _080DF784:
mov r9, r0
_080DF7AE:
add r0, sp, 0x4
ldr r1, =gUnknown_085ED1B2
ldr r1, =gText_CDot
bl StringCopy
adds r5, r0, 0
ldr r0, =gUnknown_02039F26
@ -15604,7 +15604,7 @@ _080DF874:
mov r10, r1
_080DF884:
add r0, sp, 0x4
ldr r1, =gUnknown_085ED1B5
ldr r1, =gText_BDot
bl StringCopy
ldr r0, =gUnknown_02039F34
ldr r0, [r0]

View File

@ -283,7 +283,7 @@ sub_80F5A74: @ 80F5A74
ldrb r0, [r0]
cmp r5, r0
bne _080F5A96
ldr r1, =gUnknown_085ED21E
ldr r1, =gText_ColorDarkGrey
adds r0, r6, 0
bl StringCopy
adds r6, r0, 0
@ -655,7 +655,7 @@ _080F5E2E:
ands r0, r1
cmp r0, 0
beq _080F5E78
ldr r0, =gUnknown_085ED207
ldr r0, =gText_CommunicationStandby
bl sub_80F707C
ldr r0, =sub_80F5ED8
b _080F5EB8
@ -784,7 +784,7 @@ sub_80F5F74: @ 80F5F74
ldr r0, =sub_80F68F0
movs r1, 0x14
bl CreateTask
ldr r0, =gUnknown_085ED1B8
ldr r0, =gText_AnnouncingResults
ldr r1, =gUnknown_0203A034
ldr r1, [r1]
ldr r1, [r1]
@ -828,7 +828,7 @@ _080F5FF0:
_080F5FF8:
cmp r0, 0x3
bne _080F6030
ldr r0, =gUnknown_085ED1D0
ldr r0, =gText_PreliminaryResults
ldr r1, =gUnknown_0203A034
ldr r1, [r1]
ldr r1, [r1]
@ -970,7 +970,7 @@ sub_80F60F0: @ 80F60F0
cmp r0, 0x15
bne _080F615E
strh r3, [r1, 0xA]
ldr r0, =gUnknown_085ED1E9
ldr r0, =gText_Round2Results
ldr r1, [r5]
ldrb r1, [r1]
bl sub_80F6B78
@ -1265,7 +1265,7 @@ _080F636E:
adds r4, r1
adds r1, r4, 0
bl StringCopy
ldr r1, =gUnknown_085ED1FA
ldr r1, =gText_Var1sVar2Won
mov r0, sp
bl StringExpandPlaceholders
ldr r0, =gUnknown_0203A034
@ -1679,7 +1679,7 @@ sub_80F671C: @ 80F671C
ldrsh r0, [r4, r1]
cmp r0, 0
bne _080F676E
ldr r0, =gUnknown_085ED207
ldr r0, =gText_CommunicationStandby
bl sub_80F707C
bl sub_800AC34
ldr r0, =sub_80F677C

View File

@ -18,17 +18,65 @@ Start: @ 8000000
.global GPIOPortData
GPIOPortData: @ 80000C4
.hword 0
.2byte 0
.global GPIOPortDirection
GPIOPortDirection: @ 80000C6
.hword 0
.2byte 0
.global GPIOPortReadEnable
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
.align 2, 0

View File

@ -2800,7 +2800,7 @@ _08070FCC:
adds r0, r7, 0
mov r1, sp
bl StringCopy
ldr r4, =gUnknown_085EF881
ldr r4, =gText_NewLine2
adds r0, r7, 0
adds r1, r4, 0
bl StringAppend
@ -2810,7 +2810,7 @@ _08070FCC:
adds r0, r7, 0
adds r1, r4, 0
bl StringAppend
ldr r1, =gUnknown_085EF883
ldr r1, =gText_Exit4
adds r0, r7, 0
bl StringAppend
add sp, 0x28
@ -2834,7 +2834,7 @@ sub_8071038: @ 8071038
movs r5, 0
_08071046:
adds r0, r4, 0
ldr r1, =gUnknown_085EF888
ldr r1, =gText_Lv
bl StringAppend
movs r0, 0x8C
adds r2, r5, 0
@ -2856,7 +2856,7 @@ _08071046:
mov r1, sp
bl StringAppend
adds r0, r4, 0
ldr r1, =gUnknown_085EF881
ldr r1, =gText_NewLine2
bl StringAppend
adds r0, r5, 0x1
lsls r0, 24
@ -2971,7 +2971,7 @@ sub_8071148: @ 8071148
mov r8, r3
lsls r5, 24
lsrs r5, 24
ldr r1, =gUnknown_085EF888
ldr r1, =gText_Lv
mov r0, sp
bl StringCopy
movs r0, 0x8C

View File

@ -336,7 +336,7 @@ sub_8126C48: @ 8126C48
cmp r0, 0
bne _08126C7C
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA83D
ldr r1, =gText_NoDecorations
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8126DA4
@ -376,7 +376,7 @@ sub_8126CA4: @ 8126CA4
cmp r0, 0
bne _08126CD8
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EAAEC
ldr r1, =gText_NoDecorationsInUse
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8126DA4
@ -420,7 +420,7 @@ sub_8126D10: @ 8126D10
cmp r0, 0
bne _08126D44
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA83D
ldr r1, =gText_NoDecorations
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8126DA4
@ -656,7 +656,7 @@ _08126F0C:
ldr r2, =gText_Cancel
cmp r0, 0x2
bne _08126F2C
ldr r2, =gUnknown_085EB7EA
ldr r2, =gText_Exit
_08126F2C:
lsls r0, r4, 4
adds r0, 0x1
@ -798,7 +798,7 @@ sub_8127058: @ 8127058
adds r5, r0, 0
lsls r4, r1, 24
lsrs r4, 24
ldr r1, =gUnknown_085EA7C8
ldr r1, =gText_Color161Shadow161
bl StringCopy
cmp r4, 0x1
bne _08127078
@ -909,7 +909,7 @@ _08127154:
movs r0, 0x1
bl sub_8126A58
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA83D
ldr r1, =gText_NoDecorations
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8127180
@ -2637,7 +2637,7 @@ sub_8127F68: @ 8127F68
cmp r0, 0x7
beq _08127FAC
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA9AE
ldr r1, =gText_CantPlaceInRoom
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8127A5C
@ -2682,13 +2682,13 @@ _08127FE8:
cmp r0, 0
bne _08128018
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA8EA
ldr r1, =gText_NoMoreDecorations
bl StringExpandPlaceholders
b _08128020
.pool
_08128018:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA931
ldr r1, =gText_NoMoreDecorations2
bl StringExpandPlaceholders
_08128020:
ldr r1, =gStringVar4
@ -2699,7 +2699,7 @@ _08128020:
.pool
_08128038:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA8D2
ldr r1, =gText_InUseAlready
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8127A5C
@ -3169,7 +3169,7 @@ sub_8128414: @ 8128414
strh r2, [r0, 0x3C]
bl sub_8128DE0
ldr r5, =gStringVar4
ldr r1, =gUnknown_085EA8BF
ldr r1, =gText_CancelDecorating
adds r0, r5, 0
bl StringExpandPlaceholders
ldr r2, =sub_8128B80
@ -3835,7 +3835,7 @@ sub_8128950: @ 8128950
cmp r0, 0x1
bne _081289A4
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA897
ldr r1, =gText_PlaceItHere
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_81289D0
@ -3848,7 +3848,7 @@ _081289A4:
movs r0, 0x20
bl PlaySE
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA8A6
ldr r1, =gText_CantBePlacedHere
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8129020
@ -5810,7 +5810,7 @@ _08129968:
cmp r0, 0x1
bne _08129994
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EAAC5
ldr r1, =gText_DecorationReturnedToPC
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8129D64
@ -6137,7 +6137,7 @@ sub_8129BF8: @ 8129BF8
ldr r1, =SpriteCallbackDummy
str r1, [r0]
ldr r5, =gStringVar4
ldr r1, =gUnknown_085EAA62
ldr r1, =gText_StopPuttingAwayDecorations
adds r0, r5, 0
bl StringExpandPlaceholders
ldr r2, =sub_812A1F0
@ -6162,7 +6162,7 @@ sub_8129C74: @ 8129C74
cmp r0, 0
beq _08129CA8
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EAAA3
ldr r1, =gText_ReturnDecorationToPC
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_812A1A0
@ -6216,7 +6216,7 @@ _08129CDE:
ldr r1, =SpriteCallbackDummy
str r1, [r0]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EAA62
ldr r1, =gText_StopPuttingAwayDecorations
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_812A1F0
@ -6228,7 +6228,7 @@ _08129D14:
.pool
_08129D3C:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EAA81
ldr r1, =gText_NoDecorationHere
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8129D64
@ -7087,7 +7087,7 @@ sub_812A3D4: @ 812A3D4
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EAA14
ldr r1, =gText_DecorationWillBeDiscarded
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_812A458
@ -7098,7 +7098,7 @@ sub_812A3D4: @ 812A3D4
.pool
_0812A430:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA9E0
ldr r1, =gText_CantThrowAwayInUse
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_8127A5C
@ -7151,7 +7151,7 @@ sub_812A478: @ 812A478
adds r0, r4, 0
bl sub_8127814
ldr r5, =gStringVar4
ldr r1, =gUnknown_085EAA3D
ldr r1, =gText_DecorationThrownAway
adds r0, r5, 0
bl StringExpandPlaceholders
ldr r2, =sub_8127A5C

View File

@ -262,7 +262,7 @@ pokedex_diploma_something: @ 8177AD4
movs r0, 0x14
bl SetGpuReg
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EE855
ldr r1, =gText_DexNational
bl StringCopy
b _08177B0C
.pool
@ -271,11 +271,11 @@ _08177AFC:
movs r1, 0
bl SetGpuReg
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EE84F
ldr r1, =gText_DexHoenn
bl StringCopy
_08177B0C:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE85E
ldr r1, =gText_PokedexDiploma
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0

View File

@ -3296,7 +3296,7 @@ sub_811BB40: @ 811BB40
ldrb r0, [r0]
cmp r0, 0x4
bne _0811BB5C
ldr r0, =gUnknown_085EC3B4
ldr r0, =gText_StopGivingPkmnMail
b _0811BB7A
.pool
_0811BB5C:
@ -3306,13 +3306,13 @@ _0811BB5C:
bgt _0811BB78
cmp r0, 0xF
blt _0811BB78
ldr r0, =gUnknown_085EC706
ldr r0, =gText_LikeToQuitQuiz
str r0, [r2]
ldr r0, =gUnknown_085EC727
ldr r0, =gText_ChallengeQuestionMark
b _0811BB7E
.pool
_0811BB78:
ldr r0, =gUnknown_085EC3A6
ldr r0, =gText_QuitEditing
_0811BB7A:
str r0, [r2]
movs r0, 0
@ -3325,9 +3325,9 @@ _0811BB7E:
thumb_func_start sub_811BB88
sub_811BB88: @ 811BB88
ldr r2, =gUnknown_085EC410
ldr r2, =gText_AllTextBeingEditedWill
str r2, [r0]
ldr r0, =gUnknown_085EC42F
ldr r0, =gText_BeDeletedThatOkay
str r0, [r1]
bx lr
.pool
@ -3711,11 +3711,11 @@ sub_811BDF0: @ 811BDF0
b _0811BE3C
.pool
_0811BE34:
ldr r1, =gUnknown_085EC6B2
ldr r1, =gText_Lady
movs r0, 0
bl sub_81AFC0C
_0811BE3C:
ldr r1, =gUnknown_085EC6A8
ldr r1, =gText_F700sQuiz
adds r0, r6, 0
bl sub_81AFC28
add sp, 0x20
@ -6054,35 +6054,35 @@ _0811D16A:
bl sub_811BB88
b _0811D1BC
_0811D174:
ldr r0, =gUnknown_085EC743
ldr r0, =gText_CreateAQuiz
str r0, [sp, 0xC]
b _0811D1BC
.pool
_0811D180:
ldr r0, =gUnknown_085EC752
ldr r0, =gText_SelectTheAnswer
str r0, [sp, 0xC]
b _0811D1BC
.pool
_0811D18C:
ldr r0, =gUnknown_085EC4C9
ldr r0, =gText_OnlyOnePhrase
str r0, [sp, 0xC]
ldr r0, =gUnknown_085EC4E9
ldr r0, =gText_OriginalSongWillBeUsed
b _0811D1BA
.pool
_0811D19C:
ldr r0, =gUnknown_085EC765
ldr r0, =gText_LyricsCantBeDeleted
str r0, [sp, 0xC]
b _0811D1BC
.pool
_0811D1A8:
ldr r0, =gUnknown_085EC520
ldr r0, =gText_CombineTwoWordsOrPhrases
str r0, [sp, 0xC]
b _0811D1BC
.pool
_0811D1B4:
ldr r0, =gUnknown_085EC672
ldr r0, =gText_YouCannotQuitHere
str r0, [sp, 0xC]
ldr r0, =gUnknown_085EC688
ldr r0, =gText_SectionMustBeCompleted
_0811D1BA:
str r0, [sp, 0x10]
_0811D1BC:
@ -9442,7 +9442,7 @@ CopyEasyChatWord: @ 811EBBC
lsls r0, 24
cmp r0, 0
beq _0811EBD8
ldr r1, =gUnknown_085EEA42
ldr r1, =gText_ThreeQuestionMarks
b _0811EBEA
.pool
_0811EBD8:
@ -9693,7 +9693,7 @@ _0811ED94:
b _0811EDB2
.pool
_0811EDB0:
ldr r0, =gUnknown_085EEA42
ldr r0, =gText_ThreeQuestionMarks
_0811EDB2:
bl StringLength
lsls r0, 16

View File

@ -1333,7 +1333,7 @@ _0813E6D4:
bl _0813F1A4
_0813E6E4:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085CC990
ldr r1, =gText_PkmnIsEvolving
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -1621,7 +1621,7 @@ _0813E990:
bl _0813F1A4
_0813E99E:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085CC9A6
ldr r1, =gText_CongratsPkmnEvolved
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -1857,13 +1857,13 @@ _0813EBB8:
cmp r0, 0
beq _0813EBE4
ldr r0, =gStringVar4
ldr r1, =gUnknown_085CC9EE
ldr r1, =gText_EllipsisQuestionMark
bl StringExpandPlaceholders
b _0813EBEC
.pool
_0813EBE4:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085CC9D3
ldr r1, =gText_PkmnStoppedEvolving
bl StringExpandPlaceholders
_0813EBEC:
ldr r0, =gStringVar4
@ -1895,7 +1895,7 @@ _0813EC2A:
bl sub_804F574
ldr r0, =0x0000016f
bl PlayFanfare
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0xC]
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -1992,7 +1992,7 @@ _0813ED0A:
b _0813F1A4
_0813ED16:
bl sub_804F574
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x10]
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -2021,7 +2021,7 @@ _0813ED56:
beq _0813ED62
b _0813F1A4
_0813ED62:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x14]
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -2046,7 +2046,7 @@ _0813ED90:
lsls r0, 24
cmp r0, 0
bne _0813EDCE
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x18]
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -2085,7 +2085,7 @@ _0813EDEA:
movs r2, 0x1D
movs r3, 0xD
bl sub_8056A3C
ldr r0, =gUnknown_085CCABB
ldr r0, =gText_BattleYesNoChoice
movs r1, 0xC
bl battle_show_message_maybe
ldr r0, =gTasks
@ -2285,7 +2285,7 @@ _0813EFC8:
bl IsHMMove2
cmp r0, 0
beq _0813F014
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r3, =0x000004cc
adds r0, r3
ldr r0, [r0]
@ -2333,7 +2333,7 @@ _0813F014:
b _0813F1A2
.pool
_0813F05C:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
movs r1, 0xCF
lsls r1, 2
adds r0, r1
@ -2365,7 +2365,7 @@ _0813F09E:
beq _0813F0AA
b _0813F1A4
_0813F0AA:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x1C]
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -2390,7 +2390,7 @@ _0813F0D8:
lsls r0, 24
cmp r0, 0
bne _0813F1A4
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
movs r1, 0xD0
lsls r1, 2
adds r0, r1
@ -2409,7 +2409,7 @@ _0813F0D8:
b _0813F1A4
.pool
_0813F120:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x20]
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -2429,7 +2429,7 @@ _0813F120:
b _0813F1A4
.pool
_0813F154:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x24]
bl StrCpyDecodeToDisplayedStringBattle
ldr r0, =gDisplayedStringBattle
@ -2533,7 +2533,7 @@ _0813F204:
.4byte _0813F7E4
_0813F258:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085CC990
ldr r1, =gText_PkmnIsEvolving
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -2804,7 +2804,7 @@ _0813F4E4:
bl _0813FCC4
_0813F4F2:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085CC9A6
ldr r1, =gText_CongratsPkmnEvolved
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -2913,7 +2913,7 @@ _0813F5F0:
_0813F5FC:
ldr r0, =0x00000179
bl PlayBGM
ldr r1, =gUnknown_085EF6D2
ldr r1, =gText_CommunicationStandby5
movs r0, 0
movs r2, 0x1
bl sub_807F1A8
@ -3029,7 +3029,7 @@ _0813F704:
b _0813FCC4
_0813F714:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085CC9EE
ldr r1, =gText_EllipsisQuestionMark
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -3062,7 +3062,7 @@ _0813F762:
bl sub_804F574
ldr r0, =0x0000016f
bl PlayFanfare
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0xC]
bl StrCpyDecodeToDisplayedStringBattle
ldr r1, =gDisplayedStringBattle
@ -3161,7 +3161,7 @@ _0813F846:
b _0813FCC4
_0813F852:
bl sub_804F574
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x10]
bl StrCpyDecodeToDisplayedStringBattle
ldr r1, =gDisplayedStringBattle
@ -3191,7 +3191,7 @@ _0813F892:
beq _0813F89E
b _0813FCC4
_0813F89E:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x14]
bl StrCpyDecodeToDisplayedStringBattle
ldr r1, =gDisplayedStringBattle
@ -3217,7 +3217,7 @@ _0813F8CC:
lsls r0, 24
cmp r0, 0
bne _0813F90C
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x18]
bl StrCpyDecodeToDisplayedStringBattle
ldr r1, =gDisplayedStringBattle
@ -3294,7 +3294,7 @@ _0813F986:
_0813F98C:
ldr r0, =gBattleCommunication
strb r6, [r0, 0x1]
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
movs r1, 0x92
lsls r1, 3
adds r0, r1
@ -3331,7 +3331,7 @@ _0813F9E4:
ldr r1, =gBattleCommunication
movs r0, 0x1
strb r0, [r1, 0x1]
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
movs r1, 0x92
lsls r1, 3
adds r0, r1
@ -3437,7 +3437,7 @@ _0813FAEC:
bl IsHMMove2
cmp r0, 0
beq _0813FB3C
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r1, =0x000004cc
adds r0, r1
ldr r0, [r0]
@ -3476,7 +3476,7 @@ _0813FB3C:
mov r0, r9
adds r2, r4, 0
bl SetMonMoveSlot
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
movs r1, 0xCF
lsls r1, 2
adds r0, r1
@ -3509,7 +3509,7 @@ _0813FBB2:
beq _0813FBBE
b _0813FCC4
_0813FBBE:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x1C]
bl StrCpyDecodeToDisplayedStringBattle
ldr r1, =gDisplayedStringBattle
@ -3535,7 +3535,7 @@ _0813FBEC:
lsls r0, 24
cmp r0, 0
bne _0813FCC4
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
movs r1, 0xD0
lsls r1, 2
adds r0, r1
@ -3555,7 +3555,7 @@ _0813FBEC:
b _0813FCC4
.pool
_0813FC38:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x20]
bl StrCpyDecodeToDisplayedStringBattle
ldr r1, =gDisplayedStringBattle
@ -3576,7 +3576,7 @@ _0813FC38:
b _0813FCC4
.pool
_0813FC70:
ldr r0, =gUnknown_085CC270
ldr r0, =gBattleStringsTable
ldr r0, [r0, 0x24]
bl StrCpyDecodeToDisplayedStringBattle
ldr r1, =gDisplayedStringBattle

View File

@ -1082,7 +1082,7 @@ CameraPanningCB_PanAhead: @ 808A360
b _0808A3FC
.pool
_0808A374:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x3]
cmp r0, 0x1
bne _0808A394

View File

@ -44,7 +44,7 @@ process_overworld_input: @ 809BF08
lsls r2, 16
lsrs r2, 16
mov r8, r2
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r6, [r0, 0x3]
ldrb r0, [r0, 0x2]
mov r9, r0
@ -567,7 +567,7 @@ _0809C32E:
.pool
_0809C33C:
movs r4, 0
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
_0809C340:
ldrb r0, [r1]
cmp r0, 0x1
@ -1368,7 +1368,7 @@ _0809CA04:
bl sub_80B215C
bl AdjustFriendship_step
bl sub_81D4998
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x40
ands r0, r1

View File

@ -1989,7 +1989,7 @@ task00_8084310: @ 80B6A24
cmp r0, 0
beq _080B6A8A
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -2033,7 +2033,7 @@ mapldr_08084390: @ 80B6AA4
movs r1, 0
bl CreateTask
ldr r4, =gMapObjects
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r1, [r3, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2163,7 +2163,7 @@ sub_80B6BCC: @ 80B6BCC
mov r5, r8
push {r5,r6}
mov r9, r0
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r0, [r6, 0x5]
lsls r5, r0, 3
adds r5, r0
@ -2256,7 +2256,7 @@ _080B6C88:
sub_80B6C90: @ 80B6C90
push {r4-r6,lr}
adds r5, r0, 0
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r0, [r6, 0x4]
lsls r2, r0, 4
adds r2, r0
@ -2309,7 +2309,7 @@ sub_80B6C90: @ 80B6C90
sub_80B6D04: @ 80B6D04
push {r4-r6,lr}
adds r4, r0, 0
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2454,7 +2454,7 @@ _080B6E0E:
thumb_func_start sub_80B6E18
sub_80B6E18: @ 80B6E18
push {lr}
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0x6]
bl ScriptContext2_Disable
@ -2551,7 +2551,7 @@ sub_80B6EC0: @ 80B6EC0
sub_80B6EE0: @ 80B6EE0
push {r4,r5,lr}
adds r5, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2664,7 +2664,7 @@ sub_80B6FA8: @ 80B6FA8
sub_80B6FB8: @ 80B6FB8
push {r4,r5,lr}
adds r5, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r4, r0, 4
adds r4, r0
@ -2702,7 +2702,7 @@ _080B6FF6:
sub_80B7004: @ 80B7004
push {r4,r5,lr}
adds r5, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r4, r0, 4
adds r4, r0
@ -2828,7 +2828,7 @@ sub_80B7114: @ 80B7114
sub sp, 0x4
adds r5, r0, 0
bl CameraObjectReset2
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -2883,7 +2883,7 @@ _080B717E:
sub_80B7190: @ 80B7190
push {r4,r5,lr}
adds r5, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r4, r0, 4
adds r4, r0
@ -2914,7 +2914,7 @@ sub_80B7190: @ 80B7190
sub_80B71D0: @ 80B71D0
push {r4,r5,lr}
adds r4, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x4]
lsls r0, r1, 4
adds r0, r1
@ -2962,7 +2962,7 @@ _080B721E:
sub_80B7230: @ 80B7230
push {r4,r5,lr}
adds r5, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r4, r0, 4
adds r4, r0
@ -2993,7 +2993,7 @@ sub_80B7230: @ 80B7230
sub_80B7270: @ 80B7270
push {r4,r5,lr}
adds r4, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x4]
lsls r0, r1, 4
adds r0, r1
@ -3063,7 +3063,7 @@ _080B72EE:
thumb_func_start sub_80B72F4
sub_80B72F4: @ 80B72F4
push {r4,lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -3111,7 +3111,7 @@ oei_waterfall: @ 80B734C
adds r1, r0
lsls r1, 3
adds r1, r2
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
ldr r2, [r2]
strh r2, [r1, 0xA]
bl _call_via_r4
@ -3138,7 +3138,7 @@ _080B7396:
ldrsh r2, [r4, r0]
lsls r2, 2
adds r2, r5
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r1, r0, 3
adds r1, r0
@ -3162,7 +3162,7 @@ sub_80B73D0: @ 80B73D0
push {r4,lr}
adds r4, r0, 0
bl ScriptContext2_Enable
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x1
strb r0, [r1, 0x6]
ldrh r0, [r4, 0x8]
@ -3188,7 +3188,7 @@ waterfall_1_do_anim_probably: @ 80B73F0
bne _080B7420
adds r0, r5, 0
bl FieldObjectClearAnimIfSpecialAnimFinished
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0xA
ldrsh r0, [r4, r2]
str r0, [r1]
@ -3268,7 +3268,7 @@ _080B748E:
cmp r4, 0
bne _080B74C4
bl ScriptContext2_Disable
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
strb r4, [r0, 0x6]
ldr r0, =sub_80B7384
bl FindTaskIdByFunc
@ -3304,7 +3304,7 @@ sub_80B74D0: @ 80B74D0
adds r1, r0
lsls r1, 3
adds r1, r2
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
ldr r2, [r3]
strh r2, [r1, 0x26]
ldr r2, [r3, 0x4]
@ -3347,7 +3347,7 @@ _080B751E:
thumb_func_start dive_1_lock
dive_1_lock: @ 80B7544
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
movs r1, 0x1
strb r1, [r2, 0x6]
ldrh r1, [r0, 0x8]
@ -3363,7 +3363,7 @@ dive_2_unknown: @ 80B7558
push {r4,lr}
adds r4, r0, 0
bl ScriptContext2_Enable
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0x26
ldrsh r0, [r4, r2]
str r0, [r1]
@ -3393,7 +3393,7 @@ dive_3_unknown: @ 80B7580
cmp r0, 0
bne _080B75C4
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -3437,7 +3437,7 @@ sub_80B75F0: @ 80B75F0
lsrs r0, 24
ldr r6, =gUnknown_0855C438
ldr r2, =gTasks
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
lsls r1, r0, 2
adds r1, r0
lsls r1, 3
@ -3480,7 +3480,7 @@ sub_80B764C: @ 80B764C
bl CameraObjectReset2
movs r0, 0
bl SetCameraPanningCallback
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
movs r2, 0x1
strb r2, [r0, 0x6]
ldrb r0, [r5, 0x3]
@ -3536,7 +3536,7 @@ sub_80B76B8: @ 80B76B8
strh r0, [r2, 0x26]
movs r0, 0x1
strh r0, [r4, 0xE]
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r5, 0x10
ldrsh r0, [r1, r5]
str r0, [r3]
@ -3767,7 +3767,7 @@ sub_80B7890: @ 80B7890
lsrs r0, 24
ldr r6, =gUnknown_0855C450
ldr r2, =gTasks
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
lsls r1, r0, 2
adds r1, r0
lsls r1, 3
@ -3808,7 +3808,7 @@ sub_80B78EC: @ 80B78EC
adds r4, r1, 0
bl CameraObjectReset2
bl player_bitmagic
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x1
strb r0, [r1, 0x6]
ldrb r0, [r4, 0x1]
@ -3835,7 +3835,7 @@ sub_80B791C: @ 80B791C
lsls r0, 24
cmp r0, 0
beq _080B795C
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r0, [r5, r2]
str r0, [r1]
@ -3915,7 +3915,7 @@ sub_80B79BC: @ 80B79BC
lsls r0, 24
cmp r0, 0
beq _080B79E6
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0x6]
bl ScriptContext2_Disable
@ -3935,7 +3935,7 @@ _080B79E6:
thumb_func_start sub_80B79F4
sub_80B79F4: @ 80B79F4
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -4016,7 +4016,7 @@ sub_80B7A8C: @ 80B7A8C
lsrs r0, 24
ldr r6, =gUnknown_0855C460
ldr r2, =gTasks
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
lsls r1, r0, 2
adds r1, r0
lsls r1, 3
@ -4057,7 +4057,7 @@ sub_80B7AE8: @ 80B7AE8
adds r4, r1, 0
bl player_bitmagic
bl CameraObjectReset2
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x1
strb r0, [r1, 0x6]
ldrb r0, [r4, 0x3]
@ -4090,7 +4090,7 @@ sub_80B7B18: @ 80B7B18
ldrsh r0, [r5, r2]
cmp r0, 0x3
ble _080B7B6C
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r0, [r4, r2]
str r0, [r1]
@ -4222,7 +4222,7 @@ _080B7C2C:
thumb_func_start sub_80B7C48
sub_80B7C48: @ 80B7C48
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -4359,7 +4359,7 @@ sub_80B7D34: @ 80B7D34
bl music_something
bl sub_80AF0B4
_080B7D60:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4466,7 +4466,7 @@ mapldr_080859D4: @ 80B7E48
movs r0, 0
str r0, [r1]
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4537,7 +4537,7 @@ sub_80B7EE8: @ 80B7EE8
mov r0, sp
movs r2, 0x5
bl memcpy
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4695,7 +4695,7 @@ sub_80B8034: @ 80B8034
mov r0, sp
movs r2, 0x5
bl memcpy
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4765,7 +4765,7 @@ sub_80B80C4: @ 80B80C4
mov r0, sp
movs r2, 0x5
bl memcpy
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4911,7 +4911,7 @@ mapldr_08085D88: @ 80B8200
movs r0, 0
str r0, [r1]
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4961,7 +4961,7 @@ sub_80B8280: @ 80B8280
lsls r0, 24
cmp r0, 0
beq _080B82F6
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r0, [r5, 0x4]
lsls r2, r0, 4
adds r2, r0
@ -5027,7 +5027,7 @@ sub_80B830C: @ 80B830C
mov r0, sp
movs r2, 0x5
bl memcpy
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -5156,7 +5156,7 @@ sub_80B8410: @ 80B8410
mov r0, sp
movs r2, 0x5
bl memcpy
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -5229,7 +5229,7 @@ _080B84BE:
bl CreateTask
lsls r0, 24
lsrs r4, r0, 24
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
ldr r0, [r2]
ldr r1, [r2, 0x4]
ldr r2, [r2, 0x8]
@ -5252,7 +5252,7 @@ _080B84BE:
thumb_func_start sub_80B84F8
sub_80B84F8: @ 80B84F8
push {r4-r6,lr}
ldr r5, =gUnknown_02038C08
ldr r5, =gFieldEffectSpawnParams
ldr r0, [r5]
movs r6, 0x80
lsls r6, 24
@ -6292,7 +6292,7 @@ sub_80B8D44: @ 80B8D44
adds r1, r0
lsls r1, 3
adds r1, r2
ldr r0, =gUnknown_02038C08
ldr r0, =gFieldEffectSpawnParams
ldr r0, [r0]
strh r0, [r1, 0x26]
bl sav1_reset_battle_music_maybe
@ -6335,7 +6335,7 @@ sub_80B8DB4: @ 80B8DB4
adds r4, r0, 0
bl ScriptContext2_Enable
bl player_bitmagic
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
movs r0, 0x1
strb r0, [r5, 0x6]
movs r0, 0x8
@ -6374,7 +6374,7 @@ sub_80B8DB4: @ 80B8DB4
sub_80B8E14: @ 80B8E14
push {r4,r5,lr}
adds r5, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -6410,7 +6410,7 @@ _080B8E50:
sub_80B8E60: @ 80B8E60
push {r4,lr}
adds r4, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -6421,7 +6421,7 @@ sub_80B8E60: @ 80B8E60
lsls r0, 24
cmp r0, 0
beq _080B8E96
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
movs r1, 0x26
ldrsh r0, [r4, r1]
movs r1, 0x80
@ -6449,7 +6449,7 @@ sub_80B8EA8: @ 80B8EA8
lsls r0, 24
cmp r0, 0
bne _080B8F12
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r0, [r5, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -6473,7 +6473,7 @@ sub_80B8EA8: @ 80B8EA8
lsrs r1, 24
adds r0, r4, 0
bl FieldObjectSetSpecialAnim
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0xA
ldrsh r0, [r6, r2]
str r0, [r1]
@ -6498,7 +6498,7 @@ _080B8F12:
thumb_func_start sub_80B8F24
sub_80B8F24: @ 80B8F24
push {r4,r5,lr}
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r1, [r5, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -6704,7 +6704,7 @@ sub_80B90CC: @ 80B90CC
strb r0, [r2, 0x5]
ldr r0, =sub_80B9128
str r0, [r2, 0x1C]
ldr r0, =gUnknown_02038C08
ldr r0, =gFieldEffectSpawnParams
ldr r0, [r0]
strh r0, [r2, 0x30]
movs r0, 0x9E
@ -6793,7 +6793,7 @@ sub_80B91A4: @ 80B91A4
adds r1, r0
lsls r1, 3
adds r1, r2
ldr r0, =gUnknown_02038C08
ldr r0, =gFieldEffectSpawnParams
ldr r0, [r0]
strh r0, [r1, 0xA]
movs r0, 0
@ -6829,7 +6829,7 @@ sub_80B91D4: @ 80B91D4
sub_80B9204: @ 80B9204
push {r4-r6,lr}
adds r5, r0, 0
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r1, [r6, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -6870,7 +6870,7 @@ _080B924C:
sub_80B925C: @ 80B925C
push {r4,lr}
adds r4, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -6884,7 +6884,7 @@ sub_80B925C: @ 80B925C
ldrh r0, [r4, 0x8]
adds r0, 0x1
strh r0, [r4, 0x8]
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0xA
ldrsh r0, [r4, r2]
str r0, [r1]
@ -6906,7 +6906,7 @@ sub_80B92A0: @ 80B92A0
lsls r0, 24
cmp r0, 0
bne _080B92E8
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -6955,7 +6955,7 @@ sub_80B92F8: @ 80B92F8
strh r0, [r4, 0xC]
movs r0, 0x1
bl SetPlayerAvatarTransitionFlags
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -6975,7 +6975,7 @@ _080B932C:
sub_80B933C: @ 80B933C
push {r4,lr}
adds r4, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -7023,7 +7023,7 @@ sub_80B9390: @ 80B9390
asrs r0, 16
cmp r0, 0x7
ble _080B9406
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -7087,7 +7087,7 @@ sub_80B9418: @ 80B9418
asrs r0, 16
cmp r0, 0x9
ble _080B9464
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -7582,7 +7582,7 @@ sub_80B97D4: @ 80B97D4
sub_80B9804: @ 80B9804
push {r4-r6,lr}
adds r5, r0, 0
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r1, [r6, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -7673,7 +7673,7 @@ sub_80B98B8: @ 80B98B8
cmp r0, 0
bne _080B9910
_080B98D0:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -7720,7 +7720,7 @@ sub_80B9924: @ 80B9924
mov r0, sp
movs r2, 0x24
bl memcpy
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r1, r0, 4
adds r1, r0
@ -7760,7 +7760,7 @@ sub_80B9978: @ 80B9978
lsls r0, 24
cmp r0, 0
beq _080B99DC
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r5, r0, 3
adds r5, r0
@ -7810,7 +7810,7 @@ _080B99DC:
sub_80B99F0: @ 80B99F0
push {r4,lr}
adds r4, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -7872,7 +7872,7 @@ sub_80B9A60: @ 80B9A60
lsls r0, 16
cmp r0, 0
bne _080B9ACA
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r1, [r6, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -7922,7 +7922,7 @@ _080B9ACA:
sub_80B9ADC: @ 80B9ADC
push {r4,lr}
sub sp, 0x4
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldrb r0, [r4]
ldrb r1, [r4, 0x4]
ldrb r2, [r4, 0x8]
@ -8343,7 +8343,7 @@ _080B9E24:
sub_80B9E28: @ 80B9E28
push {r4-r7,lr}
sub sp, 0x4
ldr r7, =gUnknown_02038C08
ldr r7, =gFieldEffectSpawnParams
ldrb r0, [r7]
ldrb r1, [r7, 0x4]
ldrb r2, [r7, 0x8]

View File

@ -574,7 +574,7 @@ _0815432E:
thumb_func_start oei_shadow
oei_shadow: @ 8154340
push {r4,r5,lr}
ldr r5, =gUnknown_02038C08
ldr r5, =gFieldEffectSpawnParams
ldrb r0, [r5]
ldrb r1, [r5, 0x4]
ldrb r2, [r5, 0x8]
@ -742,7 +742,7 @@ _08154498:
oei_grass_normal: @ 81544AC
push {r4,r5,lr}
sub sp, 0x4
ldr r5, =gUnknown_02038C08
ldr r5, =gFieldEffectSpawnParams
ldrh r1, [r5]
mov r0, sp
strh r1, [r0]
@ -827,7 +827,7 @@ unc_grass_normal: @ 8154550
lsrs r4, r0, 8
lsls r0, 24
lsrs r7, r0, 24
ldr r3, =gUnknown_02037334
ldr r3, =gCamera
ldrb r1, [r3]
movs r0, 0x1
ands r0, r1
@ -951,7 +951,7 @@ _08154648:
thumb_func_start sub_8154658
sub_8154658: @ 8154658
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -1080,7 +1080,7 @@ _0815474C:
sub_8154758: @ 8154758
push {r4,r5,lr}
sub sp, 0x4
ldr r5, =gUnknown_02038C08
ldr r5, =gFieldEffectSpawnParams
ldrh r1, [r5]
mov r0, sp
strh r1, [r0]
@ -1166,7 +1166,7 @@ unc_grass_tall: @ 8154800
lsrs r7, r0, 8
lsls r0, 24
lsrs r6, r0, 24
ldr r3, =gUnknown_02037334
ldr r3, =gCamera
ldrb r1, [r3]
movs r0, 0x1
ands r0, r1
@ -1282,7 +1282,7 @@ _081548EA:
thumb_func_start sub_81548FC
sub_81548FC: @ 81548FC
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -1336,7 +1336,7 @@ _08154958:
thumb_func_start sub_815496C
sub_815496C: @ 815496C
push {r4-r6,lr}
ldr r6, =gUnknown_02038C08
ldr r6, =gFieldEffectSpawnParams
ldrb r0, [r6]
ldrb r1, [r6, 0x4]
ldrb r2, [r6, 0x8]
@ -1537,7 +1537,7 @@ _08154AF2:
thumb_func_start sub_8154B04
sub_8154B04: @ 8154B04
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -1591,7 +1591,7 @@ _08154B62:
thumb_func_start sub_8154B78
sub_8154B78: @ 8154B78
push {r4,r5,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -1646,7 +1646,7 @@ _08154BD8:
thumb_func_start sub_8154BEC
sub_8154BEC: @ 8154BEC
push {r4,r5,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -1777,7 +1777,7 @@ _08154CE4:
thumb_func_start sub_8154CEC
sub_8154CEC: @ 8154CEC
push {r4-r6,lr}
ldr r6, =gUnknown_02038C08
ldr r6, =gFieldEffectSpawnParams
ldrb r0, [r6]
ldrb r1, [r6, 0x4]
ldrb r2, [r6, 0x8]
@ -1922,7 +1922,7 @@ _08154E0A:
thumb_func_start sub_8154E1C
sub_8154E1C: @ 8154E1C
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -1976,7 +1976,7 @@ _08154E78:
thumb_func_start oei_water_drop_tall
oei_water_drop_tall: @ 8154E8C
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -2030,7 +2030,7 @@ _08154EE8:
thumb_func_start sub_8154EFC
sub_8154EFC: @ 8154EFC
push {r4-r7,lr}
ldr r7, =gUnknown_02038C08
ldr r7, =gFieldEffectSpawnParams
ldrb r0, [r7]
ldrb r1, [r7, 0x4]
ldrb r2, [r7, 0x8]
@ -2193,7 +2193,7 @@ oei_ripples: @ 8155054
push {r4,lr}
ldr r0, =gFieldEffectObjectTemplatePointers
ldr r0, [r0, 0x14]
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
movs r2, 0
ldrsh r1, [r4, r2]
movs r3, 0x4
@ -2238,7 +2238,7 @@ _081550A0:
thumb_func_start sub_81550B4
sub_81550B4: @ 81550B4
push {r4-r6,lr}
ldr r6, =gUnknown_02038C08
ldr r6, =gFieldEffectSpawnParams
ldrb r0, [r6]
ldrb r1, [r6, 0x4]
ldrb r2, [r6, 0x8]
@ -2393,7 +2393,7 @@ _081551E4:
thumb_func_start sub_81551F0
sub_81551F0: @ 81551F0
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -2445,7 +2445,7 @@ _08155248:
thumb_func_start sub_815525C
sub_815525C: @ 815525C
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -2497,7 +2497,7 @@ _081552B4:
thumb_func_start sub_81552C8
sub_81552C8: @ 81552C8
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -2549,7 +2549,7 @@ _08155320:
thumb_func_start sub_8155334
sub_8155334: @ 8155334
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -2603,7 +2603,7 @@ ash: @ 81553A0
push {r4,lr}
lsls r2, 16
lsrs r2, 16
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
lsls r0, 16
asrs r0, 16
str r0, [r4]
@ -2630,7 +2630,7 @@ ash: @ 81553A0
oei_ash: @ 81553D4
push {r4,r5,lr}
sub sp, 0x4
ldr r5, =gUnknown_02038C08
ldr r5, =gFieldEffectSpawnParams
ldrh r1, [r5]
mov r0, sp
strh r1, [r0]
@ -2766,7 +2766,7 @@ sub_81554AC: @ 81554AC
ldrsh r1, [r4, r2]
bl CurrentMapDrawMetatileAt
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2809,7 +2809,7 @@ _0815552C:
thumb_func_start sub_8155534
sub_8155534: @ 8155534
push {r4,r5,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -3261,7 +3261,7 @@ _08155888:
thumb_func_start sub_8155890
sub_8155890: @ 8155890
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -3315,7 +3315,7 @@ _081558EC:
thumb_func_start sub_8155900
sub_8155900: @ 8155900
push {r4-r7,lr}
ldr r7, =gUnknown_02038C08
ldr r7, =gFieldEffectSpawnParams
ldrb r0, [r7]
ldrb r1, [r7, 0x4]
ldrb r2, [r7, 0x8]
@ -3505,7 +3505,7 @@ _08155A76:
thumb_func_start sub_8155A88
sub_8155A88: @ 8155A88
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -3586,7 +3586,7 @@ _08155B20:
thumb_func_start sub_8155B2C
sub_8155B2C: @ 8155B2C
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
adds r1, r4, 0x4
adds r0, r4, 0
movs r2, 0x8
@ -3689,7 +3689,7 @@ ShowDisguiseFieldEffect: @ 8155BD0
lsrs r6, r1, 24
lsls r2, 24
lsrs r7, r2, 24
ldr r5, =gUnknown_02038C08
ldr r5, =gFieldEffectSpawnParams
ldrb r0, [r5]
ldrb r1, [r5, 0x4]
ldrb r2, [r5, 0x8]
@ -3950,7 +3950,7 @@ _08155DD8:
thumb_func_start sub_8155DDC
sub_8155DDC: @ 8155DDC
push {r4,lr}
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r0, [r4]
adds r0, 0x7
str r0, [r4]

View File

@ -1166,7 +1166,7 @@ _08096E8C:
@ void GroundEffect_SpawnOnTallGrass(struct npc_state *fieldObject, struct obj *object)
GroundEffect_SpawnOnTallGrass: @ 8096E90
push {lr}
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r1, [r0, r2]
str r1, [r3]
@ -1205,7 +1205,7 @@ GroundEffect_SpawnOnTallGrass: @ 8096E90
@ void GroundEffect_StepOnTallGrass(struct npc_state *fieldObject, struct obj *object)
GroundEffect_StepOnTallGrass: @ 8096EDC
push {lr}
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r1, [r0, r2]
str r1, [r3]
@ -1244,7 +1244,7 @@ GroundEffect_StepOnTallGrass: @ 8096EDC
@ void GroundEffect_SpawnOnLongGrass(struct npc_state *fieldObject, struct obj *object)
GroundEffect_SpawnOnLongGrass: @ 8096F28
push {lr}
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r1, [r0, r2]
str r1, [r3]
@ -1283,7 +1283,7 @@ GroundEffect_SpawnOnLongGrass: @ 8096F28
@ void GroundEffect_StepOnLongGrass(struct npc_state *fieldObject, struct obj *object)
GroundEffect_StepOnLongGrass: @ 8096F74
push {lr}
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r1, [r0, r2]
str r1, [r3]
@ -1413,7 +1413,7 @@ DoTracksGroundEffect_Footprints: @ 8097044
mov r0, sp
movs r2, 0x4
bl memcpy
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0x14
ldrsh r0, [r5, r2]
str r0, [r1]
@ -1449,7 +1449,7 @@ DoTracksGroundEffect_BikeTireTracks: @ 8097094
ldr r0, [r4, 0x14]
cmp r1, r0
beq _080970D6
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
movs r1, 0x14
ldrsh r0, [r4, r1]
str r0, [r2]
@ -1520,7 +1520,7 @@ GroundEffect_JumpOnTallGrass: @ 8097110
sub sp, 0x4
adds r5, r0, 0
adds r6, r1, 0
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r0, [r5, r2]
str r0, [r1]
@ -1562,7 +1562,7 @@ _0809715A:
@ void GroundEffect_JumpOnLongGrass(struct npc_state *fieldObject, struct obj *object)
GroundEffect_JumpOnLongGrass: @ 8097168
push {lr}
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
movs r3, 0x10
ldrsh r1, [r0, r3]
str r1, [r2]
@ -1585,7 +1585,7 @@ GroundEffect_JumpOnLongGrass: @ 8097168
@ void GroundEffect_JumpOnShallowWater(struct npc_state *fieldObject, struct obj *object)
GroundEffect_JumpOnShallowWater: @ 8097190
push {r4,lr}
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r4, 0x10
ldrsh r2, [r0, r4]
str r2, [r3]
@ -1611,7 +1611,7 @@ GroundEffect_JumpOnShallowWater: @ 8097190
@ void GroundEffect_JumpOnWater(struct npc_state *fieldObject, struct obj *object)
GroundEffect_JumpOnWater: @ 80971C0
push {r4,lr}
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r4, 0x10
ldrsh r2, [r0, r4]
str r2, [r3]
@ -1637,7 +1637,7 @@ GroundEffect_JumpOnWater: @ 80971C0
@ void GroundEffect_JumpLandingDust(struct npc_state *fieldObject, struct obj *object)
GroundEffect_JumpLandingDust: @ 80971F0
push {r4,lr}
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r4, 0x10
ldrsh r2, [r0, r4]
str r2, [r3]
@ -1685,7 +1685,7 @@ GroundEffect_HotSprings: @ 8097230
@ void GroundEffect_Seaweed(struct npc_state *fieldObject, struct obj *object)
GroundEffect_Seaweed: @ 8097240
push {lr}
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
movs r3, 0x10
ldrsh r1, [r0, r3]
str r1, [r2]

File diff suppressed because it is too large Load Diff

View File

@ -43,7 +43,7 @@ player_step: @ 808A9C0
lsrs r7, r1, 16
lsls r2, 16
lsrs r6, r2, 16
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r1, [r4, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -153,7 +153,7 @@ npc_clear_strange_bits: @ 808AA9C
adds r2, 0x2
ands r1, r2
strb r1, [r0, 0x1]
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2]
movs r0, 0x7F
ands r0, r1
@ -172,7 +172,7 @@ MovePlayerAvatarUsingKeypadInput: @ 808AAC0
lsrs r4, r1, 16
lsls r2, 16
lsrs r2, 16
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x6
ands r0, r1
@ -197,7 +197,7 @@ _0808AAF0:
@ void PlayerAllowForcedMovementIfMovingSameDirection()
PlayerAllowForcedMovementIfMovingSameDirection: @ 808AAF8
push {lr}
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r0, [r2, 0x2]
cmp r0, 0x2
bne _0808AB0A
@ -234,7 +234,7 @@ TryDoMetatileBehaviorForcedMovment: @ 808AB14
@ u8 GetForcedMovementByMetatileBehavior()
GetForcedMovementByMetatileBehavior: @ 808AB38
push {r4-r6,lr}
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r1, [r3]
movs r0, 0x20
ands r0, r1
@ -280,7 +280,7 @@ _0808AB8C:
thumb_func_start ForcedMovement_None
ForcedMovement_None: @ 808AB94
push {r4,lr}
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r1, [r4]
movs r0, 0x40
ands r0, r1
@ -325,7 +325,7 @@ DoForcedMovement: @ 808ABE0
mov r9, r1
lsls r0, 24
lsrs r5, r0, 24
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
adds r0, r5, 0
bl CheckForPlayerAvatarCollision
lsls r0, 24
@ -381,7 +381,7 @@ _0808AC48:
DoForcedMovementInCurrentDirection: @ 808AC58
push {lr}
adds r1, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r2, [r0, 0x5]
lsls r0, r2, 3
adds r0, r2
@ -523,7 +523,7 @@ ForcedMovement_Slide: @ 808AD60
push {r4,lr}
lsls r0, 24
lsrs r0, 24
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r3, [r2, 0x5]
lsls r2, r3, 3
adds r2, r3
@ -618,7 +618,7 @@ ForcedMovement_0xBC: @ 808AE04
thumb_func_start ForcedMovement_MuddySlope
ForcedMovement_MuddySlope: @ 808AE10
push {r4,lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -691,7 +691,7 @@ CheckMovementInputNotOnBike: @ 808AE98
lsrs r4, r0, 24
cmp r4, 0
bne _0808AEB0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
strb r4, [r0, 0x2]
movs r0, 0
b _0808AED2
@ -702,7 +702,7 @@ _0808AEB0:
lsrs r0, 24
cmp r4, r0
beq _0808AECC
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r0, [r1, 0x2]
cmp r0, 0x2
beq _0808AECC
@ -710,7 +710,7 @@ _0808AEB0:
b _0808AED0
.pool
_0808AECC:
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x2
_0808AED0:
strb r0, [r1, 0x2]
@ -784,7 +784,7 @@ _0808AF3C:
bl PlayerNotOnBikeCollide
b _0808AFB6
_0808AF4E:
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r1, [r4]
movs r0, 0x8
ands r0, r1
@ -843,7 +843,7 @@ CheckForPlayerAvatarCollision: @ 808AFBC
adds r6, r0, 0
lsls r6, 24
lsrs r6, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -894,7 +894,7 @@ sub_808B028: @ 808B028
adds r6, r0, 0
lsls r6, 24
lsrs r6, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -1102,7 +1102,7 @@ sub_808B1BC: @ 808B1BC
lsrs r4, r1, 16
lsls r2, 24
lsrs r6, r2, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x8
ands r0, r1
@ -1285,7 +1285,7 @@ IsPlayerCollidingWithFarawayIslandMew: @ 808B324
sub sp, 0x4
lsls r0, 24
lsrs r0, 24
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r2, [r1, 0x5]
lsls r1, r2, 3
adds r1, r2
@ -1369,7 +1369,7 @@ SetPlayerAvatarTransitionFlags: @ 808B3CC
push {lr}
lsls r0, 16
lsrs r0, 16
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x1]
orrs r0, r1
strb r0, [r2, 0x1]
@ -1383,7 +1383,7 @@ SetPlayerAvatarTransitionFlags: @ 808B3CC
@ void DoPlayerAvatarTransition()
DoPlayerAvatarTransition: @ 808B3E8
push {r4,r5,lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r4, [r0, 0x1]
cmp r4, 0
beq _0808B428
@ -1396,7 +1396,7 @@ _0808B3F4:
ldr r0, =gUnknown_084974B8
lsls r2, r5, 2
adds r2, r0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1412,7 +1412,7 @@ _0808B416:
lsrs r4, 1
cmp r5, 0x7
bls _0808B3F4
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0x1]
_0808B428:
@ -1522,14 +1522,14 @@ PlayerAvatarTransition_Surfing: @ 808B4D8
bl FieldObjectTurn
movs r0, 0x8
bl SetPlayerAvatarStateMask
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r2, 0x10
ldrsh r0, [r4, r2]
str r0, [r1]
movs r2, 0x12
ldrsh r0, [r4, r2]
str r0, [r1, 0x4]
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
str r0, [r1, 0x8]
movs r0, 0x8
@ -1574,7 +1574,7 @@ PlayerAvatarTransition_Underwater: @ 808B534
thumb_func_start PlayerAvatarTransition_ReturnToField
@ void PlayerAvatarTransition_ReturnToField(struct npc_state *fieldObject)
PlayerAvatarTransition_ReturnToField: @ 808B568
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2]
movs r0, 0x20
orrs r0, r1
@ -1586,7 +1586,7 @@ PlayerAvatarTransition_ReturnToField: @ 808B568
thumb_func_start sub_808B578
sub_808B578: @ 808B578
push {r4,lr}
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
movs r0, 0
strb r0, [r4, 0x3]
bl PlayerIsAnimActive
@ -1622,7 +1622,7 @@ _0808B5B6:
player_is_anim_in_certain_ranges: @ 808B5BC
push {lr}
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1673,7 +1673,7 @@ sub_808B618: @ 808B618
lsls r0, 24
cmp r0, 0
beq _0808B634
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x2]
cmp r0, 0x1
beq _0808B634
@ -1691,7 +1691,7 @@ _0808B636:
@ bool8 PlayerIsAnimActive()
PlayerIsAnimActive: @ 808B63C
push {lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1710,7 +1710,7 @@ PlayerIsAnimActive: @ 808B63C
@ bool8 PlayerCheckIfAnimFinishedOrInactive()
PlayerCheckIfAnimFinishedOrInactive: @ 808B660
push {lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1728,7 +1728,7 @@ PlayerCheckIfAnimFinishedOrInactive: @ 808B660
thumb_func_start player_set_x22
player_set_x22: @ 808B684
ldr r3, =gMapObjects
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r2, [r1, 0x5]
lsls r1, r2, 3
adds r1, r2
@ -1743,7 +1743,7 @@ player_set_x22: @ 808B684
thumb_func_start player_get_x22
player_get_x22: @ 808B6A0
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1761,7 +1761,7 @@ sub_808B6BC: @ 808B6BC
adds r1, r0, 0
lsls r1, 24
lsrs r1, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r2, [r0, 0x5]
lsls r0, r2, 3
adds r0, r2
@ -1788,7 +1788,7 @@ player_npc_set_state_and_x22_etc: @ 808B6E4
bne _0808B712
adds r0, r4, 0
bl player_set_x22
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2002,7 +2002,7 @@ PlayerJumpLedge: @ 808B840
thumb_func_start sub_808B864
sub_808B864: @ 808B864
push {r4,lr}
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r0, [r4, 0x3]
cmp r0, 0x2
beq _0808B872
@ -2220,7 +2220,7 @@ PlayCollisionSoundIfNotFacingWarp: @ 808B9EC
lsls r0, 24
lsrs r4, r0, 24
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2276,7 +2276,7 @@ GetXYCoordsOneStepInFrontOfPlayer: @ 808BA68
adds r4, r0, 0
adds r5, r1, 0
ldr r3, =gMapObjects
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2308,7 +2308,7 @@ GetXYCoordsOneStepInFrontOfPlayer: @ 808BA68
PlayerGetDestCoords: @ 808BAAC
push {r4,r5,lr}
ldr r5, =gMapObjects
ldr r4, =gUnknown_02037590
ldr r4, =gPlayerAvatar
ldrb r3, [r4, 0x5]
lsls r2, r3, 3
adds r2, r3
@ -2334,7 +2334,7 @@ plaer_get_pos_including_state_based_drift: @ 808BADC
push {r4,r5,lr}
adds r4, r0, 0
adds r5, r1, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2466,7 +2466,7 @@ _0808BC30:
@ u8 player_get_direction_lower_nybble()
player_get_direction_lower_nybble: @ 808BC38
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2483,7 +2483,7 @@ player_get_direction_lower_nybble: @ 808BC38
@ u8 player_get_direction_upper_nybble()
player_get_direction_upper_nybble: @ 808BC58
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2499,7 +2499,7 @@ player_get_direction_upper_nybble: @ 808BC58
@ u8 PlayerGetZCoord()
PlayerGetZCoord: @ 808BC74
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2516,7 +2516,7 @@ sub_808BC90: @ 808BC90
push {lr}
adds r3, r0, 0
adds r2, r1, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2537,7 +2537,7 @@ sub_808BC90: @ 808BC90
thumb_func_start TestPlayerAvatarFlags
@ u32 TestPlayerAvatarFlags(u32 mask)
TestPlayerAvatarFlags: @ 808BCC0
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1]
ands r1, r0
adds r0, r1, 0
@ -2547,7 +2547,7 @@ TestPlayerAvatarFlags: @ 808BCC0
thumb_func_start sub_808BCD0
sub_808BCD0: @ 808BCD0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0]
bx lr
.pool
@ -2556,7 +2556,7 @@ sub_808BCD0: @ 808BCD0
thumb_func_start GetPlayerAvatarObjectId
@ u8 GetPlayerAvatarObjectId()
GetPlayerAvatarObjectId: @ 808BCDC
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
bx lr
.pool
@ -2573,7 +2573,7 @@ sub_808BCE8: @ 808BCE8
thumb_func_start sub_808BCF4
sub_808BCF4: @ 808BCF4
push {r4,lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -2659,7 +2659,7 @@ GetPlayerAvatarGraphicsIdByStateId: @ 808BD8C
push {lr}
lsls r0, 24
lsrs r0, 24
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x7]
bl GetPlayerAvatarGraphicsIdByStateIdAndGender
lsls r0, 24
@ -2804,7 +2804,7 @@ _0808BE70:
IsPlayerFacingSurfableFishableWater: @ 808BE74
push {r4,r5,lr}
sub sp, 0x4
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -2871,7 +2871,7 @@ _0808BEF6:
@ void ClearPlayerAvatarInfo()
ClearPlayerAvatarInfo: @ 808BF00
push {lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
movs r1, 0
movs r2, 0x24
bl memset
@ -2885,7 +2885,7 @@ ClearPlayerAvatarInfo: @ 808BF00
SetPlayerAvatarStateMask: @ 808BF14
lsls r0, 24
lsrs r0, 24
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r2, [r3]
movs r1, 0xE0
ands r1, r2
@ -2937,7 +2937,7 @@ _0808BF64:
@ u8 GetPlayerAvatarGraphicsIdByCurrentState()
GetPlayerAvatarGraphicsIdByCurrentState: @ 808BF6C
push {r4-r6,lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r5, [r0]
movs r2, 0
ldr r3, =gUnknown_0849750C
@ -2980,7 +2980,7 @@ SetPlayerAvatarExtraStateTransition: @ 808BFB0
lsrs r0, 24
lsls r4, 24
lsrs r4, 24
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r1, [r5, 0x7]
bl GetPlayerAvatarStateTransitionByGraphicsId
lsls r0, 24
@ -3072,7 +3072,7 @@ InitPlayerAvatar: @ 808BFE0
mov r1, r9
bl FieldObjectTurn
bl ClearPlayerAvatarInfo
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
strb r6, [r0, 0x2]
strb r6, [r0, 0x3]
strb r5, [r0, 0x5]
@ -3098,7 +3098,7 @@ sub_808C0A8: @ 808C0A8
lsls r0, 24
lsrs r4, r0, 24
ldr r6, =gMapObjects
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r0, [r5, 0x5]
lsls r1, r0, 3
adds r1, r0
@ -3147,7 +3147,7 @@ _0808C100:
thumb_func_start sub_808C114
sub_808C114: @ 808C114
push {r4,r5,lr}
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r0, [r5, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -3181,7 +3181,7 @@ sub_808C15C: @ 808C15C
adds r5, r0, 0
lsls r5, 24
lsrs r5, 24
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r0, [r6, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -3222,7 +3222,7 @@ sub_808C1B4: @ 808C1B4
adds r5, r0, 0
lsls r5, 24
lsrs r5, 24
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r0, [r6, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -3271,7 +3271,7 @@ sub_808C228: @ 808C228
adds r5, r0, 0
lsls r5, 24
lsrs r5, 24
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r0, [r6, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -3424,7 +3424,7 @@ _0808C360:
ldrsh r3, [r4, r0]
lsls r3, 2
adds r3, r6
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r1, r0, 3
adds r1, r0
@ -3453,7 +3453,7 @@ sub_808C3A4: @ 808C3A4
push {r4,lr}
adds r4, r0, 0
bl ScriptContext2_Enable
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x1
strb r0, [r1, 0x6]
ldrh r0, [r4, 0x8]
@ -3517,7 +3517,7 @@ _0808C3F0:
lsrs r1, 24
adds r0, r4, 0
bl FieldObjectSetSpecialAnim
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
movs r1, 0x10
ldrsh r0, [r4, r1]
str r0, [r2]
@ -3571,7 +3571,7 @@ sub_808C484: @ 808C484
bl FieldObjectClearAnimIfSpecialAnimFinished
adds r0, r5, 0
bl FieldObjectClearAnimIfSpecialAnimFinished
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0x6]
bl ScriptContext2_Disable
@ -3620,7 +3620,7 @@ _0808C50A:
ldrsh r2, [r4, r0]
lsls r2, 2
adds r2, r5
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r1, r0, 3
adds r1, r0
@ -3644,7 +3644,7 @@ sub_808C544: @ 808C544
push {r4-r6,lr}
adds r6, r0, 0
adds r4, r1, 0
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
movs r0, 0x1
strb r0, [r5, 0x6]
adds r0, r4, 0
@ -3721,7 +3721,7 @@ _0808C5E2:
ldrsh r2, [r4, r0]
lsls r2, 2
adds r2, r5
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r1, r0, 3
adds r1, r0
@ -3749,7 +3749,7 @@ sub_808C61C: @ 808C61C
ldrb r1, [r1, 0x18]
lsrs r1, 4
strh r1, [r0, 0xA]
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x1
strb r0, [r1, 0x6]
bl ScriptContext2_Enable
@ -3873,7 +3873,7 @@ sub_808C6FC: @ 808C6FC
adds r0, r5, 0
bl FieldObjectSetSpecialAnim
bl ScriptContext2_Disable
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0x6]
ldr r0, =sub_808C5D0
@ -3898,7 +3898,7 @@ sub_808C750: @ 808C750
bl ScriptContext2_Enable
bl sav1_reset_battle_music_maybe
bl sub_8085898
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2]
movs r0, 0xF7
ands r0, r1
@ -3931,7 +3931,7 @@ taskFF_0805D1D4: @ 808C7A8
push {r4-r6,lr}
lsls r0, 24
lsrs r6, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -3978,7 +3978,7 @@ sub_808C814: @ 808C814
push {r4-r6,lr}
lsls r0, 24
lsrs r5, r0, 24
ldr r6, =gUnknown_02037590
ldr r6, =gPlayerAvatar
ldrb r1, [r6, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4083,7 +4083,7 @@ fish0: @ 808C8F8
push {r4,lr}
adds r4, r0, 0
bl ScriptContext2_Enable
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x1
strb r0, [r1, 0x6]
ldrh r0, [r4, 0x8]
@ -4128,7 +4128,7 @@ fish1: @ 808C918
adds r1, r0
strh r1, [r5, 0x22]
ldr r3, =gMapObjects
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -4366,7 +4366,7 @@ _0808CB30:
_0808CB32:
cmp r6, 0x1
bne _0808CB5C
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r4, r0, 4
adds r4, r0
@ -4396,7 +4396,7 @@ fish6: @ 808CB6C
sub sp, 0xC
adds r5, r0, 0
bl sub_808CF78
ldr r2, =gUnknown_085EE8F7
ldr r2, =gText_OhABite
movs r0, 0x11
str r0, [sp]
movs r4, 0
@ -4526,7 +4526,7 @@ fish9: @ 808CC64
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EE903
ldr r2, =gText_PokemonOnHook
movs r5, 0
str r5, [sp]
movs r0, 0x2
@ -4574,7 +4574,7 @@ _0808CCBC:
lsrs r6, r0, 16
cmp r6, 0
bne _0808CD50
ldr r7, =gUnknown_02037590
ldr r7, =gPlayerAvatar
ldrb r0, [r7, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -4633,7 +4633,7 @@ _0808CD50:
cmp r0, 0
beq _0808CD80
_0808CD58:
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0x6]
bl ScriptContext2_Disable
@ -4664,7 +4664,7 @@ fishB: @ 808CD94
sub sp, 0x10
adds r5, r0, 0
bl sub_808CF78
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r4, r0, 4
adds r4, r0
@ -4683,7 +4683,7 @@ fishB: @ 808CD94
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EE91E
ldr r2, =gText_NotEvenANibble
movs r0, 0
str r0, [sp]
movs r0, 0x2
@ -4712,7 +4712,7 @@ fishC: @ 808CE04
sub sp, 0x10
adds r5, r0, 0
bl sub_808CF78
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x4]
lsls r4, r0, 4
adds r4, r0
@ -4731,7 +4731,7 @@ fishC: @ 808CE04
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EE933
ldr r2, =gText_ItGotAway
movs r0, 0
str r0, [sp]
movs r0, 0x2
@ -4777,7 +4777,7 @@ fishE: @ 808CE8C
adds r6, r0, 0
bl sub_808CF78
ldr r7, =gSprites
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r0, [r5, 0x4]
lsls r1, r0, 4
adds r1, r0
@ -4855,7 +4855,7 @@ fishF: @ 808CF2C
lsrs r1, r0, 16
cmp r1, 0
bne _0808CF68
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
strb r1, [r0, 0x6]
bl ScriptContext2_Disable
bl sub_809757C
@ -4879,7 +4879,7 @@ _0808CF68:
thumb_func_start sub_808CF78
sub_808CF78: @ 808CF78
push {r4-r7,lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x4]
lsls r0, r1, 4
adds r0, r1
@ -4978,7 +4978,7 @@ _0808D02A:
movs r0, 0x8
strh r0, [r4, 0x26]
_0808D03A:
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r1, [r3]
movs r0, 0x8
ands r0, r1
@ -5032,7 +5032,7 @@ sub_808D094: @ 808D094
lsls r0, 24
lsrs r0, 24
adds r2, r0, 0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -5212,7 +5212,7 @@ sub_808D1FC: @ 808D1FC
lsls r0, 24
lsrs r0, 24
mov r8, r0
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1

View File

@ -216,7 +216,7 @@ _080F96F0:
_080F96FC:
ldrb r0, [r4, 0x2]
bl sub_80F95C0
ldr r0, =gUnknown_085ECF5D
ldr r0, =gText_PkmnFainted3
bl box_related_two__2
ldrh r0, [r4]
adds r0, 0x1

View File

@ -157,7 +157,7 @@ _08170300:
movs r2, 0x27
movs r3, 0xD
bl SetWindowBorderStyle
ldr r5, =gUnknown_085EE8F1
ldr r5, =gText_Hoenn
movs r0, 0x1
adds r1, r5, 0
movs r2, 0x38

View File

@ -1858,7 +1858,7 @@ _0809E6F8:
cmp r6, 0xD
ble _0809E6F8
_0809E708:
ldr r2, =gUnknown_02037334
ldr r2, =gCamera
ldrb r1, [r2]
movs r0, 0x1
ands r0, r1

View File

@ -1508,12 +1508,12 @@ CameraMove: @ 808887C
push {r5-r7}
mov r10, r0
mov r9, r1
ldr r1, =gUnknown_02037334
ldr r1, =gCamera
ldrb r0, [r1]
movs r1, 0x2
negs r1, r1
ands r1, r0
ldr r2, =gUnknown_02037334
ldr r2, =gCamera
strb r1, [r2]
mov r0, r10
mov r1, r9
@ -1556,23 +1556,23 @@ _080888C4:
ldrb r0, [r4, 0x8]
ldrb r1, [r4, 0x9]
bl mliX_load_map
ldr r1, =gUnknown_02037334
ldr r1, =gCamera
ldrb r0, [r1]
movs r1, 0x1
orrs r0, r1
ldr r2, =gUnknown_02037334
ldr r2, =gCamera
strb r0, [r2]
ldr r0, =gSaveBlock1Ptr
ldr r1, [r0]
movs r2, 0
ldrsh r0, [r1, r2]
subs r5, r0
ldr r0, =gUnknown_02037334
ldr r0, =gCamera
str r5, [r0, 0x4]
movs r2, 0x2
ldrsh r0, [r1, r2]
subs r6, r0
ldr r0, =gUnknown_02037334
ldr r0, =gCamera
str r6, [r0, 0x8]
ldrh r0, [r1]
add r0, r10
@ -1583,7 +1583,7 @@ _080888C4:
mov r0, r8
bl sub_80885C4
_08088932:
ldr r0, =gUnknown_02037334
ldr r0, =gCamera
ldrb r0, [r0]
lsls r0, 31
lsrs r0, 31

View File

@ -480,13 +480,13 @@ sub_80F9F5C: @ 80F9F5C
thumb_func_start sub_80F9F78
sub_80F9F78: @ 80F9F78
push {lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0]
movs r0, 0x6
ands r0, r1
cmp r0, 0
beq _080F9FC0
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
ldr r0, [r1, 0x4]
cmp r0, 0x2
beq _080F9FAE
@ -517,7 +517,7 @@ _080F9FB6:
movs r0, 0x18
b _080F9FFC
_080F9FC0:
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
ldr r0, [r1, 0x4]
cmp r0, 0x2
beq _080F9FEA
@ -643,7 +643,7 @@ _080FA0C4:
sub_80FA0DC: @ 80FA0DC
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -692,7 +692,7 @@ sub_80FA13C: @ 80FA13C
bl sub_80F9F78
ldr r0, =gUnknown_0858E600
ldr r3, =gSprites
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x4]
lsls r2, r1, 4
adds r2, r1
@ -701,7 +701,7 @@ sub_80FA13C: @ 80FA13C
ldrh r1, [r2, 0x2]
lsls r1, 23
lsrs r1, 23
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r3, [r4, 0x14]
adds r1, r3
lsls r1, 16
@ -778,7 +778,7 @@ sub_80FA1D8: @ 80FA1D8
sub_80FA1E8: @ 80FA1E8
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -836,20 +836,20 @@ sub_80FA248: @ 80FA248
ands r2, r0
cmp r2, 0x96
bne _080FA26A
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r0, 0
str r0, [r1, 0x1C]
_080FA26A:
cmp r2, 0x9C
bne _080FA274
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
movs r0, 0x2
str r0, [r1, 0x1C]
_080FA274:
bl sub_80F9F78
ldr r0, =gUnknown_0858E618
ldr r3, =gSprites
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x4]
lsls r2, r1, 4
adds r2, r1
@ -858,7 +858,7 @@ _080FA274:
ldrh r1, [r2, 0x2]
lsls r1, 23
lsrs r1, 23
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r3, [r4, 0x14]
adds r1, r3
lsls r1, 16
@ -891,7 +891,7 @@ sub_80FA2D8: @ 80FA2D8
adds r4, r0, 0
movs r0, 0x9B
bl PlaySE
ldr r0, =gUnknown_02038C08
ldr r0, =gFieldEffectSpawnParams
ldr r1, [r0, 0x1C]
adds r2, r4, 0
adds r2, 0x2A
@ -917,7 +917,7 @@ sub_80FA304: @ 80FA304
asrs r0, 16
cmp r0, 0x27
ble _080FA32E
ldr r0, =gUnknown_02038C08
ldr r0, =gFieldEffectSpawnParams
ldr r0, [r0, 0x1C]
cmp r0, 0
beq _080FA322
@ -951,7 +951,7 @@ sub_80FA33C: @ 80FA33C
sub_80FA34C: @ 80FA34C
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -1000,7 +1000,7 @@ sub_80FA3AC: @ 80FA3AC
bl sub_80F9F78
ldr r0, =gUnknown_0858E630
ldr r3, =gSprites
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x4]
lsls r2, r1, 4
adds r2, r1
@ -1009,7 +1009,7 @@ sub_80FA3AC: @ 80FA3AC
ldrh r1, [r2, 0x2]
lsls r1, 23
lsrs r1, 23
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r3, [r4, 0x14]
adds r1, r3
lsls r1, 16
@ -1723,7 +1723,7 @@ sub_80FA9D0: @ 80FA9D0
push {r4,lr}
sub sp, 0x4
ldr r3, =gMapObjects
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1807,7 +1807,7 @@ sub_80FAA7C: @ 80FAA7C
mov r0, sp
adds r1, r4, 0
bl GetXYCoordsOneStepInFrontOfPlayer
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
mov r0, sp
movs r2, 0
ldrsh r0, [r0, r2]
@ -1835,7 +1835,7 @@ _080FAABC:
_080FAAC6:
ldr r0, =gUnknown_0858E68C
ldr r3, =gSprites
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x4]
lsls r2, r1, 4
adds r2, r1
@ -1857,7 +1857,7 @@ _080FAAC6:
_080FAAFC:
ldr r0, =gUnknown_0858E68C
ldr r3, =gSprites
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x4]
lsls r2, r1, 4
adds r2, r1
@ -1876,7 +1876,7 @@ _080FAAFC:
_080FAB2C:
ldr r0, =gUnknown_0858E68C
ldr r3, =gSprites
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x4]
lsls r2, r1, 4
adds r2, r1
@ -1898,7 +1898,7 @@ _080FAB4C:
_080FAB64:
ldr r0, =gUnknown_0858E68C
ldr r3, =gSprites
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r1, [r1, 0x4]
lsls r2, r1, 4
adds r2, r1
@ -1930,7 +1930,7 @@ door_restore_tilemap: @ 80FABA4
adds r5, r0, 0
movs r0, 0x83
bl PlaySE
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r0, [r4, 0x14]
ldr r1, [r4, 0x18]
subs r1, 0x1
@ -1953,7 +1953,7 @@ _080FABDC:
lsls r2, 2
bl MapGridSetMetatileIdAt
_080FABEA:
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r0, [r4, 0x14]
ldr r1, [r4, 0x18]
ldr r2, =0x0000020a
@ -1988,7 +1988,7 @@ sub_80FAC24: @ 80FAC24
strh r0, [r5, 0x2E]
b _080FAC54
_080FAC38:
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r0, [r4, 0x14]
ldr r1, [r4, 0x18]
ldr r2, =0x00000e8c
@ -2061,7 +2061,7 @@ _080FACC2:
movs r3, 0x3
bl ConvertIntToDecimalStringN
ldr r0, =gStringVar2
ldr r1, =gUnknown_085EA88B
ldr r1, =gText_Gold
bl StringCopy
ldr r1, =gScriptResult
movs r0, 0
@ -2085,7 +2085,7 @@ _080FAD14:
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r0, =gStringVar2
ldr r1, =gUnknown_085EA890
ldr r1, =gText_Silver
bl StringCopy
ldr r1, =gScriptResult
movs r0, 0
@ -2307,7 +2307,7 @@ sub_80FAEF0: @ 80FAEF0
push {r4,r5,lr}
lsls r0, 24
lsrs r5, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -2357,7 +2357,7 @@ sub_80FAF64: @ 80FAF64
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1

View File

@ -385,7 +385,7 @@ hm2_ruin_valley: @ 80D3A50
movs r0, 0x1
bl FieldEffectStart
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -421,7 +421,7 @@ sub_80D3A6C: @ 80D3A6C
sub_80D3A9C: @ 80D3A9C
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -542,7 +542,7 @@ _080D3B64:
movs r6, 0
ldr r5, =gSprites
_080D3BA0:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x4]
lsls r0, r1, 4
adds r0, r1

View File

@ -115,7 +115,7 @@ sub_80B46D8: @ 80B46D8
orrs r3, r4
mov r4, r12
strb r3, [r4]
ldr r4, =gUnknown_02038C08
ldr r4, =gFieldEffectSpawnParams
ldr r3, [r4]
strh r3, [r0, 0x2E]
ldr r3, [r4, 0x4]
@ -296,7 +296,7 @@ sub_80B4808: @ 80B4808
b _080B489E
.pool
_080B4870:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1

View File

@ -235,7 +235,7 @@ sub_81BE808: @ 81BE808
ldrh r1, [r0, 0x26]
adds r1, 0x4
strh r1, [r0, 0x26]
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r1, r0, 3
adds r1, r0

View File

@ -221,7 +221,7 @@ sub_81616C0: @ 81616C0
ldr r1, =gStringVar1
bl GetMonNickname
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9C17
ldr r1, =gText_PkmnHPRestoredByVar2
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -318,7 +318,7 @@ sub_81617B8: @ 81617B8
lsrs r4, 24
movs r0, 0x5
bl PlaySE
ldr r0, =gUnknown_085E9712
ldr r0, =gText_CantBeUsedOnPkmn
movs r1, 0
bl sub_81B1B5C
movs r0, 0x2

View File

@ -40,7 +40,7 @@ _08145DF2:
sub_8145E0C: @ 8145E0C
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -66,7 +66,7 @@ sub_8145E2C: @ 8145E2C
lsrs r0, r2, 16
strh r0, [r1, 0x18]
strh r2, [r1, 0x1A]
ldr r0, =gUnknown_02038C08
ldr r0, =gFieldEffectSpawnParams
ldr r1, [r0]
movs r0, 0x64
muls r0, r1

View File

@ -24,7 +24,7 @@ hm2_sweet_scent: @ 8159F10
movs r0, 0x33
bl FieldEffectStart
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -217,4 +217,4 @@ _0815A0BE:
thumb_func_end sub_815A090
.align 2, 0 @ Don't pad with nop.

View File

@ -39,7 +39,7 @@ hm_teleport_run_dp02scr: @ 817C8FC
movs r0, 0x3F
bl FieldEffectStart
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]

View File

@ -437,7 +437,7 @@ _081AAF0C:
b _081AB012
.pool
_081AAF1C:
ldr r1, =gPocketNames
ldr r1, =gPocketNamesStringsTable
ldr r4, =gUnknown_0203CE58
ldrb r0, [r4, 0x5]
lsls r0, 2
@ -972,7 +972,7 @@ _081AB3C0:
movs r2, 0x2
movs r3, 0x1
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085E921A
ldr r1, =gText_ClearTo11Var1Clear5Var2
b _081AB438
.pool
_081AB408:
@ -995,7 +995,7 @@ _081AB420:
adds r0, r5, 0
bl CopyItemName
_081AB436:
ldr r1, =gUnknown_085E9210
ldr r1, =gText_UnkF908Var1Clear7Var2
_081AB438:
adds r0, r6, 0
bl StringExpandPlaceholders
@ -1297,7 +1297,7 @@ bag_menu_print_description_box_text: @ 81AB6B0
.pool
_081AB6E0:
ldr r0, =gStringVar1
ldr r2, =gUnknown_085E9180
ldr r2, =gReturnToXStringsTable
ldr r1, =gUnknown_0203CE58
ldrb r1, [r1, 0x4]
lsls r1, 2
@ -2423,7 +2423,7 @@ _081AC026:
adds r5, r0, 0
cmp r1, 0x1
bne _081AC07C
ldr r2, =gPocketNames
ldr r2, =gPocketNamesStringsTable
ldrb r0, [r4, 0x5]
lsls r0, 2
adds r0, r2
@ -2439,7 +2439,7 @@ _081AC026:
b _081AC09A
.pool
_081AC07C:
ldr r2, =gPocketNames
ldr r2, =gPocketNamesStringsTable
add r0, sp, 0x8
ldrb r0, [r0]
lsls r0, 2
@ -4808,7 +4808,7 @@ display_sell_item_ask_str: @ 81AD5DC
ldr r1, =gStringVar2
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E960F
ldr r1, =gText_CantBuyKeyItem
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r3, =bag_menu_inits_lists_menu
@ -4834,7 +4834,7 @@ _081AD64C:
ldr r1, =gStringVar2
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E962F
ldr r1, =gText_HowManyToSell
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r3, =sub_81AD730
@ -4874,7 +4874,7 @@ sub_81AD680: @ 81AD680
movs r3, 0x6
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9654
ldr r1, =gText_ICanPayVar1
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r3, =sub_81AD6E4
@ -5079,7 +5079,7 @@ sub_81AD84C: @ 81AD84C
movs r3, 0x6
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9677
ldr r1, =gText_TurnedOverVar1ForVar2
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r3, =sub_81AD8C8

View File

@ -2510,7 +2510,7 @@ ItemUseInBattle_StatIncrease: @ 80FE4B8
lsls r0, 24
cmp r0, 0
bne _080FE518
ldr r2, =gUnknown_085E96F6
ldr r2, =gText_WontHaveEffect
ldr r3, =bag_menu_inits_lists_menu
adds r0, r4, 0
movs r1, 0x1
@ -2518,7 +2518,7 @@ ItemUseInBattle_StatIncrease: @ 80FE4B8
b _080FE53C
.pool
_080FE518:
ldr r1, =gUnknown_085E96F6
ldr r1, =gText_WontHaveEffect
ldr r2, =sub_81C6714
adds r0, r4, 0
bl DisplayItemMessageInBattlePyramid

View File

@ -377,7 +377,7 @@ _081609A8:
ldr r1, =0xffff0000
cmp r0, r1
beq _08160A04
ldr r0, =gUnknown_085EF8E4
ldr r0, =gText_PkmnLearnedMove4
bl sub_816084C
ldr r1, =gSpecialVar_0x8004
movs r0, 0x1
@ -471,7 +471,7 @@ _08160AAA:
b _08160E88
.pool
_08160AB8:
ldr r0, =gUnknown_085EF8F3
ldr r0, =gText_PkmnTryingToLearnMove
bl sub_816084C
ldr r0, =gUnknown_0203BC34
ldr r1, [r0]
@ -498,7 +498,7 @@ _08160AEC:
asrs r1, r0, 24
cmp r1, 0
bne _08160B10
ldr r0, =gUnknown_085EFA10
ldr r0, =gText_WhichMoveToForget2
bl sub_816084C
ldr r0, =gUnknown_0203BC34
ldr r1, [r0]
@ -528,7 +528,7 @@ _08160B2C:
adds r1, r0
adds r0, r4, 0
bl StringCopy
ldr r0, =gUnknown_085EF960
ldr r0, =gText_StopTryingToTeachMove
bl sub_816084C
ldr r0, =gUnknown_0203BC34
ldr r1, [r0]
@ -819,7 +819,7 @@ _08160D6C:
adds r1, r6
adds r0, r4, 0
bl StringCopy
ldr r0, =gUnknown_085EF979
ldr r0, =gText_12AndPoof
bl sub_816084C
ldr r1, [r7]
movs r0, 0x1E
@ -834,7 +834,7 @@ _08160E0C:
lsls r0, 16
cmp r0, 0
bne _08160E8A
ldr r0, =gUnknown_085EF9A6
ldr r0, =gText_PkmnForgotMoveAndLearnedNew
bl sub_816084C
ldr r0, =gUnknown_0203BC34
ldr r1, [r0]
@ -946,7 +946,7 @@ _08160EF0:
cmp r5, 0
bne _08160F38
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EF8C2
ldr r1, =gText_TeachWhichMoveToPkmn
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0x3
@ -1042,7 +1042,7 @@ _08160FE4:
movs r0, 0xC
strb r0, [r1]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EF9E6
ldr r1, =gText_GiveUpTeachingNewMove
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -1063,7 +1063,7 @@ _08161010:
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EF8DA
ldr r1, =gText_TeachX
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -1100,7 +1100,7 @@ sub_8161074: @ 8161074
cmp r5, 0
bne _081610A6
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EF8C2
ldr r1, =gText_TeachWhichMoveToPkmn
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0x3

File diff suppressed because it is too large Load Diff

View File

@ -3482,7 +3482,7 @@ sub_800B080: @ 800B080
ldr r4, =gUnknown_082ED224
str r4, [sp]
str r5, [sp, 0x4]
ldr r0, =gUnknown_085EE4F7
ldr r0, =gText_CommErrorEllipsis
str r0, [sp, 0x8]
movs r0, 0
movs r1, 0x3
@ -3491,7 +3491,7 @@ sub_800B080: @ 800B080
bl box_print
str r4, [sp]
str r5, [sp, 0x4]
ldr r0, =gUnknown_085EE50C
ldr r0, =gText_MoveCloserToLinkPartner
str r0, [sp, 0x8]
movs r0, 0x2
movs r1, 0x3
@ -3534,7 +3534,7 @@ sub_800B138: @ 800B138
str r0, [sp]
movs r0, 0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085EE4A4
ldr r0, =gText_CommErrorCheckConnections
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x3
@ -3623,7 +3623,7 @@ _0800B214:
str r0, [sp]
movs r0, 0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085EE572
ldr r0, =gText_ABtnTitleScreen
str r0, [sp, 0x8]
movs r0, 0
movs r1, 0x3
@ -3639,7 +3639,7 @@ _0800B244:
str r0, [sp]
movs r0, 0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085EE553
ldr r0, =gText_ABtnRegistrationCounter
str r0, [sp, 0x8]
movs r0, 0
movs r1, 0x3
@ -27235,7 +27235,7 @@ sub_8017940: @ 8017940
ldrsh r0, [r4, r1]
cmp r0, 0x8
bne _08017978
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x3]
cmp r0, 0x2
beq _0801796E
@ -28887,16 +28887,16 @@ sub_80186EC: @ 80186EC
bl FillWindowPixelBuffer
cmp r4, 0
bne _0801871C
ldr r0, =gUnknown_085EF654
ldr r7, =gUnknown_085EF678
ldr r0, =gText_MysteryGift
ldr r7, =gText_PickOKCancel
cmp r5, 0
bne _08018720
ldr r7, =gUnknown_085EF664
ldr r7, =gText_PickOKExit
b _08018720
.pool
_0801871C:
ldr r0, =gUnknown_085EDFBF
ldr r7, =gUnknown_085EDFC9
ldr r0, =gJPText_MysteryGift
ldr r7, =gJPText_DecideStop
_08018720:
movs r4, 0
str r4, [sp]
@ -29571,13 +29571,13 @@ _08018C6C:
cmp r2, 0
bne _08018C84
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EF2FC
ldr r1, =gText_WhatToDoWithCards
bl StringExpandPlaceholders
b _08018C8C
.pool
_08018C84:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EF330
ldr r1, =gText_WhatToDoWithNews
bl StringExpandPlaceholders
_08018C8C:
ldr r0, =gUnknown_082F05D8
@ -29801,11 +29801,11 @@ sub_8018E50: @ 8018E50
push {lr}
cmp r2, 0
beq _08018E60
ldr r3, =gUnknown_085EF55C
ldr r3, =gText_OkayToDiscardNews
b _08018E62
.pool
_08018E60:
ldr r3, =gUnknown_085EF520
ldr r3, =gText_IfThrowAwayCardEventWontHappen
_08018E62:
movs r2, 0x1
bl sub_8018B08
@ -29821,11 +29821,11 @@ mevent_message_was_thrown_away: @ 8018E74
push {lr}
cmp r1, 0
beq _08018E84
ldr r1, =gUnknown_085EF630
ldr r1, =gText_WonderNewsThrownAway
b _08018E86
.pool
_08018E84:
ldr r1, =gUnknown_085EF60C
ldr r1, =gText_WonderCardThrownAway
_08018E86:
bl mevent_0814257C
pop {r1}
@ -29854,7 +29854,7 @@ _08018EAC:
.4byte _08018EE0
.4byte _08018EF8
_08018EC0:
ldr r0, =gUnknown_085EF5BC
ldr r0, =gText_DataWillBeSaved
bl sub_8018884
b _08018EEC
.pool
@ -29863,7 +29863,7 @@ _08018ECC:
bl TrySavingData
b _08018EEC
_08018ED4:
ldr r0, =gUnknown_085EF5E0
ldr r0, =gText_SaveCompletedPressA
bl sub_8018884
b _08018EEC
.pool
@ -29934,88 +29934,88 @@ _08018F30:
_08018F6C:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF2E4
ldr r2, =gText_NothingSentOver
b _08019034
.pool
_08018F78:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF244
ldr r2, =gText_RecordUploadedViaWireless
b _08019034
.pool
_08018F84:
movs r0, 0x1
str r0, [r4]
ldr r2, =gUnknown_085EF0C8
ldr r2, =gText_WonderCardReceivedFrom
cmp r5, 0
bne _08019034
ldr r2, =gUnknown_085EF124
ldr r2, =gText_WonderCardReceived
b _08019034
.pool
_08018F9C:
movs r0, 0x1
str r0, [r4]
ldr r2, =gUnknown_085EF0F4
ldr r2, =gText_WonderNewsReceivedFrom
cmp r5, 0
bne _08019034
ldr r2, =gUnknown_085EF14C
ldr r2, =gText_WonderNewsReceived
b _08019034
.pool
_08018FB4:
movs r0, 0x1
str r0, [r4]
ldr r2, =gUnknown_085EF178
ldr r2, =gText_NewStampReceived
b _08019034
.pool
_08018FC0:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF1B4
ldr r2, =gText_AlreadyHadCard
b _08019034
.pool
_08018FCC:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF200
ldr r2, =gText_AlreadyHadStamp
b _08019034
.pool
_08018FD8:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF1D8
ldr r2, =gText_AlreadyHadNews
b _08019034
.pool
_08018FE4:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF21C
ldr r2, =gText_NoMoreRoomForStamps
b _08019034
.pool
_08018FF0:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF02C
ldr r2, =gText_CommunicationCanceled
b _08019034
.pool
_08018FFC:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF2B4
ldr r2, =gText_CantAcceptNewsFromTrainer
cmp r6, 0
bne _08019034
ldr r2, =gUnknown_085EF280
ldr r2, =gText_CantAcceptCardFromTrainer
b _08019034
.pool
_08019014:
movs r0, 0
str r0, [r4]
ldr r2, =gUnknown_085EF014
ldr r2, =gText_CommunicationError
b _08019034
.pool
_08019020:
movs r0, 0x1
str r0, [r4]
ldr r2, =gUnknown_085EF198
ldr r2, =gText_NewTrainerReceived
b _08019034
.pool
_0801902C:
@ -30095,7 +30095,7 @@ _0801909C:
mevent_message_stamp_card_etc_send_status: @ 80190A4
push {r4,lr}
adds r3, r0, 0
ldr r1, =gUnknown_085EF014
ldr r1, =gText_CommunicationError
movs r0, 0
str r0, [r3]
adds r4, r1, 0
@ -30125,57 +30125,57 @@ _080190C8:
.4byte _0801915C
.4byte _08019164
_08019104:
ldr r1, =gUnknown_085EF2E4
ldr r1, =gText_NothingSentOver
b _08019166
.pool
_0801910C:
ldr r1, =gUnknown_085EF244
ldr r1, =gText_RecordUploadedViaWireless
b _08019166
.pool
_08019114:
ldr r1, =gUnknown_085EF39C
ldr r1, =gText_WonderCardSentTo
b _0801911E
.pool
_0801911C:
ldr r1, =gUnknown_085EF3C4
ldr r1, =gText_WonderNewsSentTo
_0801911E:
movs r0, 0x1
str r0, [r3]
b _08019166
.pool
_08019128:
ldr r1, =gUnknown_085EF3F0
ldr r1, =gText_StampSentTo
b _08019166
.pool
_08019130:
ldr r1, =gUnknown_085EF42C
ldr r1, =gText_OtherTrainerHasCard
b _08019166
.pool
_08019138:
ldr r1, =gUnknown_085EF494
ldr r1, =gText_OtherTrainerHasStamp
b _08019166
.pool
_08019140:
ldr r1, =gUnknown_085EF460
ldr r1, =gText_OtherTrainerHasNews
b _08019166
.pool
_08019148:
ldr r1, =gUnknown_085EF21C
ldr r1, =gText_NoMoreRoomForStamps
b _08019166
.pool
_08019150:
ldr r1, =gUnknown_085EF4C4
ldr r1, =gText_OtherTrainerCanceled
b _08019166
.pool
_08019158:
adds r1, r4, 0
b _08019166
_0801915C:
ldr r1, =gUnknown_085EF410
ldr r1, =gText_GiftSentTo
b _08019166
.pool
_08019164:
ldr r1, =gUnknown_085EF4F0
ldr r1, =gText_CantSendGiftToTrainer
_08019166:
adds r0, r1, 0
pop {r4}
@ -30357,13 +30357,13 @@ _08019300:
bne _08019314
adds r0, r5, 0
adds r0, 0x9
ldr r1, =gUnknown_085EEEF0
ldr r1, =gText_DontHaveCardNewOneInput
b _0801931A
.pool
_08019314:
adds r0, r5, 0
adds r0, 0x9
ldr r1, =gUnknown_085EEF2C
ldr r1, =gText_DontHaveNewsNewOneInput
_0801931A:
bl mevent_0814257C
cmp r0, 0
@ -30381,12 +30381,12 @@ _08019338:
ldrb r0, [r5, 0xC]
cmp r0, 0
bne _0801934C
ldr r0, =gUnknown_085EEF68
ldr r0, =gText_WhereShouldCardBeAccessed
bl sub_8018884
b _08019352
.pool
_0801934C:
ldr r0, =gUnknown_085EEF94
ldr r0, =gText_WhereShouldNewsBeAccessed
bl sub_8018884
_08019352:
movs r0, 0x4
@ -30502,7 +30502,7 @@ _08019436:
b _080197C0
.pool
_08019444:
ldr r0, =gUnknown_085EEFE8
ldr r0, =gText_Communicating
bl sub_8018884
movs r0, 0x8
strb r0, [r5, 0x8]
@ -30593,7 +30593,7 @@ _08019506:
_08019508:
adds r0, r5, 0
adds r0, 0x9
ldr r3, =gUnknown_085EF050
ldr r3, =gText_ThrowAwayWonderCard
adds r1, r5, 0
movs r2, 0
bl sub_8018B08
@ -30616,7 +30616,7 @@ _08019534:
_08019538:
adds r0, r5, 0
adds r0, 0x9
ldr r3, =gUnknown_085EF084
ldr r3, =gText_HaventReceivedCardsGift
adds r1, r5, 0
movs r2, 0
bl sub_8018B08
@ -30660,7 +30660,7 @@ _0801957E:
_0801958C:
adds r0, r5, 0
adds r0, 0x9
ldr r1, =gUnknown_085EEFF8
ldr r1, =gText_CommunicationCompleted
bl sub_8018A1C
cmp r0, 0
bne _0801959C
@ -30876,7 +30876,7 @@ _0801971A:
_0801972E:
adds r0, r5, 0
adds r0, 0x9
ldr r3, =gUnknown_085EF584
ldr r3, =gText_HaventReceivedGiftOkayToDiscard
adds r1, r5, 0
movs r2, 0x1
bl sub_8018B08
@ -31016,13 +31016,13 @@ _0801982C:
ldrb r0, [r5, 0xC]
cmp r0, 0
bne _0801985C
ldr r0, =gUnknown_085EF360
ldr r0, =gText_SendingWonderCard
bl sub_8018884
bl mevent_srv_new_wcard
b _08019866
.pool
_0801985C:
ldr r0, =gUnknown_085EF37C
ldr r0, =gText_SendingWonderNews
bl sub_8018884
bl mevent_srv_init_wnews
_08019866:
@ -31084,7 +31084,7 @@ _080198DC:
_080198EC:
adds r0, r5, 0
adds r0, 0x9
ldr r1, =gUnknown_085EF014
ldr r1, =gText_CommunicationError
bl mevent_0814257C
_080198F6:
cmp r0, 0
@ -31141,7 +31141,7 @@ bgid_upload_textbox_1: @ 8019938
thumb_func_start is_walking_or_running
is_walking_or_running: @ 8019958
push {lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x3]
cmp r0, 0x2
beq _08019966
@ -33685,7 +33685,7 @@ _0801AD8C:
_0801ADFC:
ldr r0, =gUnknown_02022C6C
ldr r0, [r0]
ldr r1, =gUnknown_085EFBD2
ldr r1, =gText_CommStandbyAwaitingOtherPlayer
movs r2, 0
bl sub_801ABDC
cmp r0, 0
@ -33832,7 +33832,7 @@ _0801AF40:
_0801AF58:
ldr r0, =gUnknown_02022C6C
ldr r0, [r0]
ldr r1, =gUnknown_085EFC27
ldr r1, =gText_RefusedBattle
movs r2, 0x1
bl sub_801ABDC
cmp r0, 0
@ -33858,7 +33858,7 @@ _0801AF8A:
_0801AF98:
ldr r0, =gUnknown_02022C6C
ldr r0, [r0]
ldr r1, =gUnknown_085EFC0C
ldr r1, =gText_BattleWasRefused
movs r2, 0x1
bl sub_801ABDC
cmp r0, 0
@ -41940,7 +41940,7 @@ _0801F020:
movs r0, 0
adds r1, r4, 0
bl sub_81AFC0C
ldr r1, =gUnknown_085ED2A9
ldr r1, =gText_F700JoinedChat
b _0801F094
.pool
_0801F044:
@ -41980,7 +41980,7 @@ _0801F07A:
movs r0, 0
adds r1, r4, 0
bl sub_81AFC0C
ldr r1, =gUnknown_085ED2BD
ldr r1, =gText_F700LeftChat
_0801F094:
adds r0, r6, 0
bl sub_81AFC28
@ -42190,52 +42190,52 @@ copy_strings_to_sav1: @ 801F1DC
ldr r0, [r4]
ldr r1, =0x00003c88
adds r0, r1
ldr r1, =gUnknown_085ED40F
ldr r1, =gText_Hello
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003c9d
adds r0, r1
ldr r1, =gUnknown_085ED415
ldr r1, =gText_Pokemon2
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003cb2
adds r0, r1
ldr r1, =gUnknown_085ED41D
ldr r1, =gText_Trade
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003cc7
adds r0, r1
ldr r1, =gUnknown_085ED423
ldr r1, =gText_Battle
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003cdc
adds r0, r1
ldr r1, =gUnknown_085ED42A
ldr r1, =gText_Lets
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003cf1
adds r0, r1
ldr r1, =gUnknown_085ED430
ldr r1, =gText_Ok
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003d06
adds r0, r1
ldr r1, =gUnknown_085ED434
ldr r1, =gText_Sorry
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003d1b
adds r0, r1
ldr r1, =gUnknown_085ED43A
ldr r1, =gText_YayUnkF9F9
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003d30
adds r0, r1
ldr r1, =gUnknown_085ED440
ldr r1, =gText_ThankYou
bl StringCopy
ldr r0, [r4]
ldr r1, =0x00003d45
adds r0, r1
ldr r1, =gUnknown_085ED44A
ldr r1, =gText_ByeBye
bl StringCopy
pop {r4}
pop {r0}
@ -43754,7 +43754,7 @@ sub_801FDDC: @ 801FDDC
bl PutWindowTilemap
ldr r0, [r5]
ldrb r0, [r0, 0x18]
ldr r2, =gUnknown_085EAE62
ldr r2, =gText_Yes
movs r1, 0x1
str r1, [sp]
movs r4, 0xFF
@ -43764,7 +43764,7 @@ sub_801FDDC: @ 801FDDC
bl PrintTextOnWindow
ldr r0, [r5]
ldrb r0, [r0, 0x18]
ldr r2, =gUnknown_085EAE66
ldr r2, =gText_No
movs r1, 0x11
str r1, [sp]
str r4, [sp, 0x4]
@ -47446,13 +47446,13 @@ _08021C5E:
cmp r3, r2
bne _08021CC0
ldr r0, =gStringVar3
ldr r1, =gUnknown_085ED7D4
ldr r1, =gText_1DotBlueF700
bl StringCopy
b _08021CC8
.pool
_08021CC0:
ldr r0, =gStringVar3
ldr r1, =gUnknown_085ED7E0
ldr r1, =gText_1DotF700
bl StringCopy
_08021CC8:
ldr r4, =gStringVar3
@ -47541,13 +47541,13 @@ sub_8021D34: @ 8021D34
ldr r4, =gUnknown_082F32D8
str r4, [sp]
str r6, [sp, 0x4]
ldr r1, =gUnknown_085ED808
ldr r1, =gText_TimeColon
str r1, [sp, 0x8]
movs r1, 0x2
movs r2, 0
adds r3, r7, 0
bl box_print
ldr r4, =gUnknown_085ED840
ldr r4, =gText_SpaceSec
movs r0, 0x2
adds r1, r4, 0
movs r2, 0x1
@ -47587,7 +47587,7 @@ sub_8021D34: @ 8021D34
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r5, =gStringVar4
ldr r1, =gUnknown_085ED838
ldr r1, =gText_XDotY2
adds r0, r5, 0
bl StringExpandPlaceholders
movs r0, 0x2
@ -47609,7 +47609,7 @@ sub_8021D34: @ 8021D34
adds r2, r6, 0
adds r3, r7, 0
bl box_print
ldr r4, =gUnknown_085ED830
ldr r4, =gText_SpaceMin
movs r0, 0x2
adds r1, r4, 0
movs r2, 0x1
@ -47638,7 +47638,7 @@ sub_8021D34: @ 8021D34
movs r2, 0x2
movs r3, 0x1
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085ED82C
ldr r1, =gText_StrVar1
adds r0, r5, 0
bl StringExpandPlaceholders
movs r0, 0x2
@ -47669,13 +47669,13 @@ sub_8021D34: @ 8021D34
str r4, [sp]
mov r1, r10
str r1, [sp, 0x4]
ldr r1, =gUnknown_085ED810
ldr r1, =gText_PressingSpeed
str r1, [sp, 0x8]
movs r1, 0x2
movs r2, 0
adds r3, r7, 0
bl box_print
ldr r4, =gUnknown_085ED850
ldr r4, =gText_TimesPerSec
movs r0, 0x2
adds r1, r4, 0
movs r2, 0x1
@ -47745,7 +47745,7 @@ _08021F0A:
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085ED848
ldr r1, =gText_XDotY3
adds r0, r4, 0
bl StringExpandPlaceholders
movs r2, 0x1
@ -47808,7 +47808,7 @@ _08021FDE:
str r2, [sp]
movs r5, 0
str r5, [sp, 0x4]
ldr r1, =gUnknown_085ED820
ldr r1, =gText_Silkiness
str r1, [sp, 0x8]
movs r1, 0x2
movs r2, 0
@ -47821,7 +47821,7 @@ _08021FDE:
movs r3, 0x3
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085ED85C
ldr r1, =gText_Var1Percent
adds r0, r4, 0
bl StringExpandPlaceholders
movs r2, 0x1
@ -47961,7 +47961,7 @@ _0802214E:
adds r0, r6, 0
adds r0, 0x82
ldrb r0, [r0]
ldr r3, =gUnknown_085ED860
ldr r3, =gText_PressesRankings
movs r1, 0x14
movs r2, 0x3
bl sub_80219C8
@ -48012,7 +48012,7 @@ _080221C8:
adds r0, r6, 0
adds r0, 0x82
ldrb r0, [r0]
ldr r3, =gUnknown_085ED878
ldr r3, =gText_CrushingResults
movs r1, 0x16
movs r2, 0x3
bl sub_80219C8
@ -48140,7 +48140,7 @@ _08022296:
b _080224BA
.pool
_080222D0:
ldr r0, =gUnknown_085ED8D0
ldr r0, =gText_BerryCrush2
mov r10, r0
movs r1, 0x1
negs r1, r1
@ -48165,7 +48165,7 @@ _080222D0:
adds r2, r7, 0
movs r3, 0x1
bl box_print
ldr r0, =gUnknown_085ED8DC
ldr r0, =gText_PressingSpeedRankings
mov r10, r0
movs r0, 0x1
mov r1, r10
@ -48195,7 +48195,7 @@ _08022336:
movs r3, 0x1
bl ConvertIntToDecimalStringN
ldr r0, =gStringVar4
ldr r1, =gUnknown_085ED8F4
ldr r1, =gText_Var1Players
bl StringExpandPlaceholders
ldrb r0, [r6, 0x2]
ldr r1, =gUnknown_082F32D8
@ -48209,7 +48209,7 @@ _08022336:
mov r3, r10
bl box_print
movs r0, 0x1
ldr r1, =gUnknown_085ED850
ldr r1, =gText_TimesPerSec
movs r2, 0x1
negs r2, r2
bl GetStringWidth
@ -48222,7 +48222,7 @@ _08022336:
str r1, [sp]
movs r1, 0
str r1, [sp, 0x4]
ldr r1, =gUnknown_085ED850
ldr r1, =gText_TimesPerSec
str r1, [sp, 0x8]
movs r1, 0x1
adds r2, r7, 0
@ -48280,7 +48280,7 @@ _080223CA:
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r0, =gStringVar4
ldr r1, =gUnknown_085ED848
ldr r1, =gText_XDotY3
bl StringExpandPlaceholders
movs r0, 0x1
ldr r1, =gStringVar4
@ -52907,7 +52907,7 @@ sub_802482C: @ 802482C
adds r2, r4, 0
adds r3, r5, 0
bl SetWindowBorderStyle
ldr r2, =gUnknown_085EDCDE
ldr r2, =gText_Powder
movs r0, 0x1
str r0, [sp]
movs r0, 0xFF
@ -59274,7 +59274,7 @@ _08027AFE:
ldr r0, [r0]
str r0, [sp]
str r1, [sp, 0x4]
ldr r1, =gUnknown_085EDCE5
ldr r1, =gText_BerryPickingRecords
movs r0, 0x1
movs r2, 0
bl GetStringWidth
@ -59414,7 +59414,7 @@ sub_8027BEC: @ 8027BEC
adds r0, r7, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r4, =gUnknown_085EDCE5
ldr r4, =gText_BerryPickingRecords
ldr r0, [sp, 0x18]
lsls r2, r0, 3
movs r0, 0x1
@ -62799,7 +62799,7 @@ _08029728:
bcc _08029700
_0802972E:
movs r5, 0
ldr r4, =gUnknown_085EDE5D
ldr r4, =gText_SpacePoints
cmp r5, r7
bcs _08029754
add r1, sp, 0x34
@ -62939,7 +62939,7 @@ _080297CC:
movs r1, 0
str r1, [sp, 0x8]
movs r1, 0x1
ldr r2, =gUnknown_085EDE5D
ldr r2, =gText_SpacePoints
lsrs r3, 24
bl PrintTextOnWindow
adds r0, r5, 0x1
@ -63057,7 +63057,7 @@ _0802996C:
ldrb r0, [r0]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EDD49
ldr r2, =gText_BerryPickingResults
mov r8, r2
movs r2, 0x1
negs r2, r2
@ -63084,7 +63084,7 @@ _0802996C:
ldr r0, [r4]
add r0, r9
ldrb r0, [r0]
ldr r2, =gUnknown_085EDD6B
ldr r2, =gText_10P30P50P50P
movs r1, 0x11
str r1, [sp]
str r6, [sp, 0x4]
@ -63324,7 +63324,7 @@ _08029BFC:
ldrb r0, [r0]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r6, =gUnknown_085EDD86
ldr r6, =gText_AnnouncingRankings
movs r2, 0x1
negs r2, r2
movs r0, 0x1
@ -63488,7 +63488,7 @@ _08029DA0:
ldrb r0, [r0]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r5, =gUnknown_085EDD9B
ldr r5, =gText_AnnouncingPrizes
movs r2, 0x1
negs r2, r2
movs r0, 0x1
@ -63525,7 +63525,7 @@ _08029DA0:
adds r1, r5, 0
bl sub_81AFC0C
ldr r7, =gStringVar4
ldr r1, =gUnknown_085EDDBD
ldr r1, =gText_FirstPlacePrize
adds r0, r7, 0
bl sub_81AFC28
ldr r0, [r4]
@ -63559,7 +63559,7 @@ _08029DA0:
bl sub_81AFC0C
cmp r4, 0x2
bne _08029E9C
ldr r1, =gUnknown_085EDDE2
ldr r1, =gText_CantHoldAnyMore
adds r0, r7, 0
bl sub_81AFC28
b _08029EA8
@ -63567,7 +63567,7 @@ _08029DA0:
_08029E9C:
cmp r6, 0x1
bne _08029EA8
ldr r1, =gUnknown_085EDDFB
ldr r1, =gText_FilledStorageSpace
adds r0, r7, 0
bl sub_81AFC28
_08029EA8:
@ -63809,7 +63809,7 @@ _0802A0CC:
ldr r0, [r7]
add r0, r8
ldrb r0, [r0]
ldr r2, =gUnknown_085EDE18
ldr r2, =gText_WantToPlayAgain
movs r1, 0x5
str r1, [sp]
movs r3, 0xFF
@ -63823,7 +63823,7 @@ _0802A0CC:
ldr r0, [r7]
add r0, r10
ldrb r0, [r0]
ldr r2, =gUnknown_085EAE62
ldr r2, =gText_Yes
str r6, [sp]
mov r3, r9
str r3, [sp, 0x4]
@ -63835,7 +63835,7 @@ _0802A0CC:
ldr r0, [r7]
add r0, r10
ldrb r0, [r0]
ldr r2, =gUnknown_085EAE66
ldr r2, =gText_No
movs r1, 0x11
str r1, [sp]
mov r3, r9
@ -63912,7 +63912,7 @@ _0802A1DC:
ldr r0, [r7]
add r0, r8
ldrb r0, [r0]
ldr r2, =gUnknown_085EAE62
ldr r2, =gText_Yes
movs r1, 0x1
str r1, [sp]
movs r3, 0xFF
@ -63927,7 +63927,7 @@ _0802A1DC:
ldr r0, [r7]
add r0, r8
ldrb r0, [r0]
ldr r2, =gUnknown_085EAE66
ldr r2, =gText_No
movs r1, 0x11
str r1, [sp]
mov r3, r10
@ -64234,7 +64234,7 @@ _0802A4AC:
ldr r0, [r5]
adds r0, r4
ldrb r0, [r0]
ldr r2, =gUnknown_085EDE65
ldr r2, =gText_CommunicationStandby3
movs r1, 0x5
str r1, [sp]
movs r1, 0xFF
@ -64394,7 +64394,7 @@ _0802A610:
ldr r0, [r6]
adds r0, r4
ldrb r0, [r0]
ldr r2, =gUnknown_085EDE2C
ldr r2, =gText_SomeoneDroppedOut
movs r1, 0x5
str r1, [sp]
movs r1, 0xFF
@ -70271,7 +70271,7 @@ _0802D46A:
strh r0, [r1, 0x12]
lsls r0, 24
lsrs r0, 24
ldr r2, =gUnknown_085EDF2A
ldr r2, =gText_WantToPlayAgain2
movs r1, 0x1
str r1, [sp]
movs r1, 0xFF
@ -70473,7 +70473,7 @@ _0802D606:
strh r0, [r1, 0x12]
lsls r0, 24
lsrs r0, 24
ldr r2, =gUnknown_085EDF3E
ldr r2, =gText_SomeoneDroppedOut2
movs r1, 0x1
str r1, [sp]
movs r1, 0xFF
@ -70553,7 +70553,7 @@ _0802D6AA:
strh r0, [r1, 0x12]
lsls r0, 24
lsrs r0, 24
ldr r2, =gUnknown_085EDF6F
ldr r2, =gText_CommunicationStandby4
movs r1, 0x1
str r1, [sp]
movs r1, 0xFF
@ -70740,7 +70740,7 @@ sub_802D7E8: @ 802D7E8
bl sub_81AFC0C
ldr r0, [r5]
adds r0, 0xA6
ldr r1, =gUnknown_085EDED3
ldr r1, =gText_AwesomeWonF701F700
bl sub_81AFC28
movs r0, 0x4
movs r1, 0x8
@ -70793,7 +70793,7 @@ sub_802D884: @ 802D884
bl sub_81AFC0C
ldr r0, [r4]
adds r0, 0xA6
ldr r1, =gUnknown_085EDEF4
ldr r1, =gText_FilledStorageSpace2
bl sub_81AFC28
movs r0, 0x4
movs r1, 0x8
@ -70846,7 +70846,7 @@ sub_802D8FC: @ 802D8FC
bl sub_81AFC0C
ldr r0, [r4]
adds r0, 0xA6
ldr r1, =gUnknown_085EDF11
ldr r1, =gText_CantHoldMore
bl sub_81AFC28
movs r0, 0x4
movs r1, 0x9
@ -71167,7 +71167,7 @@ sub_802DB8C: @ 802DB8C
str r0, [sp]
movs r4, 0
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EDE7C
ldr r0, =gText_SpacePoints2
str r0, [sp, 0x8]
movs r0, 0
movs r1, 0
@ -71177,7 +71177,7 @@ sub_802DB8C: @ 802DB8C
add r0, sp, 0xC
str r0, [sp]
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EDE84
ldr r0, =gText_SpaceTimes3
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0
@ -72272,7 +72272,7 @@ _0802E416:
ldr r0, [r0]
str r0, [sp]
str r1, [sp, 0x4]
ldr r1, =gUnknown_085EDE8D
ldr r1, =gText_PkmnJumpRecords
movs r0, 0x1
movs r2, 0
bl GetStringWidth
@ -72407,7 +72407,7 @@ sub_802E500: @ 802E500
adds r0, r4, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r5, =gUnknown_085EDE8D
ldr r5, =gText_PkmnJumpRecords
ldr r1, [sp, 0x1C]
lsls r2, r1, 3
movs r0, 0x1

View File

@ -691,7 +691,7 @@ _08121A8A:
ldrb r0, [r0]
cmp r0, 0
bne _08121AF0
ldr r1, =gUnknown_085EEA78
ldr r1, =gText_FromSpace
adds r0, r2, 0
bl StringCopy
ldr r0, [r4]
@ -825,7 +825,7 @@ _08121BB8:
cmp r6, r0
bcc _08121B60
_08121BCC:
ldr r1, =gUnknown_085EEA78
ldr r1, =gText_FromSpace
add r0, sp, 0xC
bl StringCopy
ldr r4, =gUnknown_0203A134

View File

@ -4547,7 +4547,7 @@ fmt_time: @ 8031E94
push {r4-r6,lr}
sub sp, 0xC
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EDCC3
ldr r1, =gText_ContinueMenuPlayer
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r6, =gUnknown_082FF0E3
@ -4589,7 +4589,7 @@ fmt_player: @ 8031EF8
push {r4-r6,lr}
sub sp, 0x2C
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EDCCA
ldr r1, =gText_ContinueMenuTime
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r6, =gUnknown_082FF0E3
@ -4664,7 +4664,7 @@ _08031FAA:
lsls r0, 16
lsrs r7, r0, 16
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EDCCF
ldr r1, =gText_ContinueMenuPokedex
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r6, =gUnknown_082FF0E3
@ -4728,7 +4728,7 @@ _08032030:
cmp r4, r0
bls _0803201C
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EDCD7
ldr r1, =gText_ContinueMenuBadges
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r6, =gUnknown_082FF0E3

View File

@ -97,7 +97,7 @@ _0809749A:
lsls r0, 31
cmp r0, 0
beq _080974B8
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
cmp r4, r0
beq _080974B8
@ -133,7 +133,7 @@ _080974DA:
lsls r0, 31
cmp r0, 0
beq _080974FC
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
cmp r4, r0
beq _080974FC
@ -769,16 +769,16 @@ _08097964:
.pool
thumb_func_end sub_80978E4
thumb_func_start sub_8097978
@ void sub_8097978(struct obj *object, u16 a2)
sub_8097978: @ 8097978
thumb_func_start SetFieldObjectStepTimer
@ void SetFieldObjectStepTimer(struct obj *object, u16 a2)
SetFieldObjectStepTimer: @ 8097978
strh r1, [r0, 0x34]
bx lr
thumb_func_end sub_8097978
thumb_func_end SetFieldObjectStepTimer
thumb_func_start sub_809797C
@ bool8 sub_809797C(struct obj *object)
sub_809797C: @ 809797C
thumb_func_start RunFieldObjectStepTimer
@ bool8 RunFieldObjectStepTimer(struct obj *object)
RunFieldObjectStepTimer: @ 809797C
push {lr}
ldrh r1, [r0, 0x34]
subs r1, 0x1
@ -793,7 +793,7 @@ _0809798E:
_08097990:
pop {r1}
bx r1
thumb_func_end sub_809797C
thumb_func_end RunFieldObjectStepTimer
thumb_func_start obj_anim_image_set_and_seek
obj_anim_image_set_and_seek: @ 8097994
@ -1396,7 +1396,7 @@ oe_exec_and_other_stuff: @ 8097DD0
adds r0, r1, 0
lsls r4, 24
lsrs r4, 24
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
adds r2, r1, 0x4
adds r3, r1, 0
adds r3, 0x8
@ -1434,7 +1434,7 @@ DoRippleFieldEffect: @ 8097E14
adds r4, r1, 0
ldrb r0, [r0, 0x5]
bl GetFieldObjectGraphicsInfo
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
movs r3, 0x20
ldrsh r1, [r4, r3]
str r1, [r2]
@ -1771,7 +1771,7 @@ _08098082:
lsls r0, 31
cmp r0, 0
beq _080980A8
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
cmp r4, r0
beq _080980A8

View File

@ -8,7 +8,7 @@
thumb_func_start walkrun_is_standing_still
walkrun_is_standing_still: @ 8098388
push {lr}
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x3]
cmp r0, 0x1
beq _0809839C

View File

@ -1400,7 +1400,7 @@ _08120BB0:
movs r2, 0x8
bl memset
mov r0, sp
ldr r1, =gUnknown_085EDFB0
ldr r1, =gText_Friend
bl StringCopy
adds r0, r5, 0
mov r1, sp
@ -2218,7 +2218,7 @@ sub_8121178: @ 8121178
sub_81211EC: @ 81211EC
push {r4,r5,lr}
sub sp, 0xC
ldr r1, =gUnknown_085EB7EA
ldr r1, =gText_Exit
movs r0, 0x1
movs r2, 0
bl GetStringWidth
@ -2309,7 +2309,7 @@ _08121272:
_081212AA:
ldr r5, =gUnknown_0203A130
ldrb r0, [r5]
ldr r2, =gUnknown_085EB7EA
ldr r2, =gText_Exit
lsls r1, r4, 4
adds r1, 0x1
lsls r1, 24

View File

@ -1250,7 +1250,7 @@ RedrawMenuCursor: @ 8198448
bl FillWindowPixelRect
ldrb r0, [r5, 0x5]
ldrb r1, [r5, 0x6]
ldr r2, =gUnknown_085EE498
ldr r2, =gText_SelectorArrow3
ldrb r3, [r5]
ldrb r4, [r5, 0x8]
mov r6, r8
@ -2139,7 +2139,7 @@ sub_8198AF8: @ 8198AF8
adds r2, r4, 0
adds r3, r5, 0
bl SetWindowBorderStyle
ldr r0, =gUnknown_085EE491
ldr r0, =gText_YesNo
str r0, [sp, 0xC]
add r1, sp, 0xC
ldrb r0, [r7]
@ -2877,7 +2877,7 @@ sub_8199060: @ 8199060
lsrs r3, 24
ldrb r0, [r5, 0x5]
ldrb r1, [r5, 0x6]
ldr r2, =gUnknown_085EE498
ldr r2, =gText_SelectorArrow3
str r3, [sp]
movs r3, 0
str r3, [sp, 0x4]
@ -3668,7 +3668,7 @@ CreateYesNoMenu: @ 81996C0
adds r2, r4, 0
adds r3, r5, 0
bl SetWindowBorderStyle
ldr r0, =gUnknown_085EE491
ldr r0, =gText_YesNo
str r0, [sp]
mov r1, sp
mov r2, r8

View File

@ -105,7 +105,7 @@ _080E5258:
cmp r0, 0
bgt _080E5258
_080E5264:
ldr r1, =gUnknown_085E969C
ldr r1, =gText_PokedollarVar1
adds r0, r2, 0
bl StringExpandPlaceholders
ldr r2, =gStringVar4

View File

@ -115,7 +115,7 @@ sub_8178A40: @ 8178A40
movs r5, 0x1
cmp r4, 0
bne _08178A54
ldr r1, =gUnknown_085EE80A
ldr r1, =gText_EventSafelyLoaded
bl StringCopy
movs r5, 0
_08178A54:
@ -125,7 +125,7 @@ _08178A54:
_08178A5A:
cmp r4, 0x1
bne _08178A66
ldr r1, =gUnknown_085EE827
ldr r1, =gText_LoadErrorEndingSession
adds r0, r6, 0
bl StringCopy
_08178A66:
@ -204,7 +204,7 @@ _08178B12:
beq _08178B20
b _08178E58
_08178B20:
ldr r1, =gUnknown_085EE765
ldr r1, =gText_LinkStandby2
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -256,7 +256,7 @@ _08178B8E:
_08178B98:
movs r0, 0x15
bl PlaySE
ldr r1, =gUnknown_085EE788
ldr r1, =gText_PressAToLoadEvent
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -301,7 +301,7 @@ _08178BDC:
movs r2, 0x1
movs r3, 0xD
bl SetWindowBorderStyle
ldr r1, =gUnknown_085EE7BF
ldr r1, =gText_LoadingEvent
movs r0, 0
str r0, [sp]
movs r0, 0x1
@ -373,7 +373,7 @@ _08178CAC:
lsls r0, 24
cmp r0, 0
beq _08178CCC
ldr r1, =gUnknown_085EE7CE
ldr r1, =gText_DontRemoveCableTurnOff
movs r0, 0x1
str r0, [sp]
movs r0, 0

View File

@ -782,7 +782,7 @@ sub_8153E1C: @ 8153E1C
adds r4, r0, 0
bl EnableResetRTC
ldr r0, =gStringVar4
ldr r1, =gUnknown_085ECAD8
ldr r1, =gText_InGameClockUsable
bl StringExpandPlaceholders
movs r0, 0x2
str r0, [r4, 0x6C]

View File

@ -4033,7 +4033,7 @@ sub_80E4EF0: @ 80E4EF0
str r1, [sp]
movs r1, 0
str r1, [sp, 0x4]
ldr r1, =gUnknown_085EEAF6
ldr r1, =gText_MoveOkBack
str r1, [sp, 0x8]
movs r1, 0
movs r2, 0x2

View File

@ -906,7 +906,7 @@ sub_80BAC38: @ 80BAC38
adds r1, r0
movs r0, 0x1
strb r0, [r1]
ldr r4, =gUnknown_085EE5D4
ldr r4, =gText_TextSpeedSlow
mov r0, sp
ldrb r3, [r0]
adds r0, r4, 0
@ -917,14 +917,14 @@ sub_80BAC38: @ 80BAC38
movs r2, 0
bl GetStringWidth
adds r4, r0, 0
ldr r0, =gUnknown_085EE5DF
ldr r0, =gText_TextSpeedMid
mov r8, r0
movs r0, 0x1
mov r1, r8
movs r2, 0
bl GetStringWidth
adds r5, r0, 0
ldr r6, =gUnknown_085EE5E9
ldr r6, =gText_TextSpeedFast
movs r0, 0x1
adds r1, r6, 0
movs r2, 0
@ -1000,13 +1000,13 @@ sub_80BAD08: @ 80BAD08
adds r1, r0
movs r0, 0x1
strb r0, [r1]
ldr r0, =gUnknown_085EE5F4
ldr r0, =gText_BattleSceneOn
mov r1, sp
ldrb r3, [r1]
movs r1, 0x68
movs r2, 0x10
bl sub_80BAB68
ldr r4, =gUnknown_085EE5FD
ldr r4, =gText_BattleSceneOff
movs r0, 0x1
adds r1, r4, 0
movs r2, 0xC6
@ -1061,13 +1061,13 @@ sub_80BAD84: @ 80BAD84
adds r1, r0
movs r0, 0x1
strb r0, [r1]
ldr r0, =gUnknown_085EE607
ldr r0, =gText_BattleStyleShift
mov r1, sp
ldrb r3, [r1]
movs r1, 0x68
movs r2, 0x20
bl sub_80BAB68
ldr r4, =gUnknown_085EE613
ldr r4, =gText_BattleStyleSet
movs r0, 0x1
adds r1, r4, 0
movs r2, 0xC6
@ -1125,13 +1125,13 @@ sub_80BAE08: @ 80BAE08
adds r1, r0
movs r0, 0x1
strb r0, [r1]
ldr r0, =gUnknown_085EE61D
ldr r0, =gText_SoundMono
mov r1, sp
ldrb r3, [r1]
movs r1, 0x68
movs r2, 0x30
bl sub_80BAB68
ldr r4, =gUnknown_085EE628
ldr r4, =gText_SoundStereo
movs r0, 0x1
adds r1, r4, 0
movs r2, 0xC6
@ -1243,9 +1243,9 @@ sub_80BAF0C: @ 80BAF0C
adds r0, r1
lsrs r6, r0, 24
movs r5, 0
ldr r1, =gUnknown_085EE640
ldr r1, =gText_FrameTypeNumber
ldrb r0, [r1]
ldr r7, =gUnknown_085EE635
ldr r7, =gText_FrameType
cmp r0, 0xFF
beq _080BAF44
adds r2, r1, 0
@ -1394,7 +1394,7 @@ sub_80BB028: @ 80BB028
adds r1, r0
movs r0, 0x1
strb r0, [r1]
ldr r4, =gUnknown_085EE647
ldr r4, =gText_ButtonTypeNormal
mov r0, sp
ldrb r3, [r0]
adds r0, r4, 0
@ -1406,14 +1406,14 @@ sub_80BB028: @ 80BB028
movs r2, 0
bl GetStringWidth
adds r4, r0, 0
ldr r0, =gUnknown_085EE654
ldr r0, =gText_ButtonTypeLR
mov r8, r0
movs r0, 0x1
mov r1, r8
movs r2, 0
bl GetStringWidth
adds r5, r0, 0
ldr r6, =gUnknown_085EE65D
ldr r6, =gText_ButtonTypeLEqualsA
movs r0, 0x1
adds r1, r6, 0
movs r2, 0
@ -1461,7 +1461,7 @@ sub_80BB0D0: @ 80BB0D0
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EE589
ldr r2, =gText_Option
movs r0, 0x1
str r0, [sp]
movs r0, 0xFF

View File

@ -2484,7 +2484,7 @@ sub_81B1660: @ 81B1660
ands r1, r0
cmp r1, 0x2
bne _081B1680
ldr r5, =gUnknown_085EA110
ldr r5, =gText_CancelParticipation
b _081B168A
.pool
_081B1680:
@ -3290,7 +3290,7 @@ sub_81B1C84: @ 81B1C84
adds r0, r4, 0
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E991B
ldr r1, =gText_PkmnWasGivenItem
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -3319,7 +3319,7 @@ sub_81B1CD0: @ 81B1CD0
adds r0, r4, 0
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E999D
ldr r1, =gText_RecievedItemFromPkmn
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -3348,7 +3348,7 @@ sub_81B1D1C: @ 81B1D1C
adds r0, r4, 0
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E993A
ldr r1, =gText_SwitchPkmnItem
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -3379,7 +3379,7 @@ sub_81B1D68: @ 81B1D68
adds r0, r4, 0
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E99DB
ldr r1, =gText_SwitchedPkmnItem
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -3474,7 +3474,7 @@ _081B1E3E:
pokemon_item_not_removed: @ 81B1E48
push {lr}
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9A69
ldr r1, =gText_BagFullCouldNotRemoveItem
bl StringExpandPlaceholders
pop {r0}
bx r0
@ -3937,7 +3937,7 @@ sub_81B21AC: @ 81B21AC
_081B21DC:
movs r0, 0x20
bl PlaySE
ldr r0, =gUnknown_085EA0EE
ldr r0, =gText_PkmnCantParticipate
movs r1, 0
bl sub_81B1B5C
movs r0, 0x2
@ -3962,7 +3962,7 @@ sub_81B2210: @ 81B2210
adds r4, r0, 0
lsls r4, 24
lsrs r4, 24
ldr r0, =gUnknown_085EA110
ldr r0, =gText_CancelParticipation
movs r1, 0x1
bl sub_81B1B5C
movs r0, 0x2
@ -6407,7 +6407,7 @@ _081B3674:
cmp r6, 0
bne _081B36C0
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9980
ldr r1, =gText_PkmnNotHolding
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -8348,7 +8348,7 @@ _081B4788:
adds r0, r5, 0
bl GetMonNickname
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9980
ldr r1, =gText_PkmnNotHolding
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -8409,7 +8409,7 @@ sub_81B47E0: @ 81B47E0
adds r0, r7, 0
bl GetMonNickname
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9980
ldr r1, =gText_PkmnNotHolding
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -8428,7 +8428,7 @@ _081B4864:
adds r0, r5, 0
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9E00
ldr r1, =gText_ThrowAwayItem
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -8511,7 +8511,7 @@ _081B491A:
ldr r1, =gStringVar1
bl CopyItemName
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9E14
ldr r1, =gText_ItemThrownAway
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -8731,7 +8731,7 @@ brm_take_2: @ 81B4B20
ldr r0, [r5]
adds r0, 0xC
bl sub_81B302C
ldr r0, =gUnknown_085E9855
ldr r0, =gText_SendMailToPC
movs r1, 0x1
bl sub_81B1B5C
ldr r1, =gTasks
@ -8806,7 +8806,7 @@ _081B4BC6:
lsrs r0, 24
cmp r0, 0xFF
beq _081B4C0C
ldr r0, =gUnknown_085E9877
ldr r0, =gText_MailSentToPC
movs r1, 0
bl sub_81B1B5C
ldr r1, =gTasks
@ -8818,7 +8818,7 @@ _081B4BC6:
b _081B4C4A
.pool
_081B4C0C:
ldr r0, =gUnknown_085E9897
ldr r0, =gText_PCMailboxFull
movs r1, 0
bl sub_81B1B5C
ldr r1, =gTasks
@ -8833,7 +8833,7 @@ _081B4C30:
movs r0, 0x5
bl PlaySE
_081B4C36:
ldr r0, =gUnknown_085E98B4
ldr r0, =gText_MailMessageWillBeLost
movs r1, 0x1
bl sub_81B1B5C
ldr r1, =gTasks
@ -8926,7 +8926,7 @@ _081B4CBE:
muls r0, r7
adds r0, r6
bl sub_80D4680
ldr r0, =gUnknown_085E99B8
ldr r0, =gText_MailTakenFromPkmn
movs r1, 0
bl sub_81B1B5C
ldr r1, =gTasks
@ -9167,7 +9167,7 @@ _081B4F36:
movs r3, 0x1
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9830
ldr r1, =gText_NoMoreThanVar1Pkmn
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0x20
@ -9411,13 +9411,13 @@ sub_81B50C8: @ 81B50C8
.pool
_081B515C:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA210
ldr r1, =gText_PkmnCantBeTradedNow
bl StringExpandPlaceholders
b _081B5178
.pool
_081B5170:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA234
ldr r1, =gText_EggCantBeTradedNow
bl StringExpandPlaceholders
_081B5178:
movs r0, 0x20
@ -9430,7 +9430,7 @@ _081B5178:
adds r0, 0xD
bl sub_81B302C
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA1CA
ldr r1, =gText_PauseUntilPress
adds r0, r4, 0
bl StringAppend
adds r0, r4, 0
@ -9530,7 +9530,7 @@ brm_trade_1: @ 81B51D4
ldr r0, [r4]
adds r0, 0xD
bl sub_81B302C
ldr r1, =gUnknown_085EA1CA
ldr r1, =gText_PauseUntilPress
adds r0, r5, 0
bl StringAppend
adds r0, r5, 0
@ -9594,19 +9594,19 @@ _081B5328:
b _081B5368
_081B532E:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA1E8
ldr r1, =gText_OnlyPkmnForBattle
bl StringExpandPlaceholders
b _081B53C0
.pool
_081B5340:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA210
ldr r1, =gText_PkmnCantBeTradedNow
bl StringExpandPlaceholders
b _081B53C0
.pool
_081B5354:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA234
ldr r1, =gText_EggCantBeTradedNow
bl StringExpandPlaceholders
b _081B53C0
.pool
@ -9623,7 +9623,7 @@ _081B5368:
ldr r1, =gStringVar1
bl GetMonNickname
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA1CD
ldr r1, =gJPText_PutVar1IntoSpinner
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -9641,7 +9641,7 @@ _081B53C0:
movs r0, 0x20
bl PlaySE
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA1CA
ldr r1, =gText_PauseUntilPress
adds r0, r4, 0
bl StringAppend
adds r0, r4, 0
@ -9787,7 +9787,7 @@ _081B54E8:
lsrs r0, 24
cmp r0, 0x1
beq _081B5524
ldr r0, =gUnknown_085E97FC
ldr r0, =gText_CantUseUntilNewBadge
movs r1, 0x1
bl sub_81B1B5C
ldr r1, =gTasks
@ -9852,7 +9852,7 @@ _081B557C:
ldrb r1, [r1, 0x14]
bl sub_81245DC
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA196
ldr r1, =gText_ReturnToHealingSpot
b _081B55E8
.pool
_081B55B8:
@ -9877,7 +9877,7 @@ _081B55B8:
ldrb r1, [r1, 0x14]
bl sub_81245DC
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA16B
ldr r1, =gText_EscapeFromHere
_081B55E8:
bl StringExpandPlaceholders
adds r0, r6, 0
@ -10051,7 +10051,7 @@ task_launch_hm_phase_2: @ 81B5750
cmp r0, 0x1
bne _081B577C
bl brm_get_selected_species
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 16
lsrs r0, 16
str r0, [r1]
@ -10135,7 +10135,7 @@ _081B57FE:
hm_surf_run_dp02scr: @ 81B5804
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -10239,7 +10239,7 @@ sub_81B58A8: @ 81B58A8
hm2_waterfall: @ 81B58D4
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -10299,7 +10299,7 @@ _081B594E:
sub_81B5958: @ 81B5958
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -10314,7 +10314,7 @@ sub_81B5958: @ 81B5958
sub_81B5974: @ 81B5974
push {lr}
bl sub_809D1E8
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1, 0x4]
@ -11562,102 +11562,102 @@ _081B6334:
.4byte _081B64A8
_081B6380:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9C3E
ldr r1, =gText_PkmnCuredOfPoison
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B6394:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9C7C
ldr r1, =gText_PkmnWokeUp2
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B63A8:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9C8A
ldr r1, =gText_PkmnBurnHealed
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B63BC:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9CA2
ldr r1, =gText_PkmnThawedOut
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B63D0:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9C5F
ldr r1, =gText_PkmnCuredOfParalysis
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B63E4:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9DBE
ldr r1, =gText_PkmnSnappedOutOfConfusion
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B63F8:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9DE1
ldr r1, =gText_PkmnGotOverInfatuation
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B640C:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9CE0
ldr r1, =gText_PkmnBecameHealthy
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B6420:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085E96E3
ldr r1, =gText_HP3
b _081B6474
.pool
_081B6430:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085EA33C
ldr r1, =gText_Attack3
b _081B6474
.pool
_081B6440:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085EA343
ldr r1, =gText_Defense3
b _081B6474
.pool
_081B6450:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085EA35B
ldr r1, =gText_Speed2
b _081B6474
.pool
_081B6460:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085E96E6
ldr r1, =gText_SpAtk3
b _081B6474
.pool
_081B6470:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085E96EE
ldr r1, =gText_SpDef3
_081B6474:
bl StringCopy
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9D25
ldr r1, =gText_PkmnBaseVar2StatIncreased
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B6494:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9CF5
ldr r1, =gText_MovesPPIncreased
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B64A8:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9CB7
ldr r1, =gText_PPWasRestored
bl StringExpandPlaceholders
b _081B64C4
.pool
_081B64BC:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E96F6
ldr r1, =gText_WontHaveEffect
bl StringExpandPlaceholders
_081B64C4:
pop {r0}
@ -11830,7 +11830,7 @@ _081B6600:
strb r0, [r1]
movs r0, 0x5
bl PlaySE
ldr r0, =gUnknown_085E96F6
ldr r0, =gText_WontHaveEffect
b _081B66F4
.pool
_081B6624:
@ -11964,7 +11964,7 @@ sub_81B672C: @ 81B672C
ldr r1, =gStringVar1
bl GetMonNickname
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9C17
ldr r1, =gText_PkmnHPRestoredByVar2
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -12083,7 +12083,7 @@ _081B6850:
strb r0, [r1]
movs r0, 0x5
bl PlaySE
ldr r0, =gUnknown_085E96F6
ldr r0, =gText_WontHaveEffect
b _081B68E2
.pool
_081B6874:
@ -12108,19 +12108,19 @@ _081B6874:
cmp r0, r8
beq _081B68C4
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9D45
ldr r1, =gText_PkmnFriendlyBaseVar2Fell
bl StringExpandPlaceholders
b _081B68E0
.pool
_081B68C4:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9D90
ldr r1, =gText_PkmnFriendlyBaseVar2CantFall
bl StringExpandPlaceholders
b _081B68E0
.pool
_081B68D8:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9D6D
ldr r1, =gText_PkmnAdoresBaseVar2Fell
bl StringExpandPlaceholders
_081B68E0:
ldr r0, =gStringVar4
@ -12239,30 +12239,30 @@ _081B69B8:
.4byte _081B69E8
.4byte _081B69E0
_081B69D0:
ldr r1, =gUnknown_085E96E3
ldr r1, =gText_HP3
b _081B69F2
.pool
_081B69D8:
ldr r1, =gUnknown_085EA33C
ldr r1, =gText_Attack3
b _081B69F2
.pool
_081B69E0:
ldr r1, =gUnknown_085EA343
ldr r1, =gText_Defense3
b _081B69F2
.pool
_081B69E8:
ldr r1, =gUnknown_085EA35B
ldr r1, =gText_Speed2
b _081B69F2
.pool
_081B69F0:
ldr r1, =gUnknown_085E96E6
ldr r1, =gText_SpAtk3
_081B69F2:
adds r0, r2, 0
bl StringCopy
b _081B6A08
.pool
_081B6A00:
ldr r1, =gUnknown_085E96EE
ldr r1, =gText_SpDef3
adds r0, r2, 0
bl StringCopy
_081B6A08:
@ -12517,7 +12517,7 @@ ether_effect_related: @ 81B6BEC
strb r4, [r0]
movs r0, 0x5
bl PlaySE
ldr r0, =gUnknown_085E96F6
ldr r0, =gText_WontHaveEffect
b _081B6C7E
.pool
_081B6C34:
@ -12775,18 +12775,18 @@ sub_81B6DC4: @ 81B6DC4
b _081B6E9C
.pool
_081B6E70:
ldr r1, =gUnknown_085E9AB4
ldr r1, =gText_PkmnCantLearnMove
b _081B6E7A
.pool
_081B6E78:
ldr r1, =gUnknown_085E9C00
ldr r1, =gText_PkmnAlreadyKnows
_081B6E7A:
adds r0, r6, 0
bl sub_81B6D98
b _081B6E9C
.pool
_081B6E88:
ldr r0, =gUnknown_085E9AE9
ldr r0, =gText_PkmnNeedsToReplaceMove
bl sub_81B6D74
ldr r1, =gTasks
lsls r0, r6, 2
@ -12847,7 +12847,7 @@ _081B6EF0:
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9AA5
ldr r1, =gText_PkmnLearnedMove3
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -12987,7 +12987,7 @@ _081B7048:
beq _081B707A
b _081B7080
_081B704E:
ldr r0, =gUnknown_085E9B96
ldr r0, =gText_WhichMoveToForget
movs r1, 0x1
bl sub_81B1B5C
ldr r1, =gTasks
@ -13142,7 +13142,7 @@ sub_81B7154: @ 81B7154
ldr r2, =gMoveNames
adds r1, r2
bl StringCopy
ldr r0, =gUnknown_085E9BB8
ldr r0, =gText_12PoofForgotMove
bl sub_81B6D74
ldr r1, =gTasks
lsls r0, r6, 2
@ -13214,7 +13214,7 @@ sub_81B7230: @ 81B7230
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9B5D
ldr r1, =gText_StopLearningMove2
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -13302,7 +13302,7 @@ _081B7306:
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9B76
ldr r1, =gText_MoveNotLearned
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -13352,7 +13352,7 @@ _081B7392:
ldr r2, =gMoveNames
adds r1, r2
bl StringCopy
ldr r0, =gUnknown_085E9AE9
ldr r0, =gText_PkmnNeedsToReplaceMove
bl sub_81B6D74
ldr r1, =gTasks
lsls r0, r6, 2
@ -13444,7 +13444,7 @@ _081B747A:
ldr r1, =gUnknown_0203CEE8
movs r0, 0
strb r0, [r1]
ldr r0, =gUnknown_085E96F6
ldr r0, =gText_WontHaveEffect
movs r1, 0x1
bl sub_81B1B5C
movs r0, 0x2
@ -13484,7 +13484,7 @@ _081B74B4:
movs r3, 0x3
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9D0A
ldr r1, =gText_PkmnElevatedToLvVar2
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -13915,7 +13915,7 @@ sub_81B787C: @ 81B787C
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9AE9
ldr r1, =gText_PkmnNeedsToReplaceMove
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -13969,7 +13969,7 @@ sub_81B7910: @ 81B7910
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9AA5
ldr r1, =gText_PkmnLearnedMove3
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -14225,7 +14225,7 @@ _081B7B82:
bne _081B7BC8
ldr r0, =gUnknown_0203CEE8
strb r1, [r0]
ldr r0, =gUnknown_085E96F6
ldr r0, =gText_WontHaveEffect
movs r1, 0x1
bl sub_81B1B5C
movs r0, 0x2
@ -14278,7 +14278,7 @@ sub_81B7C10: @ 81B7C10
ldr r1, =gStringVar1
bl GetMonNickname
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E9C17
ldr r1, =gText_PkmnHPRestoredByVar2
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r4, 0
@ -14322,7 +14322,7 @@ sub_81B7C74: @ 81B7C74
ldr r1, =gUnknown_0203CEE8
movs r0, 0
strb r0, [r1]
ldr r0, =gUnknown_085E96F6
ldr r0, =gText_WontHaveEffect
movs r1, 0x1
bl sub_81B1B5C
movs r0, 0x2
@ -14613,18 +14613,18 @@ sub_81B7E4C: @ 81B7E4C
b _081B7F1C
.pool
_081B7EF0:
ldr r1, =gUnknown_085E9AB4
ldr r1, =gText_PkmnCantLearnMove
b _081B7EFA
.pool
_081B7EF8:
ldr r1, =gUnknown_085E9C00
ldr r1, =gText_PkmnAlreadyKnows
_081B7EFA:
adds r0, r6, 0
bl sub_81B6D98
b _081B7F1C
.pool
_081B7F08:
ldr r0, =gUnknown_085E9AE9
ldr r0, =gText_PkmnNeedsToReplaceMove
bl sub_81B6D74
ldr r1, =gTasks
lsls r0, r6, 2
@ -15152,7 +15152,7 @@ sub_81B83B8: @ 81B83B8
adds r4, r0, 0
lsls r4, 24
lsrs r4, 24
ldr r0, =gUnknown_085E98EC
ldr r0, =gText_RemoveMailBeforeItem
movs r1, 0x1
bl sub_81B1B5C
movs r0, 0x2
@ -15273,7 +15273,7 @@ sub_81B8474: @ 81B8474
bl GetMonData
cmp r0, 0
beq _081B84DC
ldr r0, =gUnknown_085E9A08
ldr r0, =gText_PkmnHoldingItemCantHoldMail
movs r1, 0x1
bl sub_81B1B5C
b _081B84F2
@ -15284,7 +15284,7 @@ _081B84DC:
bl sub_80D460C
adds r0, r4, 0
bl sub_80D439C
ldr r0, =gUnknown_085E9A40
ldr r0, =gText_MailTransferredFromMailbox
movs r1, 0x1
bl sub_81B1B5C
_081B84F2:
@ -15785,7 +15785,7 @@ sub_81B88BC: @ 81B88BC
lsrs r0, 24
cmp r0, 0x1
bhi _081B88E0
ldr r0, =gUnknown_085EA126
ldr r0, =gText_CancelBattle
b _081B88FA
.pool
_081B88E0:
@ -15795,11 +15795,11 @@ _081B88E0:
ldrh r0, [r0]
cmp r0, 0x2
bne _081B88F8
ldr r0, =gUnknown_085EA139
ldr r0, =gText_ReturnToWaitingRoom
b _081B88FA
.pool
_081B88F8:
ldr r0, =gUnknown_085EA155
ldr r0, =gText_CancelChallenge
_081B88FA:
pop {r1}
bx r1
@ -16015,7 +16015,7 @@ _081B8AA2:
adds r0, r4, 0
bl StringCopy
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E97B2
ldr r1, =gText_CantSwitchWithAlly
b _081B8C42
.pool
_081B8AC4:
@ -16033,7 +16033,7 @@ _081B8AC4:
adds r0, r4, 0
bl GetMonNickname
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E978F
ldr r1, =gText_PkmnHasNoEnergy
b _081B8C42
.pool
_081B8AF8:
@ -16076,7 +16076,7 @@ _081B8B24:
cmp r0, 0
beq _081B8B60
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E97E5
ldr r1, =gText_EggCantBattle
b _081B8C42
.pool
_081B8B60:
@ -16094,7 +16094,7 @@ _081B8B60:
adds r0, r6, 0
bl GetMonNickname
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E976F
ldr r1, =gText_PkmnAlreadySelected
b _081B8C42
.pool
_081B8B94:
@ -16144,7 +16144,7 @@ _081B8BFC:
ldr r1, =gStringVar1
bl GetMonNickname
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9754
ldr r1, =gText_PkmnAlreadyInBattle
b _081B8C42
.pool
_081B8C20:
@ -16162,7 +16162,7 @@ _081B8C20:
ldr r1, =gStringVar1
bl GetMonNickname
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9738
ldr r1, =gText_PkmnCantSwitchOut
_081B8C42:
bl StringExpandPlaceholders
_081B8C46:

View File

@ -309,7 +309,7 @@ sub_816B0A8: @ 816B0A8
lsls r0, 24
cmp r0, 0
bne _0816B0D8
ldr r1, =gUnknown_085EAC4B
ldr r1, =gText_NoMailHere
ldr r2, =sub_816B060
adds r0, r4, 0
bl DisplayItemMessageOnField
@ -344,7 +344,7 @@ _0816B0D8:
b _0816B12A
.pool
_0816B120:
ldr r1, =gUnknown_085EAC4B
ldr r1, =gText_NoMailHere
ldr r2, =sub_816B060
adds r0, r6, 0
bl DisplayItemMessageOnField
@ -661,7 +661,7 @@ sub_816B398: @ 816B398
_0816B3C4:
adds r0, r5, 0
bl sub_816B4DC
ldr r1, =gUnknown_085EABD1
ldr r1, =gText_NoItems
ldr r2, =task_pc_itemstorage
adds r0, r5, 0
bl DisplayItemMessageOnField
@ -696,7 +696,7 @@ sub_816B3E4: @ 816B3E4
_0816B410:
adds r0, r5, 0
bl sub_816B4DC
ldr r1, =gUnknown_085EABD1
ldr r1, =gText_NoItems
ldr r2, =task_pc_itemstorage
adds r0, r5, 0
bl DisplayItemMessageOnField
@ -950,7 +950,7 @@ sub_816B5F8: @ 816B5F8
lsrs r4, 24
movs r0, 0x1
bl sub_81D1C84
ldr r6, =gUnknown_085EAB4E
ldr r6, =gText_Mailbox
movs r0, 0x1
adds r1, r6, 0
movs r2, 0x40
@ -1098,7 +1098,7 @@ sub_816B730: @ 816B730
movs r1, 0
bl sub_81DB554
ldr r5, =gStringVar4
ldr r1, =gUnknown_085EAC63
ldr r1, =gText_WhatToDoWithVar1sMail
adds r0, r5, 0
bl StringExpandPlaceholders
ldr r2, =sub_816B7DC
@ -1345,7 +1345,7 @@ sub_816B994: @ 816B994
push {lr}
lsls r0, 24
lsrs r0, 24
ldr r1, =gUnknown_085EAC8D
ldr r1, =gText_MessageWillBeLost
ldr r2, =sub_816B9B0
bl DisplayItemMessageOnField
pop {r0}
@ -1432,14 +1432,14 @@ sub_816BA18: @ 816BA18
lsls r0, 24
cmp r0, 0
bne _0816BA68
ldr r1, =gUnknown_085EACB5
ldr r1, =gText_BagIsFull
ldr r2, =sub_816BBD4
adds r0, r6, 0
bl DisplayItemMessageOnField
b _0816BA9C
.pool
_0816BA68:
ldr r1, =gUnknown_085EACC8
ldr r1, =gText_MailToBagMessageErased
ldr r2, =sub_816BBD4
adds r0, r6, 0
bl DisplayItemMessageOnField
@ -2293,10 +2293,10 @@ _0816C16C:
bls _0816C16C
movs r1, 0x6
ldrsh r0, [r7, r1]
ldr r5, =gUnknown_085EAB71
ldr r5, =gText_TossItem
cmp r0, 0
bne _0816C186
ldr r5, =gUnknown_085EAB63
ldr r5, =gText_WithdrawItem
_0816C186:
movs r0, 0x1
adds r1, r5, 0
@ -2383,11 +2383,11 @@ _0816C26C:
b _0816C2BA
.pool
_0816C274:
ldr r0, =gUnknown_085EAC09
ldr r0, =gText_WithdrawHowManyItems
b _0816C2BA
.pool
_0816C27C:
ldr r0, =gUnknown_085EAC22
ldr r0, =gText_WithdrawXItems
b _0816C2BA
.pool
_0816C284:
@ -2399,7 +2399,7 @@ _0816C28C:
b _0816C2BA
.pool
_0816C294:
ldr r0, =gUnknown_085EABE7
ldr r0, =gText_NoRoomInBag
b _0816C2BA
.pool
_0816C29C:

View File

@ -718,7 +718,7 @@ sub_817A1C4: @ 817A1C4
cmp r0, 0
bne _0817A248
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E937F
ldr r1, =gText_Var1AteTheVar2
bl StringExpandPlaceholders
b _0817A268
.pool
@ -726,13 +726,13 @@ _0817A248:
cmp r0, 0
ble _0817A260
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9390
ldr r1, =gText_Var1HappilyAteVar2
bl StringExpandPlaceholders
b _0817A268
.pool
_0817A260:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E93A9
ldr r1, =gText_Var1DisdainfullyAteVar2
bl StringExpandPlaceholders
_0817A268:
ldr r2, =gTextFlags

View File

@ -586,7 +586,7 @@ _080C73F6:
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EBCAD
ldr r2, =gText_PartyFull
str r4, [sp]
movs r0, 0x2
str r0, [sp, 0x4]
@ -609,7 +609,7 @@ _080C7428:
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r2, =gUnknown_085EBC89
ldr r2, =gText_JustOnePkmn
movs r0, 0
str r0, [sp]
movs r0, 0x2
@ -1020,7 +1020,7 @@ _080C779E:
lsls r0, r5, 24
lsrs r0, 24
bl sav3_get_box_name
ldr r1, =gUnknown_085EBCC1
ldr r1, =gText_Box
bl StringCopy
adds r4, r5, 0x1
adds r1, r4, 0

View File

@ -5413,7 +5413,7 @@ _081C284A:
sub_81C286C: @ 81C286C
push {r4-r7,lr}
sub sp, 0x8
ldr r1, =gUnknown_085EA3CF
ldr r1, =gText_PkmnInfo
movs r5, 0
str r5, [sp]
movs r6, 0x1
@ -5422,21 +5422,21 @@ sub_81C286C: @ 81C286C
movs r2, 0x2
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA3DC
ldr r1, =gText_PkmnSkills
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0x1
movs r2, 0x2
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA3EB
ldr r1, =gText_BattleMoves
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0x2
movs r2, 0x2
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA3F8
ldr r1, =gText_ContestMoves
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0x3
@ -5466,7 +5466,7 @@ _081C28CC:
adds r1, r7, 0
movs r3, 0x1
bl sub_81C25A4
ldr r7, =gUnknown_085EA406
ldr r7, =gText_Info
movs r0, 0x1
adds r1, r7, 0
movs r2, 0x3E
@ -5489,7 +5489,7 @@ _081C28FE:
adds r1, r7, 0
movs r3, 0x1
bl sub_81C25A4
ldr r7, =gUnknown_085EA3C8
ldr r7, =gText_Switch
movs r0, 0x1
adds r1, r7, 0
movs r2, 0x3E
@ -5512,21 +5512,21 @@ _081C2930:
adds r1, r7, 0
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA369
ldr r1, =gText_RentalPkmn
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0x8
movs r2, 0
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA378
ldr r1, =gText_TypeSlash
str r5, [sp]
str r5, [sp, 0x4]
movs r0, 0x9
movs r2, 0
movs r3, 0x1
bl sub_81C25A4
ldr r4, =gUnknown_085EA361
ldr r4, =gText_HP4
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x2A
@ -5540,7 +5540,7 @@ _081C2930:
adds r1, r4, 0
movs r3, 0x1
bl sub_81C25A4
ldr r4, =gUnknown_085EA33C
ldr r4, =gText_Attack3
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x2A
@ -5554,7 +5554,7 @@ _081C2930:
adds r1, r4, 0
movs r3, 0x11
bl sub_81C25A4
ldr r4, =gUnknown_085EA343
ldr r4, =gText_Defense3
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x2A
@ -5568,7 +5568,7 @@ _081C2930:
adds r1, r4, 0
movs r3, 0x21
bl sub_81C25A4
ldr r4, =gUnknown_085EA34B
ldr r4, =gText_SpAtk4
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x24
@ -5582,7 +5582,7 @@ _081C2930:
adds r1, r4, 0
movs r3, 0x1
bl sub_81C25A4
ldr r4, =gUnknown_085EA353
ldr r4, =gText_SpDef4
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x24
@ -5596,7 +5596,7 @@ _081C2930:
adds r1, r4, 0
movs r3, 0x11
bl sub_81C25A4
ldr r4, =gUnknown_085EA35B
ldr r4, =gText_Speed2
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x24
@ -5610,49 +5610,49 @@ _081C2930:
adds r1, r4, 0
movs r3, 0x21
bl sub_81C25A4
ldr r1, =gUnknown_085EA39F
ldr r1, =gText_ExpPoints
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0xC
movs r2, 0x6
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA3AB
ldr r1, =gText_NextLv
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0xC
movs r2, 0x6
movs r3, 0x11
bl sub_81C25A4
ldr r1, =gUnknown_085EA398
ldr r1, =gText_Status
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0xD
movs r2, 0x2
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA37E
ldr r1, =gText_Power
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0xE
movs r2, 0
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA384
ldr r1, =gText_Accuracy2
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0xE
movs r2, 0
movs r3, 0x11
bl sub_81C25A4
ldr r1, =gUnknown_085EA38D
ldr r1, =gText_Appeal
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0xF
movs r2, 0
movs r3, 0x1
bl sub_81C25A4
ldr r1, =gUnknown_085EA394
ldr r1, =gText_Jam
str r5, [sp]
str r6, [sp, 0x4]
movs r0, 0xF
@ -6126,7 +6126,7 @@ sub_81C2EC4: @ 81C2EC4
bl sub_81C2D2C
lsls r0, 24
lsrs r5, r0, 24
ldr r4, =gUnknown_085EA365
ldr r4, =gText_OTSlash
movs r6, 0
str r6, [sp]
movs r0, 0x1
@ -6335,7 +6335,7 @@ sub_81C307C: @ 81C307C
bne _081C30E0
_081C30C2:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085EA5DB
ldr r1, =gText_XNature
bl sub_81AFC28
b _081C3182
.pool
@ -6367,25 +6367,25 @@ _081C310C:
cmp r0, 0
bne _081C3134
ldrb r0, [r4, 0x9]
ldr r1, =gUnknown_085EA516
ldr r1, =gText_XNatureHatchedAtYZ
cmp r0, 0xD4
bls _081C3170
ldr r1, =gUnknown_085EA617
ldr r1, =gText_XNatureHatchedSomewhereAt
b _081C3170
.pool
_081C3134:
ldrb r0, [r4, 0x9]
ldr r1, =gUnknown_085EA4EC
ldr r1, =gText_XNatureMetAtYZ
cmp r0, 0xD4
bls _081C3170
ldr r1, =gUnknown_085EA5EB
ldr r1, =gText_XNatureMetSomewhereAt
b _081C3170
.pool
_081C3148:
ldrb r0, [r4, 0x9]
cmp r0, 0xFF
bne _081C3158
ldr r1, =gUnknown_085EA56A
ldr r1, =gText_XNatureFatefulEncounter
b _081C3170
.pool
_081C3158:
@ -6396,11 +6396,11 @@ _081C3158:
cmp r0, 0
beq _081C316E
ldrb r0, [r4, 0x9]
ldr r1, =gUnknown_085EA5A8
ldr r1, =gText_XNatureProbablyMetAt
cmp r0, 0xD4
bls _081C3170
_081C316E:
ldr r1, =gUnknown_085EA544
ldr r1, =gText_XNatureObtainedInTrade
_081C3170:
ldr r0, =gStringVar4
bl sub_81AFC28
@ -6449,7 +6449,7 @@ sub_81C31C0: @ 81C31C0
ldr r1, [r0]
movs r0, 0x2
bl sub_81AFC0C
ldr r1, =gUnknown_085EA3C0
ldr r1, =gText_EmptyString5
movs r0, 0x5
bl sub_81AFC0C
pop {r0}
@ -6649,7 +6649,7 @@ sub_81C335C: @ 81C335C
adds r4, r0, 0
lsls r4, 24
lsrs r4, 24
ldr r0, =gUnknown_085EA365
ldr r0, =gText_OTSlash
mov r8, r0
movs r0, 0x1
mov r1, r8
@ -6736,27 +6736,27 @@ sub_81C3428: @ 81C3428
ldrb r0, [r0]
cmp r0, 0x1
bne _081C3448
ldr r4, =gUnknown_085EA40B
ldr r4, =gText_EggWillTakeALongTime
b _081C346C
.pool
_081C3448:
ldrh r0, [r1, 0x30]
cmp r0, 0x5
bhi _081C3458
ldr r4, =gUnknown_085EA4A2
ldr r4, =gText_EggAboutToHatch
b _081C346C
.pool
_081C3458:
cmp r0, 0xA
bhi _081C3464
ldr r4, =gUnknown_085EA475
ldr r4, =gText_EggWillHatchSoon
b _081C346C
.pool
_081C3464:
ldr r4, =gUnknown_085EA40B
ldr r4, =gText_EggWillTakeALongTime
cmp r0, 0x28
bhi _081C346C
ldr r4, =gUnknown_085EA442
ldr r4, =gText_EggWillTakeSomeTime
_081C346C:
ldr r0, =gUnknown_0861CCCC
movs r1, 0x2
@ -6792,7 +6792,7 @@ sub_81C349C: @ 81C349C
ldrb r0, [r4, 0x9]
cmp r0, 0xFF
bne _081C34C4
ldr r4, =gUnknown_085EA678
ldr r4, =gText_PeculiarEggNicePlace
b _081C3502
.pool
_081C34C4:
@ -6805,7 +6805,7 @@ _081C34C4:
cmp r0, 0
bne _081C34E0
_081C34D8:
ldr r4, =gUnknown_085EA6AB
ldr r4, =gText_PeculiarEggTrade
b _081C3502
.pool
_081C34E0:
@ -6815,14 +6815,14 @@ _081C34E0:
bl sub_81C32E0
lsls r0, 24
lsrs r0, 24
ldr r4, =gUnknown_085EA702
ldr r4, =gText_EggFromTraveler
cmp r0, 0x1
bne _081C3502
ldr r4, =gUnknown_085EA6D7
ldr r4, =gText_EggFromHotSprings
b _081C3502
.pool
_081C3500:
ldr r4, =gUnknown_085EA647
ldr r4, =gText_OddEggFoundByCouple
_081C3502:
ldr r0, =gUnknown_0861CCCC
movs r1, 0x3
@ -7021,7 +7021,7 @@ _081C36B0:
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA3B4
ldr r1, =gText_RibbonsVar1
adds r0, r4, 0
bl StringExpandPlaceholders
adds r5, r4, 0
@ -8201,7 +8201,7 @@ sub_81C4154: @ 81C4154
adds r0, r4, 0
movs r1, 0
bl FillWindowPixelBuffer
ldr r1, =gUnknown_085EA4CB
ldr r1, =gText_HMMovesCantBeForgotten2
movs r0, 0
str r0, [sp]
str r0, [sp, 0x4]
@ -10430,7 +10430,7 @@ sub_81C540C: @ 81C540C
ldr r1, =gStringVar2
adds r0, r4, 0
bl CopyItemName
ldr r1, =gUnknown_085E9210
ldr r1, =gText_UnkF908Var1Clear7Var2
adds r0, r5, 0
bl StringExpandPlaceholders
b _081C5458
@ -10635,7 +10635,7 @@ sub_81C55D8: @ 81C55D8
.pool
_081C561C:
ldr r0, =gStringVar1
ldr r2, =gUnknown_085E91B0
ldr r2, =gReturnToXStringsTable2
ldr r1, =gUnknown_0203CF30
ldrb r1, [r1, 0x4]
lsls r1, 2

View File

@ -6860,7 +6860,7 @@ sub_81CA770: @ 81CA770
movs r0, 0x2
bl sub_81C763C
adds r5, r0, 0
ldr r6, =gUnknown_085EBD4A
ldr r6, =gText_NoRibbonWinners
movs r2, 0x1
negs r2, r2
movs r0, 0x1
@ -7928,7 +7928,7 @@ sub_81CAF78: @ 81CAF78
lsls r0, 24
cmp r0, 0
bne _081CAFA4
ldr r0, =gUnknown_085EEB0B
ldr r0, =gText_CallCantBeMadeHere
b _081CAFCE
.pool
_081CAFA4:
@ -9748,7 +9748,7 @@ sub_81CBDF4: @ 81CBDF4
push {lr}
lsls r0, 16
lsrs r0, 16
ldr r1, =gUnknown_085EBE5F
ldr r1, =gText_NumberRegistered
movs r2, 0
bl sub_81CBE88
pop {r0}
@ -9784,7 +9784,7 @@ sub_81CBE38: @ 81CBE38
push {lr}
lsls r0, 16
lsrs r0, 16
ldr r1, =gUnknown_085EBE6E
ldr r1, =gText_NumberOfBattles
movs r2, 0x2
bl sub_81CBE88
pop {r0}
@ -9900,7 +9900,7 @@ sub_81CBEF8: @ 81CBEF8
bl GetMapName
b _081CBF24
_081CBF1C:
ldr r1, =gUnknown_085EC00F
ldr r1, =gText_Unknown
add r0, sp, 0xC
bl StringCopy
_081CBF24:
@ -10168,7 +10168,7 @@ sub_81CC11C: @ 81CC11C
push {lr}
sub sp, 0xC
ldrb r0, [r0, 0x14]
ldr r2, =gUnknown_085EBF95
ldr r2, =gText_TrainerCloseBy
movs r1, 0x1
str r1, [sp]
str r1, [sp, 0x4]
@ -13128,7 +13128,7 @@ _081CD862:
adds r0, r4, r5
ldr r1, =0x00006325
adds r0, r1
ldr r1, =gUnknown_085EBFCE
ldr r1, =gText_InParty
b _081CD8F4
.pool
_081CD8E4:
@ -14829,7 +14829,7 @@ sub_81CE738: @ 81CE738
movs r2, 0x1
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085EBFD7
ldr r1, =gText_Number2
bl StringCopy
pop {r1}
bx r1
@ -14957,7 +14957,7 @@ _081CE80C:
strb r0, [r1, 0x4]
mov r5, sp
adds r5, 0x11
ldr r1, =gUnknown_085EBFD7
ldr r1, =gText_Number2
adds r0, r5, 0
bl StringCopy
ldr r0, =0x00001821
@ -16949,7 +16949,7 @@ sub_81CF7F4: @ 81CF7F4
movs r0, 0xFF
strb r0, [r4]
ldr r5, =gStringVar2
ldr r1, =gUnknown_085EC029
ldr r1, =gText_NumberF700
adds r0, r5, 0
bl sub_81AFC28
mov r1, r8
@ -19859,7 +19859,7 @@ sub_81D0E84: @ 81D0E84
adds r1, r4, 0
bl sub_81AFC0C
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EC030
ldr r1, =gText_RibbonsF700
adds r0, r4, 0
bl sub_81AFC28
ldrb r0, [r5, 0xA]
@ -23412,7 +23412,7 @@ sub_81D28FC: @ 81D28FC
movs r0, 0
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r5, =gUnknown_085EFA31
ldr r5, =gText_BattleMoves2
movs r0, 0x1
adds r1, r5, 0
movs r2, 0x80
@ -23431,7 +23431,7 @@ sub_81D28FC: @ 81D28FC
movs r1, 0x1
adds r2, r5, 0
bl PrintTextOnWindow
ldr r5, =gUnknown_085EFA52
ldr r5, =gText_PPSlash
movs r1, 0x29
mov r10, r1
str r1, [sp]
@ -23443,7 +23443,7 @@ sub_81D28FC: @ 81D28FC
adds r2, r5, 0
movs r3, 0x4
bl PrintTextOnWindow
ldr r5, =gUnknown_085EFA56
ldr r5, =gText_PowerSlash
movs r0, 0x1
adds r1, r5, 0
movs r2, 0x6A
@ -23460,7 +23460,7 @@ sub_81D28FC: @ 81D28FC
movs r1, 0x1
adds r2, r5, 0
bl PrintTextOnWindow
ldr r5, =gUnknown_085EFA5D
ldr r5, =gText_AccuracySlash
movs r0, 0x1
adds r1, r5, 0
movs r2, 0x6A
@ -23508,7 +23508,7 @@ _081D29C4:
adds r2, r5, 0
movs r3, 0x4
bl PrintTextOnWindow
ldr r1, =gUnknown_085EFA52
ldr r1, =gText_PPSlash
movs r0, 0x1
movs r2, 0
bl GetStringWidth
@ -23616,7 +23616,7 @@ sub_81D2ACC: @ 81D2ACC
movs r0, 0x1
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r5, =gUnknown_085EFA3E
ldr r5, =gText_ContestMoves2
movs r0, 0x1
adds r1, r5, 0
movs r2, 0x80
@ -23632,7 +23632,7 @@ sub_81D2ACC: @ 81D2ACC
movs r1, 0x1
adds r2, r5, 0
bl PrintTextOnWindow
ldr r5, =gUnknown_085EFA67
ldr r5, =gText_Appeal2
movs r0, 0x1
adds r1, r5, 0
movs r2, 0x5C
@ -23648,7 +23648,7 @@ sub_81D2ACC: @ 81D2ACC
movs r1, 0x1
adds r2, r5, 0
bl PrintTextOnWindow
ldr r5, =gUnknown_085EFA6E
ldr r5, =gText_Jam2
movs r0, 0x1
adds r1, r5, 0
movs r2, 0x5C
@ -24157,7 +24157,7 @@ _081D2EFC:
cmp r7, 0xE
bne _081D2F2C
adds r0, r5, 0x5
ldr r1, =gUnknown_085EBFCE
ldr r1, =gText_InParty
b _081D2F3A
.pool
_081D2F2C:
@ -25214,10 +25214,10 @@ _081D36CA:
adds r4, 0xC
movs r1, 0
ldrsh r0, [r4, r1]
ldr r1, =gUnknown_085EEA76
ldr r1, =gText_Dash
cmp r0, 0
blt _081D3704
ldr r1, =gUnknown_085EEA73
ldr r1, =gText_UnkCtrlF904
_081D3704:
adds r0, r6, 0
bl StringCopy
@ -26636,7 +26636,7 @@ sub_81D427C: @ 81D427C
ldr r2, =gMapObjects
adds r5, r1, r2
ldr r4, =gUnknown_030012F8
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r1, [r3, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -26672,7 +26672,7 @@ _081D42CA:
cmp r0, 0x3
bls _081D42CA
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -26730,7 +26730,7 @@ _081D4360:
ldr r6, =gMapObjects
mov r10, r6
_081D4368:
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r1, [r3, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -26837,7 +26837,7 @@ _081D4410:
beq _081D4446
b _081D45AA
_081D4446:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -26879,7 +26879,7 @@ _081D4488:
cmp r0, 0
bne _081D4538
_081D449E:
ldr r2, =gUnknown_02037590
ldr r2, =gPlayerAvatar
ldrb r1, [r2, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -26983,7 +26983,7 @@ _081D4540:
beq _081D4576
b _081D447C
_081D4576:
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -27152,7 +27152,7 @@ _081D46D0:
cmp r0, 0
bne _081D476E
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -27177,7 +27177,7 @@ _081D46D0:
b _081D447C
_081D470C:
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -27231,7 +27231,7 @@ _081D476E:
cmp r0, 0
bne _081D480C
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -27256,7 +27256,7 @@ _081D476E:
b _081D45AA
_081D47AA:
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -27327,7 +27327,7 @@ sub_81D4834: @ 81D4834
lsls r1, 16
lsrs r4, r1, 16
ldr r3, =gMapObjects
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
ldrb r2, [r1, 0x5]
lsls r1, r2, 3
adds r1, r2
@ -29757,7 +29757,7 @@ sub_81D5C8C: @ 81D5C8C
movs r0, 0
movs r1, 0
bl FillWindowPixelBuffer
ldr r5, =gUnknown_085EF88A
ldr r5, =gText_TimeBoard
movs r0, 0x1
adds r1, r5, 0
movs r2, 0xD0
@ -29842,9 +29842,9 @@ _081D5CD6:
movs r3, 0x2
bl ConvertIntToDecimalStringN
mov r0, r9
ldr r1, =gUnknown_085EF895
ldr r1, =gText_TimeCleared
bl StringCopy
ldr r1, =gUnknown_085EF8A3
ldr r1, =gText_XMinYDotZSec
bl StringExpandPlaceholders
movs r0, 0x1
mov r1, r9

View File

@ -232,7 +232,7 @@ sub_80FB768: @ 80FB768
push {lr}
bl sub_80FB6EC
ldr r2, =gMapObjects
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1

View File

@ -630,7 +630,7 @@ _080E726C:
lsrs r0, 24
strh r0, [r5, 0x14]
_080E7296:
ldr r0, =gUnknown_085EEA8E
ldr r0, =gText_RecordMixingComplete
bl sub_80E70F4
strh r4, [r5, 0x10]
b _080E730A
@ -739,7 +739,7 @@ _080E7370:
b _080E7566
.pool
_080E7384:
ldr r0, =gUnknown_085EEA7E
ldr r0, =gText_MixingRecords
bl sub_80E70F4
movs r0, 0xE1
lsls r0, 3

View File

@ -3212,12 +3212,12 @@ sub_81245DC: @ 81245DC
beq _081245F8
cmp r1, 0x57
bne _08124604
ldr r1, =gUnknown_085EC9D2
ldr r1, =gText_Ferry
bl StringCopy
b _0812460A
.pool
_081245F8:
ldr r1, =gUnknown_085EC9D8
ldr r1, =gText_SecretBase
bl StringCopy
b _0812460A
.pool
@ -3239,7 +3239,7 @@ sub_8124610: @ 8124610
bl sub_81245DC
b _08124626
_08124620:
ldr r1, =gUnknown_085EC9E4
ldr r1, =gText_Hideout
bl StringCopy
_08124626:
pop {r1}

View File

@ -414,7 +414,7 @@ sub_809EBC4: @ 809EBC4
adds r1, r4, 0
bl StringCopy
adds r7, r0, 0
ldr r1, =gUnknown_085EE68A
ldr r1, =gText_Day
bl StringCopy
adds r7, r0, 0
adds r0, r4, 0
@ -426,7 +426,7 @@ sub_809EBC4: @ 809EBC4
adds r1, r4, 0
bl StringCopy
adds r7, r0, 0
ldr r5, =gUnknown_085EE68E
ldr r5, =gText_Colon3
adds r1, r5, 0
bl StringCopy
adds r7, r0, 0
@ -514,7 +514,7 @@ sub_809ECB4: @ 809ECB4
movs r2, 0x1
mov r3, r9
bl sub_809EBC4
ldr r2, =gUnknown_085EE690
ldr r2, =gText_Confirm2
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -1011,7 +1011,7 @@ _0809F11C:
movs r1, 0
movs r3, 0xE
bl SetWindowBorderStyle
ldr r2, =gUnknown_085ECA0D
ldr r2, =gText_PresentTime
movs r0, 0x1
str r0, [sp]
movs r4, 0xFF
@ -1033,7 +1033,7 @@ _0809F11C:
movs r1, 0
movs r2, 0x11
bl sub_809EBC4
ldr r2, =gUnknown_085ECA22
ldr r2, =gText_PreviousTime
movs r0, 0x21
str r0, [sp]
str r4, [sp, 0x4]
@ -1062,7 +1062,7 @@ _0809F11C:
movs r1, 0
movs r2, 0x31
bl sub_809EBC4
ldr r0, =gUnknown_085EC9EC
ldr r0, =gText_ResetRTCConfirmCancel
bl sub_809F0C0
movs r0, 0
movs r1, 0x2
@ -1161,7 +1161,7 @@ _0809F276:
cmp r0, 0x2
bne _0809F29C
_0809F282:
ldr r0, =gUnknown_085ECAA7
ldr r0, =gText_NoSaveFileCantSetTime
bl sub_809F0C0
movs r0, 0x5
strh r0, [r5]
@ -1193,7 +1193,7 @@ _0809F2CA:
movs r0, 0
movs r1, 0
bl sub_8198070
ldr r0, =gUnknown_085ECA38
ldr r0, =gText_PleaseResetTime
bl sub_809F0C0
ldr r2, =gLocalTime
ldr r0, =gSaveBlock2Ptr
@ -1261,7 +1261,7 @@ _0809F340:
ldrh r1, [r4]
bl VarSet
bl DisableResetRTC
ldr r0, =gUnknown_085ECA4F
ldr r0, =gText_ClockHasBeenReset
bl sub_809F0C0
movs r0, 0x4
strh r0, [r5]
@ -1274,14 +1274,14 @@ _0809F398:
lsrs r0, 24
cmp r0, 0x1
bne _0809F3B8
ldr r0, =gUnknown_085ECA8A
ldr r0, =gText_SaveCompleted
bl sub_809F0C0
movs r0, 0x49
bl PlaySE
b _0809F3C4
.pool
_0809F3B8:
ldr r0, =gUnknown_085ECA9A
ldr r0, =gText_SaveFailed
bl sub_809F0C0
movs r0, 0x16
bl PlaySE

View File

@ -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.

View File

@ -4396,7 +4396,7 @@ sub_8086A68: @ 8086A68
sub_8086A80: @ 8086A80
push {lr}
ldr r2, =gMapObjects
ldr r3, =gUnknown_02037590
ldr r3, =gPlayerAvatar
ldrb r1, [r3, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -5480,7 +5480,7 @@ sub_80872D8: @ 80872D8
movs r0, 0x1
_080872EA:
strb r0, [r6, 0x1]
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
lsls r0, r4, 2
adds r0, r1
ldrb r0, [r0, 0x3]
@ -5977,7 +5977,7 @@ sub_80876C4: @ 80876C4
thumb_func_start strange_npc_table_clear
strange_npc_table_clear: @ 80876CC
push {lr}
ldr r0, =gUnknown_02032308
ldr r0, =gLinkPlayerMapObjects
movs r1, 0
movs r2, 0x10
bl memset
@ -6025,7 +6025,7 @@ sub_80876F0: @ 80876F0
lsls r6, 24
lsrs r6, 24
lsls r4, r7, 2
ldr r0, =gUnknown_02032308
ldr r0, =gLinkPlayerMapObjects
adds r4, r0
lsls r5, r6, 3
adds r5, r6
@ -6118,7 +6118,7 @@ sub_80877DC: @ 80877DC
lsls r0, 24
lsls r1, 24
lsrs r2, r1, 24
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
lsrs r0, 22
adds r1, r0, r1
ldrb r0, [r1]
@ -6142,7 +6142,7 @@ sub_808780C: @ 808780C
push {r4,r5,lr}
lsls r0, 24
lsrs r0, 22
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
adds r5, r0, r1
ldrb r1, [r5, 0x2]
lsls r0, r1, 3
@ -6176,7 +6176,7 @@ _08087838:
thumb_func_start sub_8087858
sub_8087858: @ 8087858
lsls r0, 24
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
lsrs r0, 22
adds r0, r1
ldrb r1, [r0, 0x2]
@ -6193,7 +6193,7 @@ sub_8087858: @ 8087858
thumb_func_start sub_8087878
sub_8087878: @ 8087878
lsls r0, 24
ldr r3, =gUnknown_02032308
ldr r3, =gLinkPlayerMapObjects
lsrs r0, 22
adds r0, r3
ldrb r3, [r0, 0x2]
@ -6213,7 +6213,7 @@ sub_8087878: @ 8087878
thumb_func_start sub_80878A0
sub_80878A0: @ 80878A0
lsls r0, 24
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
lsrs r0, 22
adds r0, r1
ldrb r1, [r0, 0x2]
@ -6230,7 +6230,7 @@ sub_80878A0: @ 80878A0
thumb_func_start sub_80878C0
sub_80878C0: @ 80878C0
lsls r0, 24
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
lsrs r0, 22
adds r0, r1
ldrb r1, [r0, 0x2]
@ -6249,7 +6249,7 @@ sub_80878C0: @ 80878C0
thumb_func_start sub_80878E4
sub_80878E4: @ 80878E4
lsls r0, 24
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
lsrs r0, 22
adds r0, r1
ldrb r1, [r0, 0x2]
@ -6271,7 +6271,7 @@ sub_80878E4: @ 80878E4
sub_808790C: @ 808790C
push {r4-r6,lr}
movs r2, 0
ldr r5, =gUnknown_02032308
ldr r5, =gLinkPlayerMapObjects
lsls r0, 16
asrs r4, r0, 16
lsls r1, 16
@ -6326,7 +6326,7 @@ sub_808796C: @ 808796C
lsrs r3, r1, 24
adds r2, r3, 0
lsrs r0, 22
ldr r1, =gUnknown_02032308
ldr r1, =gLinkPlayerMapObjects
adds r5, r0, r1
ldrb r1, [r5, 0x2]
lsls r0, r1, 3
@ -6654,7 +6654,7 @@ sub_8087BCC: @ 8087BCC
lsls r1, 24
lsrs r3, r1, 24
lsls r2, r5, 2
ldr r0, =gUnknown_02032308
ldr r0, =gLinkPlayerMapObjects
adds r2, r0
ldrb r1, [r2, 0x2]
lsls r0, r1, 3
@ -6742,7 +6742,7 @@ sub_8087C8C: @ 8087C8C
movs r0, 0x2E
ldrsh r4, [r5, r0]
lsls r4, 2
ldr r0, =gUnknown_02032308
ldr r0, =gLinkPlayerMapObjects
adds r4, r0
ldrb r1, [r4, 0x2]
lsls r0, r1, 3

View File

@ -68,7 +68,7 @@ task08_080C9820: @ 813549C
lsrs r5, r0, 24
adds r6, r5, 0
bl ScriptContext2_Enable
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0x1
strb r0, [r1, 0x6]
ldrb r1, [r1, 0x5]
@ -127,7 +127,7 @@ sub_813552C: @ 813552C
push {r4,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -167,7 +167,7 @@ sub_8135578: @ 8135578
cmp r4, 0
bne _081355FC
bl player_get_direction_lower_nybble
ldr r6, =gUnknown_02038C08
ldr r6, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r6, 0x4]
@ -191,7 +191,7 @@ _081355B0:
movs r0, 0x3
str r0, [r6, 0x8]
_081355B8:
ldr r5, =gUnknown_02037590
ldr r5, =gPlayerAvatar
ldrb r0, [r5, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -244,7 +244,7 @@ sub_813561C: @ 813561C
ldrh r0, [r0, 0x1A]
orrs r1, r0
bl _call_via_r1
ldr r1, =gUnknown_02037590
ldr r1, =gPlayerAvatar
movs r0, 0
strb r0, [r1, 0x6]
adds r0, r4, 0
@ -303,7 +303,7 @@ _081356AC:
sub_81356C4: @ 81356C4
push {lr}
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -380,7 +380,7 @@ hm2_dig: @ 8135760
movs r0, 0x26
bl FieldEffectStart
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -1064,23 +1064,23 @@ sub_8135DAC: @ 8135DAC
movs r0, 0
adds r1, r4, 0
bl sub_8135D7C
ldr r1, =gUnknown_085E931D
ldr r1, =gText_Spicy
movs r0, 0x2
movs r2, 0
bl sub_8135D7C
ldr r1, =gUnknown_085E9323
ldr r1, =gText_Dry
movs r0, 0x3
movs r2, 0
bl sub_8135D7C
ldr r1, =gUnknown_085E9327
ldr r1, =gText_Sweet
movs r0, 0x4
movs r2, 0
bl sub_8135D7C
ldr r1, =gUnknown_085E932D
ldr r1, =gText_Bitter
movs r0, 0x5
movs r2, 0
bl sub_8135D7C
ldr r1, =gUnknown_085E9334
ldr r1, =gText_Sour
movs r0, 0x6
movs r2, 0
bl sub_8135D7C
@ -1148,7 +1148,7 @@ _08135E7C:
adds r4, r7
ldr r0, [r5]
adds r0, r4
ldr r1, =gUnknown_085E9344
ldr r1, =gText_StowCase
bl StringCopy
ldr r1, [r5]
lsls r2, r6, 3
@ -1231,7 +1231,7 @@ sub_8135F04: @ 8135F04
movs r2, 0
movs r3, 0x3
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085E934F
ldr r1, =gText_LvVar1
adds r0, r4, 0
bl StringExpandPlaceholders
pop {r4-r6}
@ -2598,7 +2598,7 @@ sub_8136AB4: @ 8136AB4
ldr r1, [r1]
bl StringCopy
ldr r5, =gStringVar4
ldr r1, =gUnknown_085E9353
ldr r1, =gText_ThrowAwayVar1
adds r0, r5, 0
bl StringExpandPlaceholders
bl sav2_get_text_speed
@ -2654,7 +2654,7 @@ sub_8136B78: @ 8136B78
lsls r4, 24
lsrs r4, 24
ldr r5, =gStringVar4
ldr r1, =gUnknown_085E9367
ldr r1, =gText_Var1ThrownAway
adds r0, r5, 0
bl StringExpandPlaceholders
bl sav2_get_text_speed
@ -3381,7 +3381,7 @@ hm2_flash: @ 8137178
lsls r4, 24
lsrs r4, 24
bl brm_get_pokemon_selection
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r0, 24
lsrs r0, 24
str r0, [r1]
@ -4796,14 +4796,14 @@ sub_8137D5C: @ 8137D5C
movs r2, 0
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085EB5EE
ldr r1, =gText_SpaceTimes
adds r0, r4, 0
bl StringAppend
b _08137D90
.pool
_08137D88:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB5CF
ldr r1, =gText_99TimesPlus
bl StringCopy
_08137D90:
ldr r0, =0x00000e0f
@ -4833,14 +4833,14 @@ _08137D90:
movs r2, 0x2
movs r3, 0x2
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085EB5E5
ldr r1, =gText_SpaceSeconds
adds r0, r4, 0
bl StringAppend
b _08137DF8
.pool
_08137DF0:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085EB5DA
ldr r1, =gText_1MinutePlus
bl StringCopy
_08137DF8:
movs r4, 0
@ -6425,13 +6425,13 @@ sub_8138B10: @ 8138B10
cmp r0, 0
bne _08138B34
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB5F9
ldr r1, =gText_BigGuy
bl StringCopy
b _08138B3C
.pool
_08138B34:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB601
ldr r1, =gText_BigGirl
bl StringCopy
_08138B3C:
pop {r0}
@ -6448,13 +6448,13 @@ sub_8138B48: @ 8138B48
cmp r0, 0
bne _08138B6C
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB60E
ldr r1, =gText_Daughter
bl StringCopy
b _08138B74
.pool
_08138B6C:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB60A
ldr r1, =gText_Son
bl StringCopy
_08138B74:
pop {r0}
@ -8511,7 +8511,7 @@ sub_8139B60: @ 8139B60
ldrb r0, [r5]
movs r1, 0
bl SetStandardWindowBorderStyle
ldr r4, =gUnknown_085EB6A5
ldr r4, =gText_ElevatorNowOn
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x40
@ -10131,7 +10131,7 @@ sub_813A8FC: @ 813A8FC
movs r2, 0x1
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085EB6AD
ldr r1, =gText_BP
bl StringCopy
movs r0, 0x1
add r1, sp, 0xC
@ -11039,7 +11039,7 @@ _0813B0F8:
ldr r0, =sub_813B160
movs r1, 0x8
bl CreateTask
ldr r3, =gUnknown_02038C08
ldr r3, =gFieldEffectSpawnParams
movs r0, 0x1
str r0, [r3]
movs r0, 0x3A
@ -12650,37 +12650,37 @@ _0813BE58:
.4byte _0813BEC0
_0813BE70:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD14
ldr r1, =gText_Steven
bl StringCopy
b _0813BF04
.pool
_0813BE84:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD1B
ldr r1, =gText_Brawly
bl StringCopy
b _0813BF04
.pool
_0813BE98:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD22
ldr r1, =gText_Winona
bl StringCopy
b _0813BF04
.pool
_0813BEAC:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD29
ldr r1, =gText_Phoebe
bl StringCopy
b _0813BF04
.pool
_0813BEC0:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD30
ldr r1, =gText_Glacia
bl StringCopy
b _0813BF04
.pool
_0813BED4:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD0C
ldr r1, =gText_Wallace
bl StringCopy
b _0813BF04
.pool

View File

@ -268,7 +268,7 @@ _08178FF8:
ldrb r0, [r4]
movs r1, 0x1
bl CopyWindowToVram
ldr r0, =gUnknown_085EC816
ldr r0, =gText_SaveFailedCheckingBackup
movs r1, 0x1
movs r2, 0
bl sub_8178F44
@ -340,7 +340,7 @@ _0817929C:
ldrb r0, [r4]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r0, =gUnknown_085EC917
ldr r0, =gText_CheckCompleted
movs r1, 0x1
movs r2, 0
bl sub_8178F44
@ -353,7 +353,7 @@ _0817929C:
ldrb r0, [r4]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r0, =gUnknown_085EC816
ldr r0, =gText_SaveFailedCheckingBackup
movs r1, 0x1
movs r2, 0
bl sub_8178F44
@ -373,7 +373,7 @@ _081792EC:
ldrb r0, [r0]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r0, =gUnknown_085EC86F
ldr r0, =gText_BackupMemoryDamaged
b _08179330
.pool
_0817931C:
@ -385,7 +385,7 @@ _0817931C:
ldr r0, [r0]
cmp r0, 0
bne _08179370
ldr r0, =gUnknown_085EC94F
ldr r0, =gText_SaveCompleteGameCannotContinue
_08179330:
movs r1, 0x1
movs r2, 0
@ -397,7 +397,7 @@ _08179348:
ldrb r0, [r0]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r0, =gUnknown_085EC86F
ldr r0, =gText_BackupMemoryDamaged
movs r1, 0x1
movs r2, 0
bl sub_8178F44
@ -406,7 +406,7 @@ _08179348:
b _08179380
.pool
_08179370:
ldr r0, =gUnknown_085EC9A2
ldr r0, =gText_SaveCompletePressA
movs r1, 0x1
movs r2, 0
bl sub_8178F44
@ -436,7 +436,7 @@ sub_8179390: @ 8179390
ldrb r0, [r0]
movs r1, 0x11
bl FillWindowPixelBuffer
ldr r0, =gUnknown_085EC8D4
ldr r0, =gText_GamePlayCannotBeContinued
movs r1, 0x1
movs r2, 0
bl sub_8178F44

View File

@ -4874,7 +4874,7 @@ s9D_set_HM_animation_data: @ 809B7F4
lsls r0, 16
lsrs r0, 16
bl VarGet
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
lsls r4, 2
adds r4, r1
lsls r0, 16

View File

@ -724,7 +724,7 @@ _080E23AC:
lsls r0, 24
cmp r0, 0
beq _080E23D4
ldr r0, =gUnknown_085EB18B
ldr r0, =gText_HallOfFame
adds r1, r5, 0
bl display_text_and_get_width
adds r5, r0, 0
@ -751,7 +751,7 @@ _080E23D4:
adds r0, r6, 0
movs r1, 0
bl SetStandardWindowBorderStyle
ldr r2, =gUnknown_085EB18B
ldr r2, =gText_HallOfFame
movs r0, 0x21
str r0, [sp]
movs r5, 0xFF
@ -762,7 +762,7 @@ _080E23D4:
movs r1, 0x1
adds r3, r7, 0
bl PrintTextOnWindow
ldr r2, =gUnknown_085EB198
ldr r2, =gText_LogOff
movs r0, 0x31
str r0, [sp]
str r5, [sp, 0x4]
@ -786,7 +786,7 @@ _080E2448:
adds r0, r6, 0
movs r1, 0
bl SetStandardWindowBorderStyle
ldr r2, =gUnknown_085EB198
ldr r2, =gText_LogOff
movs r0, 0x21
str r0, [sp]
movs r0, 0xFF
@ -803,7 +803,7 @@ _080E247A:
lsrs r1, r0, 24
cmp r1, 0
beq _080E24B0
ldr r2, =gUnknown_085EB176
ldr r2, =gText_LanettesPC
movs r0, 0x1
str r0, [sp]
movs r0, 0xFF
@ -817,7 +817,7 @@ _080E247A:
b _080E24C6
.pool
_080E24B0:
ldr r2, =gUnknown_085EB169
ldr r2, =gText_SomeonesPC
movs r0, 0x1
str r0, [sp]
movs r0, 0xFF
@ -829,7 +829,7 @@ _080E24B0:
bl PrintTextOnWindow
_080E24C6:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EB183
ldr r1, =gText_PlayersPC
adds r0, r4, 0
bl StringExpandPlaceholders
adds r0, r6, 0
@ -1677,7 +1677,7 @@ CreateStartMenu: @ 80E2BAC
adds r0, r4, 0
movs r1, 0
bl SetStandardWindowBorderStyle
ldr r2, =gUnknown_085EB25C
ldr r2, =gText_MenuOptionPokedex
movs r0, 0x9
str r0, [sp]
movs r5, 0xFF
@ -1688,7 +1688,7 @@ CreateStartMenu: @ 80E2BAC
movs r1, 0x1
movs r3, 0x8
bl PrintTextOnWindow
ldr r2, =gUnknown_085EB264
ldr r2, =gText_MenuOptionPokemon
movs r0, 0x19
str r0, [sp]
str r5, [sp, 0x4]
@ -1697,7 +1697,7 @@ CreateStartMenu: @ 80E2BAC
movs r1, 0x1
movs r3, 0x8
bl PrintTextOnWindow
ldr r2, =gUnknown_085EB26C
ldr r2, =gText_MenuOptionBag
movs r0, 0x29
str r0, [sp]
str r5, [sp, 0x4]
@ -1706,7 +1706,7 @@ CreateStartMenu: @ 80E2BAC
movs r1, 0x1
movs r3, 0x8
bl PrintTextOnWindow
ldr r2, =gUnknown_085EB270
ldr r2, =gText_MenuOptionPokenav
movs r0, 0x39
str r0, [sp]
str r5, [sp, 0x4]
@ -1725,7 +1725,7 @@ CreateStartMenu: @ 80E2BAC
movs r1, 0x1
movs r3, 0x8
bl PrintTextOnWindow
ldr r2, =gUnknown_085EB279
ldr r2, =gText_MenuOptionSave
movs r0, 0x59
str r0, [sp]
str r5, [sp, 0x4]
@ -1734,7 +1734,7 @@ CreateStartMenu: @ 80E2BAC
movs r1, 0x1
movs r3, 0x8
bl PrintTextOnWindow
ldr r2, =gUnknown_085EB27E
ldr r2, =gText_MenuOptionOption
movs r0, 0x69
str r0, [sp]
str r5, [sp, 0x4]
@ -1743,7 +1743,7 @@ CreateStartMenu: @ 80E2BAC
movs r1, 0x1
movs r3, 0x8
bl PrintTextOnWindow
ldr r2, =gUnknown_085EB285
ldr r2, =gText_MenuOptionExit
movs r0, 0x79
str r0, [sp]
str r5, [sp, 0x4]

View File

@ -751,7 +751,7 @@ sub_80E90C8: @ 80E90C8
push {r4,lr}
lsls r0, 24
lsrs r4, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1576,7 +1576,7 @@ sub_80E9780: @ 80E9780
ldrb r1, [r0]
adds r0, r6, 0
bl ConvertInternationalString
ldr r1, =gUnknown_085EA72F
ldr r1, =gText_ApostropheSBase
adds r0, r6, 0
bl StringAppend
pop {r3}
@ -2204,7 +2204,7 @@ sub_80E9C9C: @ 80E9C9C
b _080E9D1A
.pool
_080E9D10:
ldr r1, =gUnknown_085EA785
ldr r1, =gText_NoRegistry
ldr r2, =task_pc_turn_off
adds r0, r6, 0
bl DisplayItemMessageOnField
@ -2583,7 +2583,7 @@ sub_80E9FFC: @ 80E9FFC
ldrb r1, [r4, 0x8]
bl sub_80E9780
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EA737
ldr r1, =gText_OkayToDeleteFromRegistry
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r2, =sub_80EA06C
@ -2683,7 +2683,7 @@ sub_80EA120: @ 80EA120
push {lr}
lsls r0, 24
lsrs r0, 24
ldr r1, =gUnknown_085EA762
ldr r1, =gText_RegisteredDataDeleted
ldr r2, =sub_80EA08C
bl DisplayItemMessageOnField
pop {r0}

View File

@ -325,14 +325,14 @@ Task_ExitSellMenu: @ 80DFCF8
ldrb r0, [r0, 0xF]
cmp r0, 0x2
bne _080DFD2C
ldr r1, =gUnknown_085E95C7
ldr r1, =gText_CanIHelpWithAnythingElse
ldr r2, =ReturnToShopMenuAfterExitingSellMenu
adds r0, r4, 0
bl DisplayItemMessageOnField
b _080DFD36
.pool
_080DFD2C:
ldr r1, =gUnknown_085E959B
ldr r1, =gText_AnythingElseICanHelp
ldr r2, =ReturnToShopMenuAfterExitingSellMenu
adds r0, r5, 0
bl DisplayItemMessageOnField
@ -748,7 +748,7 @@ _080E00D8:
b _080E00EA
.pool
_080E00E8:
ldr r4, =gUnknown_085E93E0
ldr r4, =gText_QuitShopping
_080E00EA:
movs r0, 0x2
movs r1, 0
@ -817,7 +817,7 @@ _080E0164:
bl ConvertIntToDecimalStringN
_080E0176:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E969C
ldr r1, =gText_PokedollarVar1
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0x7
@ -2060,7 +2060,7 @@ _080E0B92:
lsls r0, 24
cmp r0, 0
bne _080E0BD0
ldr r1, =gUnknown_085E9539
ldr r1, =gText_YouDontHaveMoney
ldr r2, =BuyMenuReturnToItemList
b _080E0C28
.pool
@ -2091,11 +2091,11 @@ _080E0BD0:
adds r1, r0
adds r0, r4, 0
bl StringCopy
ldr r1, =gUnknown_085E9417
ldr r1, =gText_Var1CertainlyHowMany2
b _080E0C26
.pool
_080E0C24:
ldr r1, =gUnknown_085E93EF
ldr r1, =gText_Var1CertainlyHowMany
_080E0C26:
ldr r2, =Task_BuyHowManyDialogueInit
_080E0C28:
@ -2121,13 +2121,13 @@ _080E0C38:
cmp r0, 0x1
bne _080E0C7C
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9468
ldr r1, =gText_Var1IsItThatllBeVar2
bl StringExpandPlaceholders
b _080E0C84
.pool
_080E0C7C:
ldr r0, =gStringVar4
ldr r1, =gUnknown_085E9493
ldr r1, =gText_YouWantedVar1ThatllBeVar2
bl StringExpandPlaceholders
_080E0C84:
ldr r1, =gStringVar4
@ -2171,7 +2171,7 @@ Task_BuyHowManyDialogueInit: @ 80E0CA4
movs r3, 0x4
bl ConvertIntToDecimalStringN
ldr r4, =gStringVar4
ldr r1, =gUnknown_085E93D5
ldr r1, =gText_InBagVar1
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -2319,7 +2319,7 @@ _080E0DF0:
movs r2, 0
movs r3, 0x6
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085E943F
ldr r1, =gText_Var1AndYouWantedVar2
ldr r2, =BuyMenuConfirmPurchase
adds r0, r6, 0
bl BuyMenuDisplayMessage
@ -2400,7 +2400,7 @@ BuyMenuTryMakePurchase: @ 80E0EDC
lsrs r0, 24
cmp r0, 0x1
bne _080E0F30
ldr r1, =gUnknown_085E94C5
ldr r1, =gText_HereYouGoThankYou
ldr r2, =BuyMenuSubtractMoney
adds r0, r5, 0
bl BuyMenuDisplayMessage
@ -2409,7 +2409,7 @@ BuyMenuTryMakePurchase: @ 80E0EDC
b _080E0F7A
.pool
_080E0F30:
ldr r1, =gUnknown_085E9558
ldr r1, =gText_NoMoreRoomForThis
ldr r2, =BuyMenuReturnToItemList
b _080E0F60
.pool
@ -2422,11 +2422,11 @@ _080E0F40:
ldrb r0, [r6, 0xF]
cmp r0, 0x1
bne _080E0F5C
ldr r1, =gUnknown_085E94E7
ldr r1, =gText_ThankYouIllSendItHome
b _080E0F5E
.pool
_080E0F5C:
ldr r1, =gUnknown_085E9510
ldr r1, =gText_ThanksIllSendItHome
_080E0F5E:
ldr r2, =BuyMenuSubtractMoney
_080E0F60:
@ -2435,7 +2435,7 @@ _080E0F60:
b _080E0F7A
.pool
_080E0F70:
ldr r1, =gUnknown_085E957F
ldr r1, =gText_SpaceForVar1Full
ldr r2, =BuyMenuReturnToItemList
adds r0, r7, 0
bl BuyMenuDisplayMessage
@ -2536,7 +2536,7 @@ Task_ReturnToItemListAfterItemPurchase: @ 80E100C
lsrs r0, 24
cmp r0, 0x1
bne _080E106C
ldr r1, =gUnknown_085E95EA
ldr r1, =gText_ThrowInPremierBall
ldr r2, =BuyMenuReturnToItemList
adds r0, r4, 0
bl BuyMenuDisplayMessage

View File

@ -976,7 +976,7 @@ sub_812ACF4: @ 812ACF4
movs r0, 0
movs r1, 0
bl sub_81973C4
ldr r2, =gUnknown_085EF734
ldr r2, =gText_YouDontHaveThreeCoins
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -1544,7 +1544,7 @@ sub_812B158: @ 812B158
movs r0, 0
movs r1, 0
bl sub_81973C4
ldr r2, =gUnknown_085EF6E9
ldr r2, =gText_QuitTheGame
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -1634,7 +1634,7 @@ sub_812B214: @ 812B214
movs r0, 0
movs r1, 0
bl sub_81973C4
ldr r2, =gUnknown_085EF6F8
ldr r2, =gText_YouveGot9999Coins
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -1687,7 +1687,7 @@ sub_812B280: @ 812B280
movs r0, 0
movs r1, 0
bl sub_81973C4
ldr r2, =gUnknown_085EF710
ldr r2, =gText_YouveRunOutOfCoins
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -7209,7 +7209,7 @@ sub_812DD78: @ 812DD78
str r0, [sp]
movs r4, 0
str r4, [sp, 0x4]
ldr r0, =gUnknown_085EF750
ldr r0, =gText_ReelTimeHelp
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1

View File

@ -1862,7 +1862,7 @@ _080A0710:
bl PrintTextOnWindow
movs r4, 0x11
ldrb r0, [r6]
ldr r2, =gUnknown_085EED26
ldr r2, =gText_SavingPlayer
str r4, [sp]
mov r1, r8
str r1, [sp, 0x4]
@ -1887,7 +1887,7 @@ _080A0710:
bl sub_819A024
movs r4, 0x21
ldrb r0, [r6]
ldr r2, =gUnknown_085EED2D
ldr r2, =gText_SavingBadges
str r4, [sp]
mov r1, r8
str r1, [sp, 0x4]
@ -1922,7 +1922,7 @@ _080A0710:
bne _080A0802
movs r4, 0x31
ldrb r0, [r6]
ldr r2, =gUnknown_085EED34
ldr r2, =gText_SavingPokedex
str r4, [sp]
mov r1, r8
str r1, [sp, 0x4]
@ -1952,7 +1952,7 @@ _080A0710:
_080A0802:
adds r4, 0x10
ldrb r0, [r6]
ldr r2, =gUnknown_085EED3C
ldr r2, =gText_SavingTime
lsls r4, 24
lsrs r4, 24
str r4, [sp]

View File

@ -1259,7 +1259,7 @@ c2_berry_program_update_screen_1: @ 80AAF28
cmp r0, 0
bne _080AAF3E
bl m4aMPlayAllStop
ldr r0, =sub_81BF384
ldr r0, =InitBerryFixProgram
bl SetMainCallback2
_080AAF3E:
pop {r0}

View File

@ -9004,7 +9004,7 @@ _0807C0F8:
.pool
_0807C120:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE942
ldr r1, =gText_XWillBeSentToY
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -9070,7 +9070,7 @@ _0807C178:
adds r0, 0x1
strh r0, [r1]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE959
ldr r1, =gText_ByeByeVar1
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -10471,7 +10471,7 @@ _0807CDDC:
movs r0, 0
bl SetGpuReg
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE966
ldr r1, =gText_XSentOverY
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -10542,7 +10542,7 @@ _0807CE70:
movs r5, 0
strh r0, [r1]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE977
ldr r1, =gText_TakeGoodCareOfX
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -11066,7 +11066,7 @@ _0807D4D4:
.pool
_0807D4FC:
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE942
ldr r1, =gText_XWillBeSentToY
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -11132,7 +11132,7 @@ _0807D554:
adds r0, 0x1
strh r0, [r1]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE959
ldr r1, =gText_ByeByeVar1
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -12576,7 +12576,7 @@ _0807E228:
movs r0, 0
bl SetGpuReg
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE966
ldr r1, =gText_XSentOverY
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -12647,7 +12647,7 @@ _0807E2BC:
movs r5, 0
strh r0, [r1]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EE977
ldr r1, =gText_TakeGoodCareOfX
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0
@ -13751,7 +13751,7 @@ _0807ED10:
adds r0, 0x1
strb r0, [r1]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EF6D2
ldr r1, =gText_CommunicationStandby5
b _0807EDA6
.pool
_0807ED2C:
@ -14634,7 +14634,7 @@ _0807F4C0:
movs r0, 0x1
strb r0, [r1]
ldr r4, =gStringVar4
ldr r1, =gUnknown_085EF6D2
ldr r1, =gText_CommunicationStandby5
adds r0, r4, 0
bl StringExpandPlaceholders
movs r0, 0

View File

@ -87,7 +87,7 @@ sub_8133A78: @ 8133A78
ldr r0, [r0]
str r0, [sp, 0xC]
str r1, [sp, 0x10]
ldr r1, =gUnknown_085EB7EA
ldr r1, =gText_Exit
movs r0, 0x1
movs r2, 0
bl GetStringWidth
@ -193,7 +193,7 @@ _08133B94:
cmp r5, 0x3
bls _08133B3C
ldrb r0, [r7, 0x6]
ldr r2, =gUnknown_085EB7EA
ldr r2, =gText_Exit
lsls r1, r5, 4
adds r1, 0x1
lsls r1, 24

View File

@ -410,7 +410,7 @@ _080C2A2C:
movs r0, 0
movs r1, 0x1
bl sub_81973C4
ldr r2, =gUnknown_085ED042
ldr r2, =gText_WaitingTrainerFinishReading
movs r0, 0x1
str r0, [sp]
movs r0, 0xFF
@ -1714,7 +1714,7 @@ sub_80C3548: @ 80C3548
sub_80C3574: @ 80C3574
push {r4,r5,lr}
sub sp, 0x2C
ldr r1, =gUnknown_085ECF71
ldr r1, =gText_TrainerCardName
add r0, sp, 0xC
bl StringCopy
adds r5, r0, 0
@ -1775,7 +1775,7 @@ _080C35FA:
sub_80C3608: @ 80C3608
push {r4,lr}
sub sp, 0x2C
ldr r1, =gUnknown_085ECF78
ldr r1, =gText_TrainerCardIDNo
add r0, sp, 0xC
bl StringCopy
ldr r4, =gUnknown_02039CE8
@ -1842,7 +1842,7 @@ sub_80C3684: @ 80C3684
movs r0, 0x1
negs r0, r0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085ECF7E
ldr r0, =gText_TrainerCardMoney
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1
@ -1857,7 +1857,7 @@ _080C36C4:
movs r0, 0x1
negs r0, r0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085ECF7E
ldr r0, =gText_TrainerCardMoney
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1
@ -1876,7 +1876,7 @@ _080C36DE:
movs r3, 0x6
bl ConvertIntToDecimalStringN
ldr r5, =gStringVar4
ldr r1, =gUnknown_085E969C
ldr r1, =gText_PokedollarVar1
adds r0, r5, 0
bl StringExpandPlaceholders
ldr r0, [r4]
@ -1958,7 +1958,7 @@ sub_80C378C: @ 80C378C
movs r0, 0x1
negs r0, r0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085ECF86
ldr r0, =gText_TrainerCardPokedex
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1
@ -1973,7 +1973,7 @@ _080C37DC:
movs r0, 0x1
negs r0, r0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085ECF86
ldr r0, =gText_TrainerCardPokedex
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1
@ -1992,7 +1992,7 @@ _080C37F6:
movs r2, 0
movs r3, 0x3
bl ConvertIntToDecimalStringN
ldr r1, =gUnknown_085ECF8E
ldr r1, =gText_EmptyString6
bl StringCopy
ldr r0, [r4]
ldr r1, =0x0000052b
@ -2054,7 +2054,7 @@ sub_80C3880: @ 80C3880
movs r0, 0x1
negs r0, r0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085ECF99
ldr r0, =gText_TrainerCardTime
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1
@ -2069,7 +2069,7 @@ _080C38C8:
movs r0, 0x1
negs r0, r0
str r0, [sp, 0x4]
ldr r0, =gUnknown_085ECF99
ldr r0, =gText_TrainerCardTime
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1
@ -2105,7 +2105,7 @@ _080C391C:
bls _080C3922
movs r6, 0x3B
_080C3922:
ldr r1, =gUnknown_085ECF8F
ldr r1, =gText_Colon2
movs r0, 0x1
movs r2, 0
bl GetStringWidth
@ -2172,7 +2172,7 @@ _080C395C:
ldr r0, [r0]
str r0, [sp]
str r5, [sp, 0x4]
ldr r0, =gUnknown_085ECF8F
ldr r0, =gText_Colon2
str r0, [sp, 0x8]
movs r0, 0x1
movs r1, 0x1
@ -2331,7 +2331,7 @@ sub_80C3AF0: @ 80C3AF0
bl StringCopy
ldr r0, [r4]
adds r0, 0x4D
ldr r1, =gUnknown_085ECFA6
ldr r1, =gText_Var1sTrainerCard
bl StringExpandPlaceholders
_080C3B30:
pop {r4}
@ -2512,7 +2512,7 @@ sub_80C3CCC: @ 80C3CCC
ldrb r0, [r2, 0xB]
cmp r0, 0
beq _080C3CE4
ldr r1, =gUnknown_085ECFB8
ldr r1, =gText_HallOfFameDebut
adds r2, 0x93
ldr r3, =gUnknown_0856FB0F
movs r0, 0
@ -2585,7 +2585,7 @@ sub_80C3D60: @ 80C3D60
adds r1, r2
bl StringCopy
ldr r4, =gStringVar4
ldr r1, =gUnknown_085ECFED
ldr r1, =gText_WinsLosses
adds r0, r4, 0
bl StringExpandPlaceholders
ldr r1, [r5]
@ -2631,7 +2631,7 @@ sub_80C3DF0: @ 80C3DF0
ldrb r0, [r2, 0x10]
cmp r0, 0
beq _080C3E0A
ldr r1, =gUnknown_085ED010
ldr r1, =gText_PokemonTrades
ldr r0, =0x00000237
adds r2, r0
ldr r3, =gUnknown_0856FB0F
@ -2685,7 +2685,7 @@ sub_80C3E58: @ 80C3E58
ldr r0, [r0]
cmp r0, 0
beq _080C3E80
ldr r1, =gUnknown_085ED036
ldr r1, =gText_BerryCrush
ldr r0, =0x000002c3
adds r2, r0
ldr r3, =gUnknown_0856FB0F
@ -2738,7 +2738,7 @@ sub_80C3ED4: @ 80C3ED4
ldr r0, [r0]
cmp r0, 0
beq _080C3EFC
ldr r1, =gUnknown_085ED01F
ldr r1, =gText_UnionTradesAndBattles
ldr r0, =0x0000034f
adds r2, r0
ldr r3, =gUnknown_0856FB0F
@ -2773,7 +2773,7 @@ sub_80C3F14: @ 80C3F14
ldr r0, [r4]
ldr r1, =0x00000395
adds r0, r1
ldr r1, =gUnknown_085ED096
ldr r1, =gText_Var1DarkGreyShadowLightGrey
bl StringExpandPlaceholders
_080C3F46:
pop {r4}
@ -2797,7 +2797,7 @@ sub_80C3F64: @ 80C3F64
ldrh r0, [r0]
cmp r0, 0
beq _080C3F8C
ldr r1, =gUnknown_085ED085
ldr r1, =gText_PokeblocksWithFriends
ldr r0, =0x00000395
adds r2, r0
ldr r3, =gUnknown_0856FB0F
@ -2852,7 +2852,7 @@ sub_80C3FE0: @ 80C3FE0
ldrh r0, [r0]
cmp r0, 0
beq _080C4008
ldr r1, =gUnknown_085ED09F
ldr r1, =gText_WonContestsWFriends
ldr r0, =0x000003db
adds r2, r0
ldr r3, =gUnknown_0856FB0F
@ -2902,7 +2902,7 @@ _080C4044:
ldr r0, [r4]
ldr r1, =0x00000421
adds r0, r1
ldr r1, =gUnknown_085ED0E0
ldr r1, =gText_WSlashStraightSlash
bl StringExpandPlaceholders
b _080C40B6
.pool
@ -2920,7 +2920,7 @@ _080C4094:
ldr r0, [r4]
ldr r1, =0x00000421
adds r0, r1
ldr r1, =gUnknown_085ED0C8
ldr r1, =gText_Var1DarkLightGreyBP
bl StringExpandPlaceholders
_080C40B6:
pop {r4}
@ -2949,7 +2949,7 @@ _080C40F0:
ldrb r0, [r2, 0xD]
cmp r0, 0
beq _080C412C
ldr r1, =gUnknown_085ED0D3
ldr r1, =gText_BattleTower
ldr r0, =0x00000421
adds r2, r0
ldr r3, =gUnknown_0856FB0C
@ -2963,7 +2963,7 @@ _080C4114:
ldrh r0, [r0]
cmp r0, 0
beq _080C412C
ldr r1, =gUnknown_085ED0B6
ldr r1, =gText_BattlePtsWon
ldr r0, =0x00000421
adds r2, r0
ldr r3, =gUnknown_0856FB0F
@ -6346,7 +6346,7 @@ _080C5DC2:
lsrs r4, r0, 24
cmp r4, 0x4
bls _080C5DC2
ldr r4, =gUnknown_085ED8FF
ldr r4, =gText_SymbolsEarned
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x60
@ -6362,7 +6362,7 @@ _080C5DC2:
movs r1, 0x1
movs r3, 0x5
bl box_print
ldr r4, =gUnknown_085ED90E
ldr r4, =gText_BattleRecord
movs r0, 0x1
adds r1, r4, 0
movs r2, 0x60
@ -6380,7 +6380,7 @@ _080C5DC2:
str r6, [sp]
mov r0, r8
str r0, [sp, 0x4]
ldr r0, =gUnknown_085ED91C
ldr r0, =gText_BattlePoints
str r0, [sp, 0x8]
movs r0, 0x2
movs r1, 0x8

View File

@ -734,7 +734,7 @@ sub_80B417C: @ 80B417C
push {r4,r5,lr}
adds r5, r1, 0
adds r4, r2, 0
ldr r1, =gUnknown_02038C08
ldr r1, =gFieldEffectSpawnParams
adds r2, r1, 0x4
adds r3, r1, 0
adds r3, 0x8
@ -882,7 +882,7 @@ _080B427A:
bl sub_808F23C
adds r0, r5, 0
bl sub_808F208
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -901,7 +901,7 @@ _080B427A:
beq _080B4308
_080B42D2:
bl sub_808BCE8
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r0, [r0, 0x5]
lsls r4, r0, 3
adds r4, r0
@ -936,7 +936,7 @@ sub_80B4318: @ 80B4318
push {r4,r5,lr}
lsls r0, 24
lsrs r5, r0, 24
ldr r0, =gUnknown_02037590
ldr r0, =gPlayerAvatar
ldrb r1, [r0, 0x5]
lsls r0, r1, 3
adds r0, r1
@ -1050,7 +1050,7 @@ sub_80B43E0: @ 80B43E0
lsls r0, 24
cmp r0, 0
beq _080B4426
ldr r2, =gUnknown_02038C08
ldr r2, =gFieldEffectSpawnParams
movs r1, 0x10
ldrsh r0, [r4, r1]
str r0, [r2]

View File

@ -7811,7 +7811,7 @@ GetMomOrDadStringForTVMessage: @ 80F00A4
cmp r0, 0
bne _080F0104
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD08
ldr r1, =gText_Mom
bl StringCopy
ldr r0, =0x00004003
movs r1, 0x1
@ -7824,7 +7824,7 @@ _080F00EC:
cmp r0, 0x2
bne _080F0104
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD08
ldr r1, =gText_Mom
bl StringCopy
ldr r0, =0x00004003
movs r1, 0x1
@ -7859,13 +7859,13 @@ _080F0104:
bne _080F0158
_080F0142:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD08
ldr r1, =gText_Mom
bl StringCopy
b _080F01A8
.pool
_080F0158:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD04
ldr r1, =gText_Dad
bl StringCopy
b _080F01A8
.pool
@ -7878,7 +7878,7 @@ _080F016C:
cmp r0, 0
beq _080F0198
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD08
ldr r1, =gText_Mom
bl StringCopy
adds r0, r4, 0
movs r1, 0x1
@ -7887,7 +7887,7 @@ _080F016C:
.pool
_080F0198:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAD04
ldr r1, =gText_Dad
bl StringCopy
adds r0, r4, 0
movs r1, 0x2
@ -10790,13 +10790,13 @@ _080F1A40:
cmp r0, 0x32
bne _080F1A58
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAEB1
ldr r1, =gText_Lv50
bl StringCopy
b _080F1A60
.pool
_080F1A58:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EAEB8
ldr r1, =gText_OpenLevel
bl StringCopy
_080F1A60:
ldrh r1, [r4, 0x16]
@ -12536,31 +12536,31 @@ _080F2C08:
.4byte _080F2C6C
_080F2C1C:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB0E8
ldr r1, =gText_Cool
bl StringCopy
b _080F2C74
.pool
_080F2C30:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB0ED
ldr r1, =gText_Beauty
bl StringCopy
b _080F2C74
.pool
_080F2C44:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB0F4
ldr r1, =gText_Cute
bl StringCopy
b _080F2C74
.pool
_080F2C58:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB0F9
ldr r1, =gText_Smart
bl StringCopy
b _080F2C74
.pool
_080F2C6C:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085EB0FF
ldr r1, =gText_Tough
bl StringCopy
_080F2C74:
ldr r0, =gStringVar2
@ -13154,13 +13154,13 @@ _080F31CA:
cmp r0, 0
bne _080F3200
ldr r0, =gStringVar3
ldr r1, =gUnknown_085ECB64
ldr r1, =gText_Single
bl StringCopy
b _080F3208
.pool
_080F3200:
ldr r0, =gStringVar3
ldr r1, =gUnknown_085ECB6B
ldr r1, =gText_Double
bl StringCopy
_080F3208:
ldr r1, =gUnknown_0203A030
@ -13369,38 +13369,38 @@ _080F3430:
.4byte _080F3494
_080F3444:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB48
ldr r1, =gText_Spicy2
bl StringCopy
b _080F349C
.pool
_080F3458:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB4E
ldr r1, =gText_Dry2
bl StringCopy
b _080F349C
.pool
_080F346C:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB52
ldr r1, =gText_Sweet2
bl StringCopy
b _080F349C
.pool
_080F3480:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB58
ldr r1, =gText_Bitter2
bl StringCopy
b _080F349C
.pool
_080F3494:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB5F
ldr r1, =gText_Sour2
bl StringCopy
_080F349C:
ldrb r0, [r4, 0x2]
cmp r0, 0x18
bls _080F34BC
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB2A
ldr r1, =gText_Excellent
bl StringCopy
b _080F34DC
.pool
@ -13408,13 +13408,13 @@ _080F34BC:
cmp r0, 0x16
bls _080F34D4
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB20
ldr r1, =gText_VeryGood
bl StringCopy
b _080F34DC
.pool
_080F34D4:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB1B
ldr r1, =gText_Good
bl StringCopy
_080F34DC:
ldr r0, =gStringVar3
@ -13454,38 +13454,38 @@ _080F3524:
.4byte _080F3588
_080F3538:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB48
ldr r1, =gText_Spicy2
bl StringCopy
b _080F3590
.pool
_080F354C:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB4E
ldr r1, =gText_Dry2
bl StringCopy
b _080F3590
.pool
_080F3560:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB52
ldr r1, =gText_Sweet2
bl StringCopy
b _080F3590
.pool
_080F3574:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB58
ldr r1, =gText_Bitter2
bl StringCopy
b _080F3590
.pool
_080F3588:
ldr r0, =gStringVar1
ldr r1, =gUnknown_085ECB5F
ldr r1, =gText_Sour2
bl StringCopy
_080F3590:
ldrb r0, [r4, 0x2]
cmp r0, 0x10
bls _080F35B0
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB34
ldr r1, =gText_SoSo
bl StringCopy
b _080F35D0
.pool
@ -13493,13 +13493,13 @@ _080F35B0:
cmp r0, 0xD
bls _080F35C8
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB3A
ldr r1, =gText_Bad
bl StringCopy
b _080F35D0
.pool
_080F35C8:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB3E
ldr r1, =gText_TheWorst
bl StringCopy
_080F35D0:
ldr r0, =gStringVar3
@ -14418,13 +14418,13 @@ _080F3ECC:
.pool
_080F3EE8:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB0C
ldr r1, =gText_Slots
bl StringCopy
b _080F3F04
.pool
_080F3EFC:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB12
ldr r1, =gText_Roulette
bl StringCopy
_080F3F04:
ldrb r1, [r4, 0x2]
@ -14455,13 +14455,13 @@ _080F3F28:
.pool
_080F3F44:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB0C
ldr r1, =gText_Slots
bl StringCopy
b _080F3F60
.pool
_080F3F58:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB12
ldr r1, =gText_Roulette
bl StringCopy
_080F3F60:
ldrh r1, [r4, 0x4]
@ -14485,13 +14485,13 @@ _080F3F78:
.pool
_080F3F94:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB0C
ldr r1, =gText_Slots
bl StringCopy
b _080F3FB0
.pool
_080F3FA8:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB12
ldr r1, =gText_Roulette
bl StringCopy
_080F3FB0:
ldrh r1, [r4, 0x4]
@ -14517,13 +14517,13 @@ _080F3FCC:
.pool
_080F3FE8:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB12
ldr r1, =gText_Roulette
bl StringCopy
b _080F4004
.pool
_080F3FFC:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB0C
ldr r1, =gText_Slots
bl StringCopy
_080F4004:
bl TVShowDone
@ -15097,7 +15097,7 @@ DoTVShowPokemonLotterWinnerFlashReport: @ 80F45A0
cmp r0, 0
bne _080F45FC
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB72
ldr r1, =gText_Jackpot
bl StringCopy
b _080F4634
.pool
@ -15105,7 +15105,7 @@ _080F45FC:
cmp r0, 0x1
bne _080F4614
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB7A
ldr r1, =gText_First
bl StringCopy
b _080F4634
.pool
@ -15113,13 +15113,13 @@ _080F4614:
cmp r0, 0x2
bne _080F462C
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB80
ldr r1, =gText_Second
bl StringCopy
b _080F4634
.pool
_080F462C:
ldr r0, =gStringVar2
ldr r1, =gUnknown_085ECB87
ldr r1, =gText_Third
bl StringCopy
_080F4634:
ldr r4, =gStringVar3

View File

@ -1196,7 +1196,7 @@ sub_8166D44: @ 8166D44
bl GetMonData
add r0, sp, 0xC
bl StringGetEnd10
ldr r1, =gUnknown_085EC7A0
ldr r1, =gText_GetsAPokeBlockQuestion
add r0, sp, 0xC
bl StringAppend
ldr r4, =gStringVar4
@ -1426,7 +1426,7 @@ sub_8166F50: @ 8166F50
movs r1, 0x97
movs r2, 0xE
bl sub_8098858
ldr r2, =gUnknown_085EC800
ldr r2, =gText_WontEatAnymore
movs r0, 0x1
str r0, [sp]
movs r0, 0
@ -1503,13 +1503,13 @@ _08166FEC:
ldr r1, [r0]
adds r0, r4, 0
bl StringCopy
ldr r1, =gUnknown_085EC7E1
ldr r1, =gText_WasEnhanced
adds r0, r4, 0
bl StringAppend
b _08167018
.pool
_08167010:
ldr r1, =gUnknown_085EC7EF
ldr r1, =gText_NothingChanged
adds r0, r4, 0
bl StringCopy
_08167018:
@ -2895,7 +2895,7 @@ sub_8167BA0: @ 8167BA0
ldr r0, [r7]
ldr r6, =0x0000804a
adds r0, r6
ldr r1, =gUnknown_085EBF8D
ldr r1, =gText_NatureSlash
bl StringCopy
ldr r1, =gNatureNamePointers
lsls r4, 2

View File

@ -53,7 +53,7 @@ _081D9A44:
bl sub_80D2578
cmp r0, 0
beq _081D9A5C
ldr r0, =gUnknown_085EE49A
ldr r0, =gText_Peekaboo
bl sub_80D255C
b _081D9A68
.pool

View File

@ -353,7 +353,7 @@ Cb2_StartWallClock: @ 81349F4
movs r0, 0x5A
strh r0, [r1, 0x30]
bl sub_813498C
ldr r2, =gUnknown_085EFAE0
ldr r2, =gText_Confirm3
movs r0, 0x1
str r0, [sp]
mov r1, r8
@ -500,7 +500,7 @@ _08134BA4:
ldrh r0, [r0, 0xC]
strh r0, [r1, 0x30]
bl sub_813498C
ldr r2, =gUnknown_085EFAE8
ldr r2, =gText_Cancel4
movs r0, 0x1
str r0, [sp]
mov r1, r9
@ -683,7 +683,7 @@ sub_8134DC4: @ 8134DC4
adds r2, r5, 0
movs r3, 0xD
bl SetWindowBorderStyle
ldr r2, =gUnknown_085EFAC6
ldr r2, =gText_IsThisTheCorrectTime
movs r0, 0x1
str r0, [sp]
movs r0, 0

View File

@ -440,12 +440,14 @@ GREEN = 06
LIGHT_GREEN = 07
BLUE = 08
LIGHT_BLUE = 09
BORDER_COLOR1 = 0A @ white
BORDER_COLOR2 = 0B @ white with a tinge of green
BORDER_COLOR3 = 0C @ white 2
BORDER_COLOR4 = 0D @ aquamarine
BORDER_COLOR5 = 0E @ blue-green
BORDER_COLOR6 = 0F @ cerulean
@ these next colors can be set to anything arbitrary at runtime
@ usually though they'll have the textbox border colors as described below
DYNAMIC_COLOR1 = 0A @ white
DYNAMIC_COLOR2 = 0B @ white with a tinge of green
DYNAMIC_COLOR3 = 0C @ white 2
DYNAMIC_COLOR4 = 0D @ aquamarine
DYNAMIC_COLOR5 = 0E @ blue-green
DYNAMIC_COLOR6 = 0F @ cerulean
@ sound and music

File diff suppressed because it is too large Load Diff

View File

@ -7,44 +7,134 @@
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
.incbin "baserom.gba", 0x31c2c8, 0x20
.incbin "graphics/battle_interface/unk_battlebox.gbapal"
.align 2
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
.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
.incbin "baserom.gba", 0x31c3d8, 0x8
.2byte 0xffff, 0x7fff, 0x3fff, 0x1fff
.align 2
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
.incbin "baserom.gba", 0x31c408, 0xc
.byte 0x01, 0xc8, 0x04, 0x96, 0x09, 0x64, 0x10, 0x50
.byte 0x20, 0x28, 0x30, 0x14
.align 2
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
.incbin "baserom.gba", 0x31c428, 0x18
.2byte 0x0064, 0x0014, 0x00fa, 0x0028
.2byte 0x01f4, 0x003c, 0x03e8, 0x0050
.2byte 0x07d0, 0x0064, 0xffff, 0xffff
.align 2
@ 831C440
.include "data/pickup_items.inc"
sTerrainToType:: @ 831C483
.incbin "baserom.gba", 0x31c483, 0xa
.byte 0x0c, 0x0c, 0x04, 0x0b, 0x0b, 0x0b, 0x05, 0x05
.byte 0x00, 0x00
sBallCatchBonuses:: @ 831C48D
.incbin "baserom.gba", 0x31c48d, 0x7
.byte 0x14, 0x0f, 0x0a, 0x0f, 0x00, 0x00, 0x00
.align 2
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
.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

View File

@ -3,26 +3,237 @@
.section .rodata
.align 2
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
.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
.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
.incbin "baserom.gba", 0x5e51b4, 0xc
.byte 0x00, 0x00, 0x00, 0x05, 0x01, 0x02, 0x02, 0x03
.byte 0x05, 0x05, 0x04, 0x04
.align 2
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
.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
.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
.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

View File

@ -3,6 +3,62 @@
.section .rodata
.align 2
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

View File

@ -3,7 +3,63 @@
.section .rodata
.align 2
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

Some files were not shown because too many files have changed in this diff Show More