- 1,758
- Posts
- 9
- Years
- Online now
For my question, I'm having trouble with JPAN's Fire Red Hacked Engine. I'm using his modified special 0x64 (changes your own pokemon's status condition) and it requires me to set the variables 8004 (pokemon slot to change) and 8005 (type of status ailment). No matter what I set 8005 to, it always ends up making the Pokemon fall asleep. I'm trying to get it to be paralyzed but when I set 8005 to 0x6 (the paralysis one), it still puts them to sleep. The script doesn't tell much, but here it is:
Spoiler:
setvar 0x8004 0x0
setvar 0x8005 0x6
special 0x64
release
end
P.S if you answer, please quote my post so I get a notification and don't have to come back and check the thread every day or so. Thanks,
So, special 0x64 is odd with how it uses variable 0x8005.
These are actually bit flags. So the last two bits are for sleep, third last is poison, etc.
so, 0x6 in binary is 00000110 or sleep bit 2 and poison.
You will want 01000000 or 0x40.