Wow, this rutine makes me feel like a really noob in ASM concepts C': . I have made a long seen and I'm confusing of how use it. I can know if the next block have some behaviour or not (A jumping bloc for example/ hillside) but this is no related with if I am doing surf o not.
You talk me about the jump behaviours 0x38, 0x39, 0x3A, 0x3B ¿Right? With this rutine I can know if the next block have the behaviour but helps with tre principal problem: if level permission of the Player=4?/if Palayer is surfing?.
I think it should be some byte in the rom that changes when player is surfing to walking, or walking to surfing. Also a byte for the player's permision level. (my point of interest)
I think that I'm not explaining well the case.Thanks for respond me and sorry for the inconvenience. A hug bro.
Pd: yes, I take some time for read the case and think my answer x'D
Wow thanks . But you're talking about compare the behavior byte . But this is used to apply for block below the player, not next block ¿Isn't it?
¿Why not determine if the player is surfing or not? I think that it shoud be a method, one example is permission level. When you are in block with permision C your in level 2, when you are in water (permission 4) you're in level 1.
I think that know the byte of when permission level changes is faster using only a:
comparefarbyetobye 0x(offset permission level) 0x4
if 0x1 go to @end
[...] currently scripts with setmaptiles predefined