Golden Sun Hacking Community
October 17, 2018, 05:17:14 AM *
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  
Pages: 1 [2]   Go Down
  Print  
Author Topic: [SOLVED] Overworld enemy groups: Treasure Isle, Dekhan Plateu issues  (Read 3448 times)
0 Members and 1 Guest are viewing this topic.
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 29
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2427

« Reply #15 on: June 25, 2016, 02:32:59 PM »

Two god-blessed bytes... So that they go away in unity... Cursed bytes might come back and seek revenge for being cursed, right? :P

On a more serious note, what do you plan to do to remove the additional two bytes? Reshape Treasure Isle/Ocean slightly?
« Last Edit: June 25, 2016, 02:37:52 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile

I need saves to test encounters in GS Reloaded!

Excellent Member
****

Coins: 13
Offline Offline

Gender: Male
Posts: 772

« Reply #16 on: June 25, 2016, 04:20:30 PM »

Reshape Treasure Isle/Ocean slightly?
Nice idea! I'll try making some random changes cause i have no idea how are the other bytes used (i'll learn while messing with it)
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 29
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2427

« Reply #17 on: June 25, 2016, 06:29:00 PM »

32-bit/tile... I may not know all the data... But I think the 2 bytes on the right are the graphic tile. (Index to the mini-tiles listed at 02010000.)  May or may not be exactly 16-bit.. (Forgot. Might be some bits in there for other things like priority.)... We mostly already know the byte on the left. (Pretty much Type/properties of the tile... The 6-bit should also affect the tileset loaded.... 0-19, 20-29, 30-39, 40-49 ... are the four tilesets, I think.)... I'm guessing the remaining byte (That is often 00 or FF) is probably collsion-based... But I didn't check to make sure.


@Type: 0x12 and 0x09 are specific for darkness/fog effect, I believe... 0802D0B0 (Fog), 0802D0CE (Darkness)... These values can be edited to make them darker/lighter. But I still need to look up the specifics on the snow effect near Prox.
« Last Edit: June 25, 2016, 07:15:16 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile

I need saves to test encounters in GS Reloaded!

Excellent Member
****

Coins: 13
Offline Offline

Gender: Male
Posts: 772

« Reply #18 on: June 25, 2016, 09:03:33 PM »

Aaaand IT'S DONE!

Even better, I managed to make the whole thing 2 bytes shorter by FIXING a few beach/grass tiles: while i was tinkering with bytes here and there, i noticed that those Cs and 8s in the encounter byte (C5, 85...) affect random battles. The C disables encounters and 8 sets the terrain to beach. A few beach tiles had C instead of 8 and a grass tile had it's encounter byte set to 07 (sea) instead of 05/04, which disabled battles there (instead of showing sea monsters while walking).

Thanks a lot for your help and your efforts Fox, I really appreciated it.
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 29
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2427

« Reply #19 on: June 25, 2016, 09:21:01 PM »

I was thinking the 0x40 flag indicated places you could get on/off ship from... but wasn't sure. (Didn't verify.) (And then the 0x80 flag was for Beach.)

In any case, if an index is used that isn't listed in the table... that is what I think disables battles... 06 isn't listed in the table, but it is used in latter part of the GS1 map for GS2.

Edit: I mean that the PC and Ship use separate tables.


You are welcome!
« Last Edit: June 25, 2016, 09:32:57 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile

I need saves to test encounters in GS Reloaded!

Excellent Member
****

Coins: 13
Offline Offline

Gender: Male
Posts: 772

« Reply #20 on: August 11, 2018, 01:17:29 AM »

Bringing this back to say that enemies in the area around Dekhan Plateau's entrance (Dalia) are taken from the groups assigned to the area after Dekhan Plateu (Madra). Using the same method i've changed the enemies in the Dalia side of Dekhan to the right ones (Wolf, punchy ant, etc)
Logged
View Profile
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Cbox
October 13, 2018, 03:23:06 AM
Salanewt: Updated it to provide more info that I forgot to mention.
October 13, 2018, 03:16:48 AM
Salanewt: I'm still trying to iron out IQ 2 but I'm pretty sure it's entirely random targeting.
October 13, 2018, 03:16:29 AM
Salanewt: Oh yeah, I posted some more info about enemy IQ.
October 12, 2018, 09:51:27 PM
FoxThe HTML5 project is too small to count
October 12, 2018, 06:19:48 AM
Luna_blade: there is jjppof's html5 project...
October 12, 2018, 06:19:17 AM
Luna_blade: Though Momo rings a bell it seems I came here after you left
October 11, 2018, 12:49:41 AM
Fox: (If that makes sense.)
October 11, 2018, 12:48:33 AM
Fox: Yeah, I guess so.  More just saying that's a good place to get answers to GS related questions at the moment.
October 11, 2018, 12:42:28 AM
Crystal Sonata: I did before, but I guess I could try it again
October 11, 2018, 12:41:32 AM
Fox: Not much at the moment. This forum seems pretty quiet. Perhaps you'd be interested in joining the Discord for GSHC that seems to have more activity?
October 10, 2018, 11:16:53 PM
Crystal Sonata: Any projects going on? I need a distraction from the daily grind and I'm interested in hacking GS again.
October 10, 2018, 10:02:53 PM
Fox: Thanks, and good to see you too!
October 10, 2018, 10:02:10 PM
Fox: A few people I'm sure... Most likely the regulars of the past. Such as Atrius, Charon, Role, Salanewt....
October 10, 2018, 03:11:17 AM
Crystal Sonata: I find myself wondering who still remembers me here. Obvs you do (Good to see ya Tea)
October 10, 2018, 12:46:11 AM
Fox: On second thought, it might be because you haven't posted much as Crystal Sonata.
October 10, 2018, 12:41:12 AM
Fox: And your intro isn't that bad. - I imagine most people would say the same about theirs?
October 10, 2018, 12:39:39 AM
Fox: :O - You've been gone so long, I think I forgot you were Momo.  Interesting.
October 09, 2018, 10:23:39 PM
Crystal Sonata: I just revisited my dark past on here and ouch. Someone delete that introduction thread please, the cringe.
October 09, 2018, 08:26:11 AM
Crystal Sonata: Aaaaand, she re-appears yet again. My life keeps dragging me away from the internet sadly.
October 01, 2018, 01:27:50 PM
Luna_blade: haha oof.

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.101 seconds with 22 queries.