Users browsing this thread: 1 Guest(s)
Event Script Assembler Macros

#3
Posts: 181
Threads: 3
Thanks Received: 26
Thanks Given: 4
Joined: Apr 2015
Reputation: 18
Status
None
Big update - I finished making a full disassembly of the event script. The ff6 repo now contains an assembly file (src/event/event_main.asm) which can be assembled into a byte-for-byte copy of the vanilla event script, with all event addresses being properly linked to allow for insertion and deletion of event commands, as well as relocation of the entire script within the ROM. What's still missing is properly linking all of the event triggers, NPCs, and map startup event pointers to the event script, so the game will probably still crash if the script is modified. This was a big milestone though, and more updates will hopefully be coming soon.

One thing I could use some help with is to separate the event script into multiple assembly files, which means I need to map out where the events for different parts of the game are located in the script. I started a list below, and if anyone can help fill out the rest of this by parsing through the script it would be very helpful.

Code:
CA/0000-CA/004E system events
CA/004F-CA/0489 vehicle events
CA/048A-CA/3F82 final battle / ending
CA/3F83-CA/48C0 daryl's tomb
CA/48C1-CA/5E22 floating island collapse / solitary island
CA/5E23-CA/5EB3 game start
CA/5EB4-        world map events
CA/5F8A-        figaro castle
CA/75EE-        cave to south figaro
CA/77AD-        south figaro
CA/80BF-        sabin's house
CA/820F-        mt. kolts
CA/84AB-        locke's scenario
CA/89ED-        edgar & sabin at figaro castle
CA/8AE3-        serpent trench / nikeah
CA/9337-        setzer intro
CA/94FF-        zozo / esperville
CA/AD4C-        3 scenarios
CA/ADF1-        opera house
CA/C5C1-        common subroutines

CA/????-        floating island (collapse)
CA/E8F4-        map startup events
CA/????-        floating island (statues)
CA/F64B-CB/0468 returner's hideout
CB/0469-CB/0A33 lete river
CB/0A34-        sabin's scenario (imperial camp)
CB/1B0E-        blackjack, setzer joins
CB/2562-        imperial base

CB/2A5B-        cave to the sealed gate

CB/43E4-CB/5F64 jidoor
CB/5F65-        crazy old man's house

CB/6E4B-CB/7853 ebot's rock / thamasa (wor)
CB/7854-CB/7981 colosseum
CB/7982-CB/7DBD cave in the veldt
CB/7DBE-CB/8273 gogo's cave
CB/8274-CB/A411 doma castle / cyan's dream
CB/A412-CB/BEF0 phantom train
CB/BEF1-CB/C218 baren falls
CB/C219-CB/C879 crescent mountain
CB/C87A-        albrook -> thamasa -> esper mountain
CC/0A??-        narshe (picking locks)
CC/0B8A-        duncan's house / bum rush
CC/0F7B-CC/19EE kefka's tower
CC/19EF-CC/1F9E ancient castle
CC/1F9F-CC/206D 8 dragons / crusader
CC/206E-CC/3303 phoenix cave
CC/3304-CC/339B chocobo stable
CC/339C-        beginner's house
CC/36BD-        narshe (wor)

CC/3AFC-        kohlingen (wor)

CC/3D73-        cyan & lola events (mt. zozo)

CC/43E2-CC/5172 mobliz (wor)
CC/5173-CC/56D9 fanatics' tower
CC/56DA-CC/5B00 tzen
CC/5B01-CC/6367 albrook
CC/6368-        maranda
CC/65C6-        mobliz (wob)
CC/6935-        kohlingen (wob)
CC/7083-        narshe (after vector)
CC/72C9-        magitek factory
CC/8320-        vector / imperial castle
CC/985B-        narshe (wob)
CC/E499-        common subroutines
  Find
Quote  



Messages In This Thread
Event Script Assembler Macros - by Everything - 04-04-2024, 10:44 PM
RE: Event Script Assembler Macros - by madsiur - 04-04-2024, 11:18 PM
RE: Event Script Assembler Macros - by Everything - 04-27-2024, 12:12 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite