Document Cerulean City scripts

This commit is contained in:
GriffinR
2020-01-14 14:48:25 -05:00
parent 8c560386ed
commit f544f6e356
58 changed files with 796 additions and 745 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ _0814BA3C:
ldr r1, [r4]
ldr r0, [r1, 0x68]
str r0, [r1, 0x1C]
bl sub_815EEE0
bl GiveBerryPowder
lsls r0, 24
cmp r0, 0
bne _0814BA5A
+3 -3
View File
@@ -2526,8 +2526,8 @@ _0814EA6C:
bx r0
thumb_func_end sub_814E830
thumb_func_start sub_814EA7C
sub_814EA7C: @ 814EA7C
thumb_func_start ShowBerryCrushRankings
ShowBerryCrushRankings: @ 814EA7C
push {lr}
bl ScriptContext2_Enable
ldr r0, _0814EAC4 @ =sub_814E830
@@ -2566,7 +2566,7 @@ _0814EAC4: .4byte sub_814E830
_0814EAC8: .4byte gTasks
_0814EACC: .4byte gSaveBlock2Ptr
_0814EAD0: .4byte 0x00000af6
thumb_func_end sub_814EA7C
thumb_func_end ShowBerryCrushRankings
thumb_func_start sub_814EAD4
sub_814EAD4: @ 814EAD4
+1 -1
View File
@@ -461,7 +461,7 @@
.endm
@ Removes quantity of item index from the player's Bag.
.macro removeitem index:req, quantity:req
.macro removeitem index:req, quantity=1
.byte 0x45
.2byte \index
.2byte \quantity
+2 -2
View File
@@ -887,7 +887,7 @@ pokemon_transfer_to_pc_with_message: @ 809E0B4
push {r4,r5,lr}
sub sp, 0x10
movs r5, 0
bl sub_80CC7F8
bl IsDestinationBoxFull
lsls r0, 24
cmp r0, 0
bne _0809E104
@@ -932,7 +932,7 @@ _0809E104:
ldr r1, [r1]
bl StringCopy
ldr r4, _0809E1C0 @ =gStringVar3
bl get_unknown_box_id
bl GetPCBoxToSendMon
lsls r0, 24
lsrs r0, 24
bl GetBoxNamePtr