Golden Sun Hacking Community
December 18, 2018, 11:02:38 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 3838 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: 2432

« 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: 780

« 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: 2432

« 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: 780

« 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: 2432

« 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: 780

« 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
Yesterday at 06:43:36 AM
Salanewt: Okay, minor announcement I guess. We just looked over some pre-release footage of GS1, and noticed that one of the unused and unlisted animations we discovered in GS2 (and GS1) plays in that footage. "Brine" is actually an early Fizz.
December 15, 2018, 01:06:23 AM
Fox: :D https://www.youtube.com/watch?v=MFmr_TZLpS0
December 15, 2018, 12:58:01 AM
Fox: A banana for you, a banana for me, a banana to your face. Your face is mine! A face for you, a face for me. A face for the banana too. Who wants to feed the banana?
December 09, 2018, 07:43:31 PM
Fox: A banana for you, a banana for me, let's all open a banana and enjoy!
December 08, 2018, 09:48:52 PM
Drake baku: ba... ba.... bana.... bana.... banana.... nanananananananana..... and now back to doing normal, kinda
December 07, 2018, 05:43:02 PM
Luna_blade: Hey I forgot the christmas theme
November 29, 2018, 09:01:09 AM
zman9000: ded
November 19, 2018, 11:05:28 AM
Drake baku: Good day to ya all
October 30, 2018, 09:45:58 PM
Atrius: There used to be where I got the battle sprites for Kraden, but that site doesn't exist any more.
October 26, 2018, 01:31:40 PM
Infitek: Do you know if there any custom Alex battle sprites available on the internet ?
October 26, 2018, 01:31:01 PM
Infitek: Hey everyone
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

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