Golden Sun Hacking Community
02, July, 2020, 11:54:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The last working version of the classic TLA Editor is Teawater's unofficial "mapeditor" draft.
 
  Home Forum DC Wiki Help Search Calendar   Downloads   Login Register  
 
  Search  


GS2 - Enemy Element Swapping Patch
GS2 enemy element swapable.ips
Filesize: 159B  Views: (498)  Downloads (61)  Last Download: 30, June, 2020, 01:50:28 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 22, September, 2019, 06:57:04 PM

Rating: ***** by 1 members.

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
Chatbox
27, April, 2020, 07:54:10 PM
Daddy Poi: I'm having a thought. So I know Atrius's editor is slow at saving sprites.... So I've been thinking.   I am considering another console program.  This time, for importing and exporting sprites/animations. Image files (for sprites), binary files (for animation data), and maybe binary or text files for Settings. Would certainly be cool if it works out. - Console programs are fun, when you can (at least temporarily) cheat out making a full interface editor for them. =P
25, April, 2020, 10:42:07 PM
Daddy Poi: Tried to list those in order of importance, but anyway....
25, April, 2020, 10:37:59 PM
Daddy Poi: GSHC, GS Speedrunning, /r/Golden Sun, GS United Nations, ToK.  Sixth one is border-line I'm not sure.
25, April, 2020, 08:00:21 PM
Daddy Poi: (low as in <100)
25, April, 2020, 08:00:04 PM
Daddy Poi: So while there are quite a few GS Communities out there. There are only up to maybe ~6 Discords worth even the consideration of joining, I think. Most of the rest of them have a fairly low member count. (Of which I can tell?)
14, April, 2020, 10:49:35 AM
Daddy Poi: The Essential Age could be what it stands for?
13, April, 2020, 05:23:32 PM
Misery: Tea editor... that's a cute name for it
01, April, 2020, 02:42:50 AM
JupiterDjinn: Also my browser is sending two o f my messages srry.
01, April, 2020, 02:42:48 AM
JupiterDjinn: Also my browser is sending two o f my messages srry.
01, April, 2020, 02:42:09 AM
JupiterDjinn: Just got the reply. Ok my question is: how can I get the tea editor on Android, because I already have an emulator. But no computer.
01, April, 2020, 02:42:06 AM
JupiterDjinn: Just got the reply. Ok my question is: how can I get the tea editor on Android, because I already have an emulator. But no computer.
31, March, 2020, 07:18:29 PM
Salanewt: Sure thing!
31, March, 2020, 03:38:30 PM
JupiterDjinn: Can I have a question answered?
31, March, 2020, 03:38:27 PM
JupiterDjinn: Can I have a question answered?
28, March, 2020, 12:50:15 AM
Salanewt: I want to shrink it down in size later, but yup!
28, March, 2020, 12:50:13 AM
Salanewt: I want to shrink it down in size later, but yup!
26, March, 2020, 03:24:45 PM
Daddy Poi: The news box is back? :D
19, March, 2020, 05:59:16 PM
Salanewt: Nice work hiding the searchbots Atrius!
19, March, 2020, 04:23:34 PM
Salanewt: I was wondering when I said that stuff! May need to work it out with Kain.
19, March, 2020, 07:03:05 AM
Daddy Poi: (The simplest being to not accept char IDs pass 255, I think.)
19, March, 2020, 05:33:15 AM
Daddy Poi: Heheh.... I'm just testing. You pretty much gave it away. Hahah. It seems to look fairly convincing, but I'm sure there's an easy solution to preventing it.
19, March, 2020, 05:28:50 AM
Atrius: Whelp, there it goes... Just what I didn't want.  Have fun with that I guess...   
19, March, 2020, 05:20:25 AM
Daddy Poi: So like. Replace the "e" with another "e"? Alright. Gotcha.
19, March, 2020, 05:04:41 AM
Daddy Poi: Good work.
19, March, 2020, 04:44:10 AM
Atrius: Nah, any member could change their name to what I did, there's a trick to it.  I just fixed it so that now the Cbox will use your new name if you change it though, so... That part of the problem is fixed.
19, March, 2020, 04:41:53 AM
Daddy Poi: For which? It may be that normal users can't change their names to used names, but admins can?
19, March, 2020, 04:39:57 AM
Atrius: Sorry if the Cbox keeps breaking, I'm trying to make that be less of a thing.
19, March, 2020, 04:02:04 AM
Daddy Poi: Looks like ID Fraud. You're under arrest. :D  Oh wait.
19, March, 2020, 03:57:56 AM
Atrius: Yup, that's a thing.
19, March, 2020, 03:57:08 AM
Atrius: Just testing something, for science.

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