Lance Koijer 2.0

Lance Koijer

Male
Criscanto Town
Seen 10 Hours Ago
Posted June 1st, 2019
73 posts
1.3 Years
8Beast Boost : [FR]

At 0x213DC, open the address you found there in BSP.

Add the following:
On the first org., insert this before the code "return"
jumpifability 0x1 0xAA 0x8XXXXXX  //Change AA into your Beast Boost's Ability ID//
Battle Script at XXXXXX:
Spoiler:
setword 0x203C020 0x8SSSSSS
printstring 0x184
pause 0x40
setbyte 0x2023FDF 0x0
playstatchangeanimation 0x1 0x10 0x0
callasm 0x8YYYYYY+1
statbuffchange 0x41 0x8ZZZZZZ
printfromtable 0x83FE57C
waitmessage 0x40
return


Battle Script at ZZZZZZ:
return
Routine at YYYYYY:
Spoiler:
.align 2
.thumb

main:
          push {r0-r3, lr}
          ldr r0, =(0x2023D6B)
          mov r1, #0x58
          ldrb r0, [r0]
          mul r0, r1
          ldr r1, VAL
          add r0, r1, r0
          mov r3, r0
          ldrh r0, [r0]
          mov r1, #0x2
          add r1, r3, r1
          ldrh r1, [r1]
          mov r2, #0x11
          cmp r0, r1
          bge SpecialAttack
          mov r2, #0x12
          mov r0, r1
          b SpecialAttack

SpecialAttack:
          mov r1, #0x6
          add r1, r3, r1
          ldrh r1, [r1]
          cmp r0, r1
          bge SpecialDefense
          mov r2, #0x14
          mov r0, r1
          b SpecialDefense

SpecialDefense:
          mov r1, #0x8
          add r1, r3, r1
          ldrh r1, [r1]
          cmp r0, r1
          bge Speed
          mov r2, #0x15
          mov r0, r1
          b Speed

Speed:
          mov r1, #0x4
          add r1, r3, r1
          ldrh r1, [r1]
          cmp r0, r1
          bge identifyhighest
          mov r2, #0x13
          b identifyhighest

identifyhighest:
          ldr r0, =(0x2023FDE)
          strb r2, [r0]
          pop {r0-r3, pc}

.align 2

VAL:
.word 0x2023be6


String at SSSSSS:
FD 0F B4 E7 00 BC D9 D5 E7 E8 00 BC E3 E3 E7 E8 FE
 EB D5 E7 00 D5 D7 E8 DD EA D5 E8 D9 D8 AB