PDA

View Full Version : behaviour and background bytes.


jakerman999
July 3rd, 2008, 06:59 AM
this is my attempt to log all the different kind of bytes that are found in the tile editor of advance map. for this "experiment" I shall be using Fire Red [E] with advance map 1.82, because that is the most recent version that works on linux.

here we go.


behaviour byte:


02§ grass animation (encounter)
03§ big grass animation (encounter)
06 sand foot prints (with sandheaps)
07§ micro grass animation
10 reflection with waves
13 waterfall with force down
15 spashing water
1A reflection (background byte=20 for reflection)
1B water on feet
1C water on feet with down arrow
20 ice
21 foot prints
28 overworld halfway underwater
30 person blocked on right
31 person blocked on left
32 person blocked upwards
33 person blocked downwards
34 person blocked up/down/right
35 person blocked up/down/left
36 person blocked down/right
37 person blocked down/left
38* person jumps right
39* person jumps left
3A* person jumps up
3B* person jumps down
40 overworld walks right
41 overworld walks left
42 overworld walks up
43 overworld walks down
44 overworld slides right
45 overworld slides left
46 overworld slides up
47 overworld slides down
48 like ice, but with a small difference.
50 overworld runs right
51 overworld runs left
52 overworld runs up
53 overworld runs down
62 arrow right
63 arrow left
64 arrow up
65 arrow down
66 last building warp.
68 drown in sand(apparently a warp method, but I cant find the right movement property).
69 use door
6A escalator up
6B escalator down
6D another arrow down block
A0 can only walk?



*must have movement data set to 1
§must have background byte set to 01

all others do nothing, create problems, or need a requirement that I didn't test.





background byte:
00 top layer of tile covers overworld, overworld covers bottom layer.
01 all grass tiles need this byte to run the grass animation and encounter script. (credit to sonic1)
02 attached to waterfall tiles and currents
20 overworld covers block
22 attached to water tiles.


couldn't find where the others are used in the rom.



all this came from looking at the cause of tile errors in the shiny gold project(made by zel, so credit him) and will help me when I get around to making my hack.


if anybody would like to contribute, feel free, you will be given credit, and I'll update this as much as possible. the next thing I'm working on is checking these values with Leaf Green to see if they hold true, and then I'll post my findings here.
after that, I'll look at RSE and see how they compare.


hope this helps anyone else who had problems.

sonic1
July 3rd, 2008, 11:06 AM
Good work!
It will help many people.

[quote=jakerman999;3724236]background byte:
00 top layer of tile covers overworld, overworld covers bottom layer.
01 all grass(reguler) have this byte, not sure what it is
02 attached to waterfall tiles and currents
20 overworld covers block
22 attached to water tiles.

Ah,the background byte 01 its for grass wildbattles(in A-map).
Greets.

jakerman999
July 4th, 2008, 04:08 AM
Good work!
It will help many people.

background byte:
00 top layer of tile covers overworld, overworld covers bottom layer.
01 all grass(reguler) have this byte, not sure what it is
02 attached to waterfall tiles and currents
20 overworld covers block
22 attached to water tiles.

Ah,the background byte 01 its for grass wildbattles(in A-map).
Greets.

does fire red have other kinds of grass tiles? as far as I can think of large grass tiles aren't in there. I'll import a tileset to check it though.


edit:yeah, aparently you can't encounter in grass without that byte present, so you get credit, and the main list has been updated.

Maglor
May 1st, 2014, 08:07 AM
Nice. Will need this. However, I have a question.
If I want a the hero to be able to walk over a bridge, but also under it, is there any background bytes that allows this to happen?
Example:

http://i59.tinypic.com/20p2611.jpg


Nevermind. Solved by adding 08 00 as behaviour byte on the bridge, as well as adding movement permission 10 on the step before the bridge.
If any mod sees this, please delete my post, sorry for the hassle. Unless it is preferable to leave it in here if anyone else have the same question I had.