And i disassembled the thick fat ability. To my understanding it checked the ability, and then checked whether the incoming attack is fire or ice. So, i guess i would just place the branch, check the ability byte, if it is thick fat then jump to the type check, and then check for heatproof and check for fire type, if both matches then goto the lowering function. Is it right?
Hey, i am in a bit of problem over here. I saw the post by you in the split dissASM thread, added branch there, but i can not understand a few things. Like where would i branch to boost priority? And how would i check the ability of a pokemon mid battle? Thank you.
Sorry again to knock you, but the BSP does not work in my pc. I need to do it the old fashion way, via hex. And i am good with hex. Can you please tell me the hex commands for Battle Scripting? Or a thread with all commands? I badly need it.
Is this for Fire Red or Emerald. I've written a tutorial for Emerald so look at that if that's the case. Otherwise there's a tutorial by someone else for Fire Red.
Well i have been trying to insert a new type, but am having problem with the co-ordinates table. Could you tell me how you set up the fairy type in the chart and editing its co-ordinates?
Sorry to knock you again. But i have a problem with the new types co-ordinates. My new types co-ordinate is 6C. I can post the image if you would like to help.
Yeah just put an ASM branch in that general area, you usually want to leave the code immediately after the check intact, and you usually want to branch with a register that you load something into. EG. The routine has LDRB r0, [r2]. You'd branch using register 0, because its going to be overwritten by r2 anyway. From there you just add your own new checks, code etc. Make sure to return to the right places after though.
Best of luck!
Sorry to sound newbish. But how do i use the checks you listed in the Gen 3 disassembly? Do i just put an ASM branch there to the routine? I am actually learning battle script and ASM, so i thought of trying to understand them.