Golden Sun Hacking Community

Golden Sun Resources => The Classic GS Editor => Topic started by: D2J on 15, December, 2010, 03:35:59 PM

Title: I need help!
Post by: D2J on 15, December, 2010, 03:35:59 PM
-I Know How To Edit An Enemy And Enemy Sprites But Can Someone Tell Me How To Create My Own Boss That'll Fight Me Everytime I Engage It??? And After I Beat It And Return To The Place I Put Him He'll Be There Again So I Can Fight Him Again.
Title: Re: I need help!
Post by: Charon on 15, December, 2010, 05:43:08 PM
That's a scripting issue and I don't think the editor has the capabilities to produce that effect yet.
Title: Re: I need help!
Post by: Salanewt on 15, December, 2010, 05:54:09 PM
If you can find the correct flag that is referenced in the boss' script, then you can probably alter it to disable the boss from vanishing. Of course, I wouldn't have a clue as to where all of the flags are stored in the game.

Have a nice day.

Edit: And unless I am mistaken, this flag could probably be used for several related scripts.
Title: Re: I need help!
Post by: Atrius on 15, December, 2010, 11:23:56 PM
Technically the flags are stored in memory/saved games, and only manipulated by function calls in scripts.

This is something you could definitely do with the hex editor for map code.
Title: Re: I need help!
Post by: D2J on 16, December, 2010, 01:53:28 AM
-I Want To Replace Doom Dragon Tho. And I Can't Because It's Basically Three F'n Battles In One. =/
Title: Re: I need help!
Post by: D2J on 16, December, 2010, 02:30:13 AM
-How Did You Make That Place In This Video???

http://www.youtube.com/watch?v=gRNKvoUSEGQ&feature=mfu_in_order&list=UL
Title: Re: I need help!
Post by: D2J on 16, December, 2010, 01:40:07 PM
-I Just Want One. And How Do I Change His Sprite When It Flies Onto Mars Lighthouse??? Because On The Map Editor I Changed It To The Hooded Figure And It's Still Doom Dragon.
Title: Re: I need help!
Post by: Atrius on 16, December, 2010, 04:51:40 PM
That video is just the result of my experimenting, and proof of concept work for what will eventually become the map editing section of the TLA editor.  For the sole purpose of just figuring out the basics of how to eventually make map editing possible I had programmed myself a bunch of crappy experimental tools to handle the harder parts of the task.  Even so I still had to do quite a bit of manual hex editing, and stitching data from another map into my custom one it just to get it working.

Title: Re: I need help!
Post by: D2J on 16, December, 2010, 05:18:42 PM
-Ok, Well Can You Tell Me How To Remove The Second And Third Battle With Doom Dragon So It's Only One??? And How To Change It's Overworld Sprite Cause I Changed It On The Map But It's Still The Same.
Title: Re: I need help!
Post by: Atrius on 16, December, 2010, 05:28:23 PM
Hard to say since that's the only battle in the game that does that, at least as far as I'm aware.  I wouldn't doubt if it were hard coded into the game.

Hmm... Tried editing the version of him hidden at the top left of the map in NPC set 2?
Title: Re: I need help!
Post by: D2J on 16, December, 2010, 05:36:47 PM
-Well I Know This Might Be Annoying But Can You Tell Me The Exact Codes Or Whatever To Change That Battle To Dead Beard???
Title: Re: I need help!
Post by: Atrius on 16, December, 2010, 05:45:26 PM
...  Edit the enemy groups 235-237 maybe?...

I'm rarely annoyed by questions, but the way you capitalize every single word in a sentence...
Title: Re: I need help!
Post by: D2J on 16, December, 2010, 05:48:27 PM
-Doom Dragon still shows up tho. Like I can start off with my own boss but when i defeat it it does that explosion where one of DD's head blows off and he appears again with two heads. =/ And sorry bout the capitalization.
Title: Re: I need help!
Post by: Aile~♥ on 16, December, 2010, 06:02:43 PM
Well, yeah. There's three groups of Doom Dragon. What you can do is place three of your own bosses, one in each group. Then, when you kill the first one there'll be a huge explosion and the second one will appear. Kill that one, another explosion and the third appears.
Title: Re: I need help!
Post by: D2J on 16, December, 2010, 06:08:14 PM
-I did that but that fat monkey keeps showing up with one less head. And the boss I put in the second and third never show.
Title: Re: I need help!
Post by: Atrius on 16, December, 2010, 06:10:56 PM
Like I said, the game may be hard-coded to do that.  It would require an ASM hack to undo, but I wouldn't know where the code to edit is.
Title: Re: I need help!
Post by: Aile~♥ on 16, December, 2010, 06:13:13 PM
There's an easy solution to that problem, if you don't plan on using Doom Dragon in your hack: Replace Doom Dragon with those other bosses.
Title: Re: I need help!
Post by: D2J on 16, December, 2010, 06:14:54 PM
-Ok ok... =/ *whimpers away
Title: Re: I need help!
Post by: D2J on 17, December, 2010, 02:29:55 AM
-Ok So If You Edit An Enemies Battle Sprite Color Your Limited To Five But If Your In The Regular Sprite Editor There Are +10...Why Is This??? I'd Really Love To Use The Black And White Or The Red One For My 'Saturos Returns' Hack.
Title: Re: I need help!
Post by: Salanewt on 17, December, 2010, 08:00:42 AM
If I recall correctly, there are only five palette swaps available to enemies in battle. The rest of them (the ones that you see in the sprite viewer) are for special effects related to psynergy use. A good example of this is when you are glowing after Mind Read.

Have a nice day.
Title: Re: I need help!
Post by: D2J on 17, December, 2010, 12:41:44 PM
-You Should Be Able To Use Them Tho.
Title: Re: I need help!
Post by: D2J on 17, December, 2010, 12:56:08 PM
-Is There A Way To Have Characters Join Your Party Like Kraden Does But Not Actually Make Them Usable In Battle???
Title: Re: I need help!
Post by: Atrius on 17, December, 2010, 01:22:50 PM
The game doesn't allow it.
Title: Re: I need help!
Post by: Atrius on 17, December, 2010, 01:25:05 PM
The game doesn't do anything special for that, just makes him appear like your other party members during cutscenes.  As far as the games programming is concerned he's not really in your party at all.
Title: Re: I need help!
Post by: D2J on 17, December, 2010, 01:38:47 PM
-So There's No Way Another Character Can Do This???
Title: Re: I need help!
Post by: D2J on 17, December, 2010, 01:39:40 PM
-Ok, Thanks.
(Stupid Game!!!)
Title: Re: I need help!
Post by: Aile~♥ on 17, December, 2010, 03:22:49 PM
Actually, it's really, really easy. Just have the text tell you that he's joined your party, and that's that. Oh, but you'll also have to deal with all the cutscene stuff. Basically, you'll have to know ASM to make him appear and talk, and you'll also have to have an extra sprite in every area he appears in.
Title: Re: I need help!
Post by: D2J on 17, December, 2010, 04:15:04 PM
-He Can Join But I Don't Want Him To Appear In Battle. =/
Title: Re: I need help!
Post by: Aile~♥ on 17, December, 2010, 07:25:34 PM
Exactly. Just have the game TELL THE PLAYER that he's joined. However, the code for him actually joining is a lot more than just having the game tell the player that he's joined.
Title: Re: I need help!
Post by: Charon on 17, December, 2010, 09:39:00 PM
All request for help topics have been merged. Other members - PLEASE read through DJ's messages to make sure you aren't missing anything. Thank you :3
Title: Re: I need help!
Post by: D2J on 18, December, 2010, 04:05:39 AM
-Would You Know The Code??? I Don't Want Ivan And Mia.
Title: Re: I need help!
Post by: Aile~♥ on 18, December, 2010, 07:52:38 PM
Unfortunately, no, I do not know exactly how it's coded. I believe there was a post on the subject somewhere around, but it might only apply to GS2.
Title: Re: I need help!
Post by: Atrius on 18, December, 2010, 09:08:04 PM
There's not a whole lot of work done on scripting & cutscene hacking so far, I think I'm the only one that's really even scratched the surface on it.  There are no fancy tools that convert the code into something simple & easy to read, and rewrite.  You have to dig into the ASM the old fashioned way, and I'll tell you right now, if you don't know what MOV, LDR, or BL means you're not going to get very far.  Don't expect anyone else to do your hard work for you either, if you really want to reprogram the game you'd best start learning how to do it yourself.  If that's what you're still interested in GBATEK (http://nocash.emubase.de/gbatek.htm#thumbinstructionset) is pretty much THE place to look stuff up.
Title: Re: I need help!
Post by: D2J on 19, December, 2010, 01:41:32 AM
-Fine. I got a two week break. Might as well start reading.
Title: Re: I need help!
Post by: dwkjohn on 17, May, 2011, 07:15:59 AM
I found how to walk over stuff but somehow  :Felix: can now jump like freakishly high when i press B.  And he wont jump normal over stuff now he just falls off cliffs.  And when i try to leave an area, if he is not exactly in the doorway, he fall off the side of the screen and i have to jump back out and it takes some time. Any way i can fix that?  The value for walking over stuff is back at zero, but he still goes through some things but cant walk through like regular paths with nothing there. Help?
:Felix:
Title: Re: I need help!
Post by: Daddy Poi's Oily Gorillas on 17, May, 2011, 07:08:27 PM
QuoteI found how to walk over stuff but somehow  Felix can now jump like freakishly high when i press B.
Wait.. You applied The Jump Patch I made.., right?

If so then... - It edits assembly, all you'd need to do is go in, replace the bl code, and remove the assembly function. (If you wanted to remove it.

If not- then I can't help you. (Sorry.)
Title: Re: I need help!
Post by: Rolina on 17, May, 2011, 07:16:18 PM
The easy solution is to not install patches you don't plan on using, or waiting until we have support for those patches (the Jump Patch needs map editing support to keep it from more or less breaking the game)
Title: Re: I need help!
Post by: Salanewt on 17, May, 2011, 08:38:11 PM
Oh yeah, the Jump Patch. I remember altering one of the commands to reduce the moon-jump to a regular jump (which helps it become a fun feature instead of a game breaking one), but I forget how to do it. If you use a VBA cheat, you can unlock the ability to run through obstacles/walls. I will edit this post later if I can find it.
Title: Re: I need help!
Post by: dwkjohn on 17, May, 2011, 10:31:22 PM
The thing is... I didn't know there was a jump patch.  He just started jumping when i changed the value to walk over stuff.