Hello everyone,
My first full chapter is done, but there's a weird bug that I want to fix before I upload it. At the beginning of every player phase, the camera/cursor focuses on a seemingly random tile, [20,03], instead of on any of the player's units. I'm guessing that this has to do with the fact that the map is replacing Ch1 of Lyn's mode, but Lyn_t's replacement unit isn't actually on the map. The protagonist replaces Eliwood, so I tried scripting my prologue ending scene to load Ch11_E and repointing my map/event data accordingly, but that didn't fix the problem. Does anyone know what might be causing the issue, or what I might be able to do about it?
Thanks,
El Grillo
Toggle shoutbox
Shoutbox
|

Camera/Cursor Focus at Start of Turn
Started by El Grillo, Mar 31 2014 07:19 AM
4 replies to this topic
#1
Posted 31 March 2014 - 07:19 AM
See my work in progress here: In Contempt of Contrition, via Google Drive
Latest update: Ch1 Test v1.2
Updated 04/21/14
+ Visual updates
+ Fixed a potentially out-of-sequence event bug
+ Fixed typos
Full Changelog: via Google Drive
Save Files: via Google Drive
Latest update: Ch1 Test v1.2
Updated 04/21/14
+ Visual updates
+ Fixed a potentially out-of-sequence event bug
+ Fixed typos
Full Changelog: via Google Drive
Save Files: via Google Drive
#2
Posted 31 March 2014 - 07:56 AM
It's hardcoded for the chapter mode, so it'll only focus on Lyn_t for Lyn's mode, Eliwood for Eliwood's mode, and Hector for Hector's mode, IIRC.
The best thing to do is just make your new main character replace whoever is the leader for the mode you're using, especially since seizing is also hardcoded (though you can change how seizing works via a patch NL made or if you're clever enough, by using an ASM hack for which the basis is already there)
The best thing to do is just make your new main character replace whoever is the leader for the mode you're using, especially since seizing is also hardcoded (though you can change how seizing works via a patch NL made or if you're clever enough, by using an ASM hack for which the basis is already there)
Signature thanks to Shu.
#3
Posted 31 March 2014 - 02:25 PM
Got it. Thanks for the quick response.
See my work in progress here: In Contempt of Contrition, via Google Drive
Latest update: Ch1 Test v1.2
Updated 04/21/14
+ Visual updates
+ Fixed a potentially out-of-sequence event bug
+ Fixed typos
Full Changelog: via Google Drive
Save Files: via Google Drive
Latest update: Ch1 Test v1.2
Updated 04/21/14
+ Visual updates
+ Fixed a potentially out-of-sequence event bug
+ Fixed typos
Full Changelog: via Google Drive
Save Files: via Google Drive
#4
Posted 31 March 2014 - 05:18 PM
No prob, just happened to be checking the forums then haha
Signature thanks to Shu.
#5
Posted 31 March 2014 - 05:59 PM
Actually, I have a bit of a follow-up question. I found , which provides a .IPS patch that includes an ASM edit to start the game in Eliwood mode. This sounds like it would indirectly solve the problem I'm having, but I'm having difficulty applying it.
Here's what I did:
1. IPS patched a clean ROM with shadowofchaos725's version, resulting in FE-EM.gba.
2. Opened my work-in-progress ROM in Nightmare and saved-as onto FE-EM.gba.
3. Repeated step 2 for FEditor, MAR inserter, and Event assembler.
I'm afraid that I overwrote shadowofchaos725's changes at some point, because when I tested it, it reverted to starting in Lyn Mode with Tactician input. Any ideas as to what else might be causing this?
EDIT: Never mind, I think I resolved it. I compared the IPS-patched ROM with a clean ROM in HxD and copied over the different section (from 000A06D008-000A074008) into my WIP ROM.
EDIT 2: Well, that raised more questions than it answered. The game now displays the gamefile (in the loading menu) in Eliwood Mode's royal blue color, but in-game the autocursor still centers on Lyn_t in the prologue, while not centering on Eliwood in Ch1. It did get rid of the tactician input though, so at least there's that.
EDIT 3: After some further research, I found and implemented MarkyJoe1990's ASM utility to turn off the autocursor, which by and large fixes the problem. The cursor is still out of position for the first player phase, but that's not game-breaking. I suppose a player could manually change it back, but actively proofing against deliberate attempts to cause unintended behavior seems a bit silly.
Here's what I did:
1. IPS patched a clean ROM with shadowofchaos725's version, resulting in FE-EM.gba.
2. Opened my work-in-progress ROM in Nightmare and saved-as onto FE-EM.gba.
3. Repeated step 2 for FEditor, MAR inserter, and Event assembler.
I'm afraid that I overwrote shadowofchaos725's changes at some point, because when I tested it, it reverted to starting in Lyn Mode with Tactician input. Any ideas as to what else might be causing this?
EDIT: Never mind, I think I resolved it. I compared the IPS-patched ROM with a clean ROM in HxD and copied over the different section (from 000A06D008-000A074008) into my WIP ROM.
EDIT 2: Well, that raised more questions than it answered. The game now displays the gamefile (in the loading menu) in Eliwood Mode's royal blue color, but in-game the autocursor still centers on Lyn_t in the prologue, while not centering on Eliwood in Ch1. It did get rid of the tactician input though, so at least there's that.
EDIT 3: After some further research, I found and implemented MarkyJoe1990's ASM utility to turn off the autocursor, which by and large fixes the problem. The cursor is still out of position for the first player phase, but that's not game-breaking. I suppose a player could manually change it back, but actively proofing against deliberate attempts to cause unintended behavior seems a bit silly.
See my work in progress here: In Contempt of Contrition, via Google Drive
Latest update: Ch1 Test v1.2
Updated 04/21/14
+ Visual updates
+ Fixed a potentially out-of-sequence event bug
+ Fixed typos
Full Changelog: via Google Drive
Save Files: via Google Drive
Latest update: Ch1 Test v1.2
Updated 04/21/14
+ Visual updates
+ Fixed a potentially out-of-sequence event bug
+ Fixed typos
Full Changelog: via Google Drive
Save Files: via Google Drive
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users