Users browsing this thread: 3 Guest(s)
Some final code requests (and screenshots)

Posts: 315
Threads: 20
Thanks Received: 0
Thanks Given: 2
Joined: Dec 2017
Reputation: 2
Status
None
(10-21-2018, 10:08 PM)madsiur Wrote:
(10-21-2018, 04:02 PM)Lightning Wrote: I just find it very curious is all, especially since the Wiki also got it wrong in this case.  I have found threads on this topic with other people who remember getting interceptor with Relm, but there was no real conclusion in those threads.

I've seen the info in 2 or 3 places on the web but it just seems something that may have been carried over from a inexact source, and spread that way. I'm not 100% sure I am right, but if it's not the case it is not done in the game in the way you'd expect it to be (event code). What is not likely is that you broke by mistake the dog block on Relm IMO.

(10-21-2018, 04:02 PM)Lightning Wrote: Does anyone know how to hex edit a save file to give Relm the dog block status?  I'm guessing this is a single byte somewhere, and I am comfortable editing it myself if someone can just point me to the correct block of code.

RAM $1600-$1FFF ($0A00 bytes) is your save slot. The save file is 3 copies of this, plus and extra common $200 bytes making the total of $2000 bytes. So you have slot 1 at $0000-$09FF, slot 2 at $0A00-$13FF and slot 3 at $1400-$1DFF.

At RAM $1600 (in regular RAM not the savefile) you have $25 byte per character with all their info. So doing $25 * 8 (Relm ID) = $128. RAM $1615 is you status byte for Terra so you add $15 to $128 = $13D. So the Relm status byte is at $173D in regular RAM, $013D in slot 1, $0B3D in slot 2 and $153D in slot 3 of the savefile.

The interceptor bit is bit 6 ($40) so the easiest way to set this is adding $40 to the current byte value. For a status that could be toggled, you'd need to check if it is set first by that can't happend here. I hope my calculations were right! *cross fingers*

Ok, I stared at this for an hour in an attempt to not ask more questions (trying to learn), but I am confused what to do with "$40".  I now understand where all the save slots are, and I understand that Relm's status is at $013D in save slot 1.  However, when you say add $40, do you mean I change the "00" found at $013D to "40", or do I add $40 to $013D, which now makes the location $017D?

I tried tinkering with it by changing the 00 to 40, but the save no longer appeared in-game.  I wasn't sure what else to try beyond that.

Edit: Ok, so I took a look at 013d with Relm on another save file in which she has dog block applied, and there was indeed a 40 there instead of 00. However, when I edit my own save file and put the 40 there, the save no longer appears in-game; it is completely blank. I am guessing there is some other value that has to be changed somewhere in this case.
  Find
Quote  



Messages In This Thread
RE: Some final code requests (and screenshots) - by Lightning - 10-21-2018, 11:23 PM

Forum Jump:

Users browsing this thread: 3 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite