Golden Sun Hacking Community
October 19, 2019, 12:05:04 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home Forum DC Wiki Help Search Calendar   Downloads   Login Register  
 
  Search  


GS2 - Enemy Element Swapping Patch
GS2 enemy element swapable.ips
Filesize: 159B  Views: (51)  Downloads (8)  Last Download: October 12, 2019, 02:25:17 AM 
Previous Download | Next Download
Description: Heya, Zari01 here with a new patch for yall! This is going to be the first patch of a series I'm working on (said patch series focusing mainly on enemies and upgrading the customizable options for them); I've got 2 further patches in the works rn, but I'm still fiddling with those for the moment.

Anyways, this patch utilizes the (formerly unused) uppermost 2 bits in the enemy elemental data byte (found in each entry of the enemy table at 0x080B9E7C) to decouple element from the entries in the enemy elemental data at 0x080C6684, allowing for 4x as many options compared to vanilla -- while not taking away any free space to add more table entries!

Example: Doom Dragon has the elemental data byte of 0x2F in vanilla, resulting in the following:
Code:
6E 00 BE 00 64 00 82 00 69 00 AF 00 5F 00 62 00
or
Venus Epow: 110 Venus Eres: 190
Mercury Epow: 100 Mercury Eres: 130
Mars Epow: 105 Mars Eres: 175
Jupiter Epow: 95 Jupiter Eres: 98


If we apply the attached patch, and change said elemental byte to 0x6F, it results in this new setup:
Code:
5F 00 62 00 6E 00 BE 00 64 00 82 00 69 00 AF 00
or
Venus Epow: 95 Venus Eres: 98
Mercury Epow: 110 Mercury Eres: 190
Mars Epow: 100 Mars Eres: 130
Jupiter Epow: 105 Jupiter Eres: 175


Suddenly, Venus-weak Doom Dragon appeared!

tl;dr with this patch you can adjust the elemental offset the game starts writing the enemy epow/eres data at by editing the upper 2 bits of the corresponding enemy's elemental data byte.

0 = Venus/Default (aka same as vanilla code)
1 = Mercury Start
2 = Mars Start
3 = Jupiter Start

Have fun diversifying the enemy elemental pool! Joy

Keywords: GS2 Enemy_Patch_Project 
Posted by: Zari01 September 22, 2019, 06:57:04 PM

Rating: This download has not been rated yet.
Linking Codes
Direct Link
0 Members and 1 Guest are viewing this files.

Comments

Add Comment
Comment: 
Your comment will not appear until it has been approved.
Return to Downloads

Powered by: Download System by CreateAForum.com
Cbox
October 13, 2019, 04:51:53 PM
Salanewt: Oh, lol nice. :P
October 13, 2019, 04:44:28 PM
Fox: Maxi's already joined the server, he just never pops in.
October 13, 2019, 04:30:42 PM
Salanewt: I'll state up front that gsmagic has some overlap with the classic editor, but Teawater has been focusing on other things so you'll still want the original to do a lot of stuff.
October 13, 2019, 04:29:40 PM
Salanewt: As for moving posts over, I'll see if I can do it later today but I've been pretty busy these past few days.
October 13, 2019, 04:29:13 PM
Salanewt: Hey Maxi! I can help you with the latest "public" version of gsmagic if you join the Discord server, or when we start populating the board with topics, but if you want a download then you can go here: https://drive.google.com/drive/folders/1zZHTBD_7BTl6leXRgFulzSL9iS4TIBMt
October 13, 2019, 02:26:50 PM
Fox: Yes.  I am actually kind of surprised Salanewt hasn't moved my old GSMagic topic(s) over yet. (Even if they don't contain the latest versions.)  I have been focusing more on posting them to Discord. But it's been awhile since I've done any meaningful work, so....
October 12, 2019, 10:00:17 AM
MaxiPower: Any chance of getting a hold of the new editor for a test drive. Been here since day 1 (actually I was here since before there was a forum lol) so you can trust me.
October 07, 2019, 07:10:37 AM
Fox: It specializes in GS2, still... The others are just easter eggs because...similar formatting.
October 07, 2019, 06:26:27 AM
Salanewt: But it has GS1 editing and Mario game viewing/possible editing too.
October 07, 2019, 06:26:11 AM
Salanewt: That name made sense when it was just GS2 lol.
October 07, 2019, 05:02:04 AM
leaf: it's a better name than "the GSTLA editor" anyway
October 02, 2019, 08:13:00 AM
Misery: gsmagic is a fine name
October 01, 2019, 02:43:51 AM
Omx7: Heyo
September 29, 2019, 06:35:38 PM
Fox: Liking the changes so far.  In a way, I'm also wondering if I should give gsmagic a better name, since I see it has became a part of the Community, as I see by the board that has been added.... but... *shrug* - I can wait.  I still see it as an "experimental" editor.
September 28, 2019, 03:10:29 AM
zman9000: :)
September 25, 2019, 12:46:18 AM
Fox: Groovy.
September 25, 2019, 12:45:56 AM
Salanewt: Hey.
September 25, 2019, 12:23:19 AM
Megalord38: Hello, fellow Humans.
September 24, 2019, 11:18:49 PM
Salanewt: Yeah, baby!
September 24, 2019, 12:41:13 AM
Fox: Groovy?

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.064 seconds with 18 queries.