Karl
Creator of Pokémon Darkfire
- 169
- Posts
- 14
- Years
- Seen May 7, 2025
Hey,
I have a few wild Krabbys NPCs with movement permissions set to "walk left and right".
When I interact with them, they lock and face me, and a wild battle commences, however once the wild battle music begins to play and the scene changes, the NPC becomes unlocked and can walk around again. The same thing happens when coming out of the battle scene.
Is there any way to lock the Pokémon NPC so it doesn't unlock and move around once the wildbattle command is executed?
edit: found a fix myself, kind of a dirty fix but i'll leave here in case anyone else has the same issue
If you need to look at my script, it's this:
I have a few wild Krabbys NPCs with movement permissions set to "walk left and right".
When I interact with them, they lock and face me, and a wild battle commences, however once the wild battle music begins to play and the scene changes, the NPC becomes unlocked and can walk around again. The same thing happens when coming out of the battle scene.
Is there any way to lock the Pokémon NPC so it doesn't unlock and move around once the wildbattle command is executed?
edit: found a fix myself, kind of a dirty fix but i'll leave here in case anyone else has the same issue
If you need to look at my script, it's this:
Spoiler:
Code:
#clean
#dynamic 0xB9B9E6
#org @start
lock
faceplayer
cry 0x120 0x0
msgbox @1 0x6
lock
wildbattle 0x120 0x6 0x0
lock
cry 0x120 0x1
pause 0x30
fadescreen 0x1
hidesprite 0x1
fadescreen 0x0
setflag 0x49D
release
end
#org @1
= [blue_em]Zigzagoon: Grr!
Last edited: