Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ff3:ff3us:doc:asm:fmt:npc [2016/03/13 09:07] m06 |
ff3:ff3us:doc:asm:fmt:npc [2019/02/12 11:42] (current) |
||
---|---|---|---|
Line 8: | Line 8: | ||
^ Description | ^ Description | ||
- | | Base offset | + | | Pointers |
- | | Block size | + | | Nr of Pointers (bytes) |
- | | Number of blocks | + | | Data Address |
- | | Total size | $0340 | + | | Block size | $09 |
The structure is a sequence of two-byte pointers. The index of the pointer is relative to the map number. | The structure is a sequence of two-byte pointers. The index of the pointer is relative to the map number. | ||
Line 21: | Line 21: | ||
===== Data ===== | ===== Data ===== | ||
- | ^ Offset | + | ^ Offset |
- | | $00 |event address, low byte | | + | | $00 | event address, low byte |
- | | $01 |event address, middle byte | | + | | $01 | event address, middle byte || |
- | | $02 | + | | $02 | $03 |
- | | | + | | ::: | $1C |
- | | ::: |$1C palette | + | | ::: | $20 |
- | | ::: |$20 ?background scrolls | + | | ::: | $C0 |
- | | ::: |$C0 bit identifier | + | | $03 | $01 |
- | | $03 | + | | ::: | $FE |
- | | | + | | $04 | $7F | X position |
- | | ::: |$FE byte identifier | + | | ::: | $80 | Show rider in vehicle |
- | | $04 | + | | $05 | $3F | Y position |
- | | | + | | ::: | $C0 | Speed | |
- | | ::: |$80 show rider in vehicle | + | | $06 | [[ff3: |
- | | $05 | + | | $07 | $0F |
- | | | + | | ::: | $30 |
- | | ::: |$C0 speed | | + | | ::: | $C0 |
- | | $06 |[[ff3: | + | | $08 | $03 |
- | | $07 | + | | ::: | $04 |
- | | | + | | ::: | $18 |
- | | ::: |$30 map layer | | + | | ::: | $20 |
- | | ::: |$C0 vehicle | + | | ::: | $40 |
- | | $08 | + | | ::: | $80 |
- | | | + | |
- | | ::: |$04 don't change graphic | + | |
- | | ::: |$18 ?background layer | | + | |
- | | ::: |$20 ? | | + | |
- | | ::: |$40 ?mirror graphics | + | |
- | | ::: |$80 ? | | + | |
+ | ===== NPC Flags ===== | ||
+ | |||
+ | As set of bits located at $1EE0 control NPC visibility. |