top of page

Change Berry Powder Amount

6.12

Description Loading...

HMA Discord Link 2.png

Credits:

Defa


How To

Add the following routine to free space and note the offset:

push  {lr}
ldr   r0, var
ldr   r3, =0x806E569 @VarGet
bl    linker
ldr   r3, =0x815EEE1 @GiveBerryPowder
bl    linker
pop   {pc}
linker: bx r3
var: .word 0x4000

Set temp0 to how much Berry Powder you want to add, then callasm <offset+1>


NOTE: If you want to use a different variable, change 4000 at the bottom


Happy Hacking!

 


bottom of page