Users browsing this thread: 1 Guest(s)
Event Editing, Help A Noob Plz~

#2
Posts: 383
Threads: 34
Thanks Received: 10
Thanks Given: 13
Joined: Dec 2018
Reputation: 18
Status
Moog
Download a copy of Zone Doctor. We won't be doing any actual editing in Zone Doctor, because it has a bug that changes all pointers to the CA bank, which will irreparably break your game if you save. However, in terms of actually understanding the event code and its commands, it is extremely helpful.

Once you have Zone Doctor, open a 'copy' of your ROM (make absolutely sure it's not the original in case you accidentally click save) and open the event editor. Within is an option to create a text dump of the event code. This dump is annotated slightly differently than the one available on the wiki resources, and more importantly it has ALL of the hex values (instead of the first value for each command).

Open that text dump in Notepad or preferably Notepad++. Do a search for CA5E33, which is where the game starts. At CA5E49, guest Actor E is assigned name $20, WEDGE. There's three hex values that do this, 7F-0E-20. 7F is the Assign Name command, $0E is the actor slot that is having its name assigned, and $20 is the actor name slot that is being affixed.

The command that follows it is "40-0E-20". Command 40 is the Assign Properties command, which gives the actor the character profile attached to it. For instance, in this case actor $0E (guest 1) gains the properties of character profile $20, which has Wedge's stats, levels, and commands.

Code:
CA5E33: {A9}                  Show title screen
CA5E34: {7F-00-1D}            Change character $00's name to $1D (?????)
CA5E37: {40-00-00}            Assign properties $00 to character $00 (TERRA)
CA5E3A: {3D-00}               Create object $00
CA5E3C: {3F-00-01}            Assign character $00 (TERRA) to party 1
CA5E3F: {37-00-00}            Assign graphics $00 to object $00 (TERRA)
CA5E42: {43-00-02}            Assign palette $02 to character $00 (TERRA)
CA5E45: {D4-E0}               Set event bit $1E80($2E0) [$1E9C, bit 0]
CA5E47: {D4-F0}               Set event bit $1E80($2F0) [$1E9E, bit 0]
CA5E49: {7F-0E-20}            Change character $0E's name to $20 (WEDGE)
CA5E4C: {40-0E-20}            Assign properties $20 to character $0E (Actor in slot 14)
CA5E4F: {3D-0E}               Create object $0E
CA5E51: {3F-0E-01}            Assign character $0E (Actor in slot 14) to party 1
CA5E54: {37-0E-0E}            Assign graphics $0E to object $0E (Actor in slot 14)
CA5E57: {43-0E-01}            Assign palette $01 to character $0E (Actor in slot 14)
CA5E5A: {7F-0F-21}            Change character $0F's name to $21 (VICKS)
CA5E5D: {40-0F-21}            Assign properties $21 to character $0F (Actor in slot 15)
CA5E60: {3D-0F}               Create object $0F
CA5E62: {3F-0F-01}            Assign character $0F (Actor in slot 15) to party 1
CA5E65: {37-0F-0E}            Assign graphics $0E to object $0F (Actor in slot 15)
CA5E68: {43-0F-01}            Assign palette $01 to character $0F (Actor in slot 15)
Graphics and palettes are handled the same way, and are typically assigned right after object creation, before a character is even placed in a party.
Vanilla Banon has the 17th set of graphics ($11), so to give someone his graphics, you'd set up a command like 37-0E-11. He uses palette 3 by default, so to give someone his palette you'd set up a command like 43-0E-03. For your case, those changes would go at CA5E65 and CA5E68.
  Find
Quote  
[-] The following 1 user says Thank You to C-Dude for this post:
  • Alby4t5 (08-18-2020)



Messages In This Thread
Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-18-2020, 04:03 PM
RE: Event Editing, Help A Noob Plz~ - by C-Dude - 08-18-2020, 05:25 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-18-2020, 06:22 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-18-2020, 06:51 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-18-2020, 07:21 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-19-2020, 01:56 PM
RE: Event Editing, Help A Noob Plz~ - by MysticLord - 08-20-2020, 10:19 AM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-20-2020, 10:52 AM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-20-2020, 06:41 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-20-2020, 07:39 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-20-2020, 09:12 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-21-2020, 01:47 PM
RE: Event Editing, Help A Noob Plz~ - by Alby4t5 - 08-21-2020, 03:39 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite