Chacha Dinosaur

Adamant and adaptive dinosaur.

Age 24
Male
Seen March 4th, 2018
Posted September 8th, 2017
454 posts
6.1 Years
Updated Hi Jump Kick [FR]:
The script to insert
#dynamic 0x[YourOffset]
#freespacebyte 0xFF

#org @jumpkick
attackcanceler
accuracycheck @crash 0x0
goto 0x81D692E

#org @crash
attackstring
ppreduce
pause 0x40
resultmessage
waitmessage 0x40
jumpifbyte 0x4 0x2023DCC 0x8 0x81D694E
printstring 0x60
waitmessage 0x40
bicbyte 0x2023DCC 0x1
orword 0x2023DD0 0x100
callasam 0x(offset to asm+1)
graphicalhpupdate 0x1
datahpupdate 0x1
faintpokemon 0x1 0x0 0x0
orbyte 0x2023DCC 0x1
goto 0x81D694E
The ASM for crash damage calculation:
.align 2
.thumb
.thumb_func

main:
push {r0-r4}
ldr r0, .userBank
ldrb r0, [r0, #0x0]
ldr r1, .battleStruct
mov r2, #0x58
mul r0, r2
add r4, r0, r1
ldrh r3, [r4, #0x2c]
lsr r3, #0x1
ldr r0, .damageValue
stm r0!, {r3}
pop {r0-r4}
bx lr

.align
.damageValue:  .word 0x02023D50
.battleStruct:  .word 0x02023be4
.userBank: .word 0x02023D6B
The vanilla scripts:
#org 0x1D694E
setbyte 0x2023FD8 0x0
cmd49 0x0 0x0
end
#org 0x1D692E
attackstring
ppreduce
calculatedamage
attackanimation
waitanimation
missmessage
cmd5c 0x0
waitstate
graphicalhpupdate 0x0
datahpupdate 0x0
critmessage
waitmessage 0x40
resultmessage
waitmessage 0x40
seteffectwithchancetarget
faintpokemon 0x0 0x0 0x0
setbyte 0x2023FD8 0x0
cmd49 0x0 0x0
end
Also, to modernize to Gen 6, the scripts for powder and paralysis inducing moves need to be altered too, since now Grass pokemon are immune to powder moves and Electric pokemon cannot be paralysed.