Where do I fix the enemy sheet in hex editor?

Go down

Where do I fix the enemy sheet in hex editor? Empty Where do I fix the enemy sheet in hex editor?

Post by Devan2002 on Mon 22 Apr 2019 - 11:17

[You must be registered and logged in to see this image.]
Where in the hex editor do I change what sheet the triceratops use? What value do I set it to?
Devan2002
Devan2002

Where do I fix the enemy sheet in hex editor? Image213

Since : 2017-10-30

Back to top Go down

The author of this message was banned from the forum - See the message

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Devan2002 on Wed 24 Apr 2019 - 18:27

The problem is that this is being done on a randomizer rom (JP 1.0), so HM is unable to change it. This is why I asked where it could be changed via a hex editor. Also, the palette change is intended (because the triceratops is graphically changed to be Pac-Man as a joke (even if he shoots fireballs)).
Devan2002
Devan2002

Where do I fix the enemy sheet in hex editor? Image213

Since : 2017-10-30

Back to top Go down

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Conn on Wed 24 Apr 2019 - 19:06

[You must be registered and logged in to see this link.]
Conn
Conn

Where do I fix the enemy sheet in hex editor? Image212

Since : 2013-06-30

Back to top Go down

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Devan2002 on Wed 24 Apr 2019 - 22:57

So the little message which shows the addresses of where each sprite is at $0E20?
Devan2002
Devan2002

Where do I fix the enemy sheet in hex editor? Image213

Since : 2017-10-30

Back to top Go down

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Conn on Thu 25 Apr 2019 - 10:06

I'm not sure what you want to achieve. This is a tutorial how to manually give a sprite a specific palette without hm
Conn
Conn

Where do I fix the enemy sheet in hex editor? Image212

Since : 2013-06-30

Back to top Go down

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Devan2002 on Thu 25 Apr 2019 - 16:37

I'm attempting to fix the triceratops so they display the correct graphics, right now they're using the wrong sprite sheet.
Devan2002
Devan2002

Where do I fix the enemy sheet in hex editor? Image213

Since : 2017-10-30

Back to top Go down

The author of this message was banned from the forum - See the message

The author of this message was banned from the forum - See the message

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Devan2002 on Fri 26 Apr 2019 - 17:56

I'm not just wanting this for one room, I want it for all rooms that have a triceratops in it (Tower of Hera main floor and big chest floor and Palace of Darkness dark maze room). I don't know if the message(s) above involve changing which of the 4 loaded sheets for an enemy will be used (because the triceratops is using the special effects sheet instead of the normal one it uses in the base game).

Sheet that all the triceratops are using (wrong one):
[You must be registered and logged in to see this image.]

Sheet I want all triceratop sprites to use (right one):
[You must be registered and logged in to see this image.]


tl;dr I'm trying to change the sprite itself, not the room header in any sort of way.
Devan2002
Devan2002

Where do I fix the enemy sheet in hex editor? Image213

Since : 2017-10-30

Back to top Go down

The author of this message was banned from the forum - See the message

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Devan2002 on Fri 26 Apr 2019 - 22:16

Oh my god, I found the address:
$06B3D/0F (correct value was 1D, incorrect value was 1A)

Though how do I make the triceratops this palette?
[You must be registered and logged in to see this image.]
Or in case you don't know:
[You must be registered and logged in to see this image.]

Even when looking at this image, it's not as easy to set it to 1A since that's what caused it to display the wrong sprite sheet:
[You must be registered and logged in to see this link.]

If I set it to 1B instead, the pac-man gfx (that I manually changed the triceratops to will be a dark yellow instead of a bright yellow).
Devan2002
Devan2002

Where do I fix the enemy sheet in hex editor? Image213

Since : 2017-10-30

Back to top Go down

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Conn on Sat 27 Apr 2019 - 5:45

The color palette is 4-parted.
upper half is background,etc. In the lower part, the first 8 colors of the palette are used for monsters, the right part for items.

I never found out how this is coupled, but you can only use the left part for monsters (odd numbers). If you use an even number it gets messed up since it tries to load the right part, which is the offset of an item. - like the one you try to use is preserved for book mudora and such.

You need to repixel your sprite using yychar or snesedit, after decompressing with zcompress, using the global palette you have assigned (e.g. 1b).

If you need to have a better yellow I'll post a tutorial how to change the palette manually,
But then I need an image of the palette you need to change (which color to which color). But be aware, all color changes influence all monsters using this palette
Conn
Conn

Where do I fix the enemy sheet in hex editor? Image212

Since : 2013-06-30

Back to top Go down

Where do I fix the enemy sheet in hex editor? Empty Re: Where do I fix the enemy sheet in hex editor?

Post by Devan2002 on Sat 27 Apr 2019 - 9:15

If that's the case, I'll just resort to 1B since it technically makes it yellow (both in Hera and PoD, though Hera's triceratops are dark yellow while PoD's are a slightly brighter yellow).
PoD
[You must be registered and logged in to see this image.]
Hera
[You must be registered and logged in to see this image.]
Devan2002
Devan2002

Where do I fix the enemy sheet in hex editor? Image213

Since : 2017-10-30

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum