Users browsing this thread: 1 Guest(s)
Event Bits vs. Memory Address

#5
Posts: 127
Threads: 8
Thanks Received: 21
Thanks Given: 12
Joined: Jan 2012
Reputation: 13
Status
None
(12-01-2017, 07:24 PM)PowerPanda Wrote: I don't know if that's it. I searched all of Narshe, Figaro, and South Figaro for NPCs affected by Memory Address 1E89:0, and fond none. In fact, most of the Memory addresses for NPCs didn't seem to be covered by Novalia Spirit's document.

Take for example, the ghost at the entrance of Zozo that explains how to use Espers. He shows when Memory Address 1EF0:5 is set, which I believe is Event Bit $385 This is not covered in Novalia's document, and when I look at the event that sets it via ZoneDoctor (the only real event editor I have), it is set by hex D6-85, with the description of
"Set event bit $1E80($3..."
"Address: 1E90"
"Bit: 5"

Now, I know that ZoneDoctor is not to be trusted for anything. I'm just trying to figure out how to get from the hex or event bit number to the memory address.

There are a number of things that change with $1E89:0 mostly story events that have taken place are disabled, look for "If ($1E80($048) [$1E89, bit 0] is set)" in the event dump.

" $1EE0-$1F5F NPC Event Bits (to enable/disable NPC's, initialized for new game, all other event bits are cleared) "
 - from https://www.ff6hacking.com/wiki/doku.php...:field_ram

Your example with the ghost in Zozo concerns NPC Event Bits that are used differently from regular/story event bits. NPC event bits will be different for each location so you need to look up the NPC list for each location you're working with.

NPC dump: http://www.angelfire.com/al2/imzogelmo/NPCDataTxt.txt

hex event bit number to memory address would calculate as such: 
RAM Byte = 1E80h + (BITh / 8)
RAM Bit = BITh % 8
  Find
Quote  
[-] The following 1 user says Thank You to m06 for this post:
  • PowerPanda (12-02-2017)



Messages In This Thread
Event Bits vs. Memory Address - by PowerPanda - 12-01-2017, 12:55 PM
RE: Event Bits vs. Memory Address - by m06 - 12-01-2017, 01:13 PM
RE: Event Bits vs. Memory Address - by PowerPanda - 12-01-2017, 07:24 PM
RE: Event Bits vs. Memory Address - by m06 - 12-01-2017, 11:38 PM
RE: Event Bits vs. Memory Address - by assassin - 12-01-2017, 09:38 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite