[Tutorial]How to walk behind tiles in Gold and Silver

View previous topic View next topic Go down

[Tutorial]How to walk behind tiles in Gold and Silver

Post by Mateo on Mon Jul 01, 2013 2:20 am

You know how in the newer games, you can walk behind things (like rooftops, treetops, etc.)? Well, today I will explain how you can do this in Gold and Silver. Now, please note, there are a few limitations in this, but it is incredibly simple. With some creativity, it can be quite handy. If someone used a bit of ingenuity to modify an ASM routine, it could possibly be even more useful.

What you will need:

TLP
Tileset editor or Hex Editor
Creativity



This couldn't be simpler. To begin, open your rom in TLP and go to the offset x14639

Here you will see an odd tile, a white tile with a few black specs on it, and a grass tile, like this:



We will begin by erasing the odd tile and the grass tile. This will remove the green bushy overlay from your sprite when walking in tall grass, but this isn't a big deal. (For an example, play the halloween hack or the christmas hack and notice the way tall grass behaves)

Now what this does is give us the opportunity to have some fun. On any tile you want Hiro to be able to walk behind, set its collision byte to x10. This collision byte calls the bushy grass effect, without loading wild pokemon.



Now we just get creative. When Hiro walks onto a tile with this collision effect, the bottom 2 tiles and the bottom half of the upper two tiles will be loaded ABOVE Hiro, with the first colour in the pallet loaded as transparency. To explain better, here is a picture.



In this image, the Black pixels are the area that will load behind Hiro, and the Red part will be displayed ABOVE Hiro, with the first colour loaded as transparent. While this makes roof walking difficult (due to the half tile nature currently employed) we can still use it for some fun things. Like this:



If you look, the tree top is showing up OVER Hiro. This would be a lot better if someone figures out how to hack the routine so that all 4 tiles load above the player instead of the way it is now, but with creativity you can still make this way work, and do some fun things with it. (EDIT: I resized the screenshot so you can see better.)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

My Hacks:

Skeetendo Thread

Skeetendo Thread - Celadon Mansion Thread - PC Thread


avatar
Mateo
Administrator
Administrator

Posts : 89
Join date : 2013-02-07
Age : 28
Location : Celadon City, Kanto

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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