I ran into a slight problem when testing my bee code in asm. He can fly forever but when he's not flying he can't move on the ground. This is the instruction I found in the assembly.
subi r0, r3, 1
It's subtracting one from the max flying value B4 in the registers. So first I changed it to.
addi r0, r3, 0
And it worked but for the moving issue then I tried
nop
and same issue.
I feel like such a noob for asking for help on this but I don't know what I did wrong. It seemed like the right thing.
Forget this I found the answer. There was the exact same instruction a few lines down that worked.
when it fails, you either need to break again or get a different hook (by changing to read/write) or by doing branches inside the C2 to be sure OR by calling the stack...