Golden Sun Hacking Community
December 13, 2019, 03:42:25 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

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

GS2 - Enemy Element Swapping Patch
GS2 enemy element swapable.ips
Filesize: 159B  Views: (192)  Downloads (28)  Last Download: December 08, 2019, 10:37:08 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:
6E 00 BE 00 64 00 82 00 69 00 AF 00 5F 00 62 00
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:
5F 00 62 00 6E 00 BE 00 64 00 82 00 69 00 AF 00
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: ***** by 1 members.

Linking Codes
Direct Link
0 Members and 1 Guest are viewing this files.


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

Powered by: Download System by
December 04, 2019, 11:48:57 AM
Fox: (Uh... Ignore "Love" at the beginning... I think I started to say it in a different way, then changed my mind.)
December 04, 2019, 11:47:50 AM
Fox: Love gsiconcompressor has been updated... Mainly an attempt to make icon editing a bit more straight-forward than ever before. Although, the coding wasn't exactly that straight-forward.
November 14, 2019, 01:50:02 PM
Fox: So like... a layers offset might normally be located at +0xC, but in Tennis, it is at +0x10)
November 14, 2019, 01:48:51 PM
Fox: (Talking about the data in map header thingy.)
November 14, 2019, 01:48:10 PM
Fox: So took a look at Tennis.... Seems Atrius's editor displays all maps incorrectly because he forgot that some stuff was offsetted by 4 (You know with everything from layer offsets and files/etc.)  Fix that, and it seems to display properly. Hm.
November 14, 2019, 06:18:29 AM
Fox: That is a quote I found somewhere. How amusing. xD
November 14, 2019, 06:18:06 AM
Fox: only canadians give up dont be a canadian
November 11, 2019, 03:27:02 AM
Salanewt: Especially since there might be a v0.5.1.1 in the near future, if any bugs are found by people playing the demo.
November 11, 2019, 03:26:38 AM
Salanewt: Oh yeah, so for people who aren't aware; v0.5.1 of the AI Overhaul is available on the Discord, but I'm delaying the creation of a downloads page + topic until I finish the demo.
November 02, 2019, 12:05:31 PM
Fox: And yeah, there's a topic for the Discord. in News & Announcements (
November 02, 2019, 11:55:00 AM
Fox: Went to go study some German a little earlier. (Using duolingo to give it a try.) ... And. Huh. German capitalizes all nouns? (Not necessarily pronouns, though.)
November 01, 2019, 07:49:25 AM
thenightsshadow: Didn't realize there was a Discord at all.
October 31, 2019, 07:22:02 AM
Fox: (Which I guess not having Special badges in inventory was by purpose.... So I'll ifnore that bit. Just whats with the dup Halloween badge in inv?)
October 31, 2019, 07:18:26 AM
Fox: Question about badges = Why do I have two of the same Halloween badge in my inventory... but not on my profile? And by two, I mean the Honk badge is not there.
October 31, 2019, 06:56:26 AM
Fox: Does tns want to join the most active part of GSHC? - Its Discord? :D  And welcome back!
October 31, 2019, 06:52:17 AM
Fox: (Ofcourse it would be capitalized if it were the name of a system, and anytime that system would be referenced... but I'm more going with why we *never* see Psynergy and Djinni not capitalized.)
October 31, 2019, 06:49:58 AM
thenightsshadow: Yeah, just kinda got an email out of nowhere and it reminded me.
October 31, 2019, 06:42:40 AM
Fox: and main reason I said "not intended to become part of English" ... was because I thought of words like "animals"... and they can technically still be lowercase at times.
October 31, 2019, 06:41:17 AM
Fox: group/type/thing/whatever
October 31, 2019, 06:38:54 AM
Fox: Not saying it is exacly that... but it is a thought, at least.

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.083 seconds with 18 queries.