Script Help with player spawn location upon fainting FIRE RED
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.
OK guys a bit of a complex one. Firstly how do I manipulate where the player will 'respawn' after losing a battle. I want the player to spawn in their Mom's house (on a custom map, not the default pallet town map of your room) should they lose a battle before reaching the first pkmn centre and am uncertain as to how I would go about this. Furthermore I was hoping to include some script in the scripting of the first rival encounter similar to that in Oak's lab, such that should you lose to your rival rather than being whisked away to the 'respawn point' at Mom's house you just stay where you are and the professor will heal your team. I know special 0x0 is the healing command but how would I stop my player from 'respawning' in particular instances. Is there a special command, or a specific 'battle type' that produces this effect?
Thanks for reading I look forward to reading your comments xxx
If you want to Change First Respawn (mom's) in Fire Red US Open ROM in hex editor Go to offset
BFD6C & 3EEC98 change 04 (default) to New Map Bank
BFD70 & 3EEC9A change 00 (default) to New Map No.
BFD74 Player's X Position
BFD78 Player's Y Position
Alternatively, use JPAN's hack to have unlimited respawn locations. Will definitely help if you plan to have more than the default number of pkmn centers as expanding sethealingplace is damn near impossible.