Binary ROM HackingNeed a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.
So I created a movement/battle script where the trainer and an NPC both move. The player movements work just fine but the NPC stands in place and then doesn't disappear when the battle is over. I've created similar scripts in the past and I'm very stumped. I'm hoping someone may be able to help me. I can post or PM the script if necessary. Thank you.
#org @2
= I was moments away from infinitenpower.pWith Jirachi, I would have rulednthe world unopposed.pYour interference will not gonunpunished.pI will have my vengeance!
#org @after
= No.pNO.pNO!pI CANNOT LOSE!
#org @3
= Mark my words, child.pThis world will feel my wrath.pThis is not the last you will seenof me.
Have you expanded the amount of flags? 0x1334 is not an available flag in the vanilla games as far as I'm aware. Where did you get the idea to use those values?
If you did not expand the amount of flags it can lead to completely random results, as is also stated in this thread: https://www.pokecommunity.com/showthread.php?t=302347. Long story short: no, it's not safe to use them, so you shouldn't. Instead, stay with the flags mentioned in the sources I sent before.
So I've always been led to believe by the sources I've used that 1200+ is safe but assuming that the issue is the script, is there anything noticeably wrong with it?
That's why I was curious what sources you used. Because anything I've ever read about flags is to be cautious which ones to use.
Either way, you use hidesprite 0x11. So that means person event number 17 (in decimal) will be hidden. Make sure those correspondent correctly with AdvanceMap. Subsequently, make sure to use a safe flag instead of those you've used up to this point.
I'll definitely make sure to use safe flags from here on out. This specific script is actually for the end of the game so I'm surprised I haven't encountered a single glitch in 10+ playtests. I appreciate the help, thank you so much!