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:ram:field_ram [2017/04/08 01:21] 72.14.199.93 ↷ Links adapted because of a move operation |
ff3:ff3us:doc:asm:ram:field_ram [2021/04/24 08:07] (current) snaphat [$7E/2000-$7F/FFFF Field WRAM] |
||
---|---|---|---|
Line 120: | Line 120: | ||
++ $8C Source of BG chunk change data | ++ $8C Source of BG chunk change data | ||
+ $8F XY Position of BG chunk to change | + $8F XY Position of BG chunk to change | ||
- | + $91 Pointer to BG1 Map Data in VRAM (for vertical scrolling) | + | + $91 Pointer to BG1 Map Data in VRAM (for vertical scrolling |
+ $93 Pointer to BG1 Map Data in VRAM (for horizontal scrolling, first column) | + $93 Pointer to BG1 Map Data in VRAM (for horizontal scrolling, first column) | ||
+ $95 Pointer to BG1 Map Data in VRAM (for horizontal scrolling, second column) | + $95 Pointer to BG1 Map Data in VRAM (for horizontal scrolling, second column) | ||
- | + $97 Pointer to BG2 Map Data in VRAM (for vertical scrolling) | + | + $97 Pointer to BG2 Map Data in VRAM (for vertical scrolling |
+ $99 Pointer to BG2 Map Data in VRAM (for horizontal scrolling, first column) | + $99 Pointer to BG2 Map Data in VRAM (for horizontal scrolling, first column) | ||
+ $9B Pointer to BG2 Map Data in VRAM (for horizontal scrolling, second column) | + $9B Pointer to BG2 Map Data in VRAM (for horizontal scrolling, second column) | ||
- | + $9D Pointer to BG3 Map Data in VRAM (for vertical scrolling) | + | + $9D Pointer to BG3 Map Data in VRAM (for vertical scrolling |
+ $9F Pointer to BG3 Map Data in VRAM (for horizontal scrolling, first column) | + $9F Pointer to BG3 Map Data in VRAM (for horizontal scrolling, first column) | ||
+ $A1 Pointer to BG3 Map Data in VRAM (for horizontal scrolling, second column) | + $A1 Pointer to BG3 Map Data in VRAM (for horizontal scrolling, second column) | ||
Line 697: | Line 697: | ||
----------- | ----------- | ||
$1188 pfrm---- | $1188 pfrm---- | ||
- | p: pause timer in menu and battle | + | p: Pause timer in menu and battle. |
- | f: timer visible on field (timer 0 only) | + | f: Timer is visible on field (timer 0 only). |
- | r: used if timer runs out during emperor' | + | r: End battle or exit menu if timer runs out. |
- | m: timer visible in menu and battle (timer 0 only) | + | m: Timer is visible in menu and battle (timer 0 only). |
+ $1189 counter (frames) | + $1189 counter (frames) | ||
++ $118B pointer to event code (+CA0000) | ++ $118B pointer to event code (+CA0000) | ||
Line 748: | Line 748: | ||
$11CC - | $11CC - | ||
$11CD - | $11CD - | ||
- | +$11CE -------- | + | |
1: weapon in off-hand | 1: weapon in off-hand | ||
2: weapon in main hand | 2: weapon in main hand | ||
3: unarmed in off-hand | 3: unarmed in off-hand | ||
4: unarmed in main hand | 4: unarmed in main hand | ||
+ | $11CF ---4---- | ||
+ | 4: weapons in both hands. | ||
$11D0 ----zhsd Physical Block Graphic | $11D0 ----zhsd Physical Block Graphic | ||
$11D1 ----zhsd Magical Block Graphic | $11D1 ----zhsd Magical Block Graphic | ||
Line 989: | Line 991: | ||
$1DCC - | $1DCC - | ||
$1DCD - | $1DCD - | ||
- | $1DCE abcdefgh | + | $1DCE - |
+ | $1DCF abcdefgh | ||
a: if set, program compares current monster index with | a: if set, program compares current monster index with | ||
| | ||
is changed to monster index at CF3782,X. | is changed to monster index at CF3782,X. | ||
b-h: same as a | b-h: same as a | ||
- | $1DCF - | ||
$1DD0 -----mtf | $1DD0 -----mtf | ||
m: permanent morph (for Phunbaba battle) | m: permanent morph (for Phunbaba battle) | ||
Line 1000: | Line 1002: | ||
f: magic only (fanatic' | f: magic only (fanatic' | ||
$1DD1 ztrbemsg Battle End Event Flags | $1DD1 ztrbemsg Battle End Event Flags | ||
- | z: zone eater just ate you | + | z: zone eater engulfed the party |
t: timers are shown in menu and battle | t: timers are shown in menu and battle | ||
r: ran out of time (before emperor' | r: ran out of time (before emperor' | ||
- | b: ran away from battle | + | b: ran away from previous |
- | e: espers have been acquired | + | e: gained AP is displayed (espers have been acquired) |
m: morph is available | m: morph is available | ||
s: enables scene with LOCKE and EDGAR if TERRA uses magic | s: enables scene with LOCKE and EDGAR if TERRA uses magic | ||
Line 1081: | Line 1083: | ||
m: disable main menu | m: disable main menu | ||
s: sprint shoes effect is disabled | s: sprint shoes effect is disabled | ||
- | $1EB9 up?s???? | + | $1EB9 upes???? |
u: user does not have control of character | u: user does not have control of character | ||
p: enable party switching | p: enable party switching | ||
+ | e: encounters disabled | ||
s: don't change song when loading map | s: don't change song when loading map | ||
++ $1EBA current rare items | ++ $1EBA current rare items | ||
Line 1124: | Line 1127: | ||
+ $1F69 Parent Map | + $1F69 Parent Map | ||
+ $1F6B Parent XY Position | + $1F6B Parent XY Position | ||
- | $1F6D Random Number | + | $1F6D Random Number |
- | + $1F6E Random Battle Counter | + | + $1F6E Danger counter for random battles |
$1F70-$1F7F Saved Character Palette Indexes (for world map) | $1F70-$1F7F Saved Character Palette Indexes (for world map) | ||
$1F80 Current Song | $1F80 Current Song | ||
$1F81-$1FA0 Saved Object Map Indexes | $1F81-$1FA0 Saved Object Map Indexes | ||
- | $1FA1 Random Number Pointer for Random Monster Battle | + | $1FA1 Step counter used as an RNG Seed in determining the next random encounter. |
- | $1FA2 Random Number Pointer for Battle | + | $1FA2 Battle |
- | $1FA3 Random Number Counter | + | $1FA3 RNG salt for use with $1FA2 (increments +23 when $1FA2 goes over 255.) |
- | $1FA4 Random Number Counter | + | $1FA4 RNG salt for use with $1FA1 (increments +17 when $1FA1 goes over 255.) |
- | $1FA5 Random Number Counter for Veldt Battles | + | $1FA5 Veldt battle group number. |
+ $1FA6 Pointer to Current Showing Character' | + $1FA6 Pointer to Current Showing Character' | ||
$1FA8-$1FBF Saved timer data (from $1188) | $1FA8-$1FBF Saved timer data (from $1188) | ||
+ $1FC0 Party XY Position | + $1FC0 Party XY Position | ||
$1FC2-$1FD1 Event Variables | $1FC2-$1FD1 Event Variables | ||
- | + $1FC2 Points from emperor's banquet | + | + $1FC2 Points from Narshe security checkpoint/ |
- | + $1FC4 Narshe security checkpoint variable | + | + $1FC4 Narshe security checkpoint variable |
+ $1FC6 - | + $1FC6 - | ||
+ $1FC8 - | + $1FC8 - | ||
Line 1269: | Line 1272: | ||
$D000-$D03F BG3 Tile Formation (palette only) | $D000-$D03F BG3 Tile Formation (palette only) | ||
$D040-$D83F Used as a buffer for decompressing map data etc. | $D040-$D83F Used as a buffer for decompressing map data etc. | ||
- | $D840-$D8BF Partial BG1 Map for Horizontal Scrolling (2 x 32 tiles, 2 bytes per 8x8 tile) | + | $D840-$D8BF Partial BG1 Map for Horizontal Scrolling (2 x 32 tiles, 2 bytes per 8x8 tile) (first column, second column) |
- | $D8C0-$D93F Partial BG2 Map for Horizontal Scrolling (2 x 32 tiles, 2 bytes per 8x8 tile) | + | $D8C0-$D93F Partial BG2 Map for Horizontal Scrolling (2 x 32 tiles, 2 bytes per 8x8 tile) (first column, second column) |
- | $D940-$D9BF Partial BG3 Map for Horizontal Scrolling (2 x 32 tiles, 2 bytes per 8x8 tile) | + | $D940-$D9BF Partial BG3 Map for Horizontal |
- | $D9C0-$E1BF BG1 Map (32 x 32 tiles, 2 bytes per 8x8 tile) | + | $D9C0-$DA3F Partial BG1 Map for Vertical Scrolling (2 x 32 tiles, 2 bytes per 8x8 tile) |
- | $E1C0-$E9BF BG2 Map (32 x 32 tiles, 2 bytes per 8x8 tile) | + | $E1C0-$E23F Partial BG2 Map for Vertical Scrolling (2 x 32 tiles, 2 bytes per 8x8 tile) |
- | $E9C0-$F1BF BG3 Map (32 x 32 tiles, 2 bytes per 8x8 tile) | + | $E9C0-$EA3F Partial BG3 Map for Vertical |
+ | $D9C0-$E1BF BG1 Map for Full Updates | ||
+ | $E1C0-$E9BF BG2 Map for Full Updates | ||
+ | $E9C0-$F1BF BG3 Map for Full Updates | ||
$F1C0-$F1CF Saved Actor Index | $F1C0-$F1CF Saved Actor Index | ||
$F1D0-$F1DF Saved Level | $F1D0-$F1DF Saved Level | ||
Line 1294: | Line 1300: | ||
$4420 Window at top of screen | $4420 Window at top of screen | ||
$4640 Window at bottom of screen | $4640 Window at bottom of screen | ||
- | $4800-$4FFF BG1 Map Data | + | $4800-$4FFF BG1 Map Data - 2 buffers that are swapped between during on-screen element updates (e.g. opening doors and chests.) |
- | $4800 | + | $4800 - Start Buffer (4bbp, 32x32 map size, 8x8 tile size) |
- | $4C00 | + | $4C00 - Alternate Buffer (4bbp, 32x32 map size, 8x8 tile size) |
- | $5000-$57FF BG2 Map Data | + | $5000-$57FF BG2 Map Data - 2 buffers that are swapped between during on-screen element updates (e.g. in Narshe cave). |
- | $5800-$5FFF BG3 Map Data | + | $5000 - Start Buffer (4bbp, 32x32 map size, 8x8 tile size) |
+ | $5400 - Alternate Buffer (4bbp, 32x32 map size, 8x8 tile size) | ||
+ | $5800-$5FFF BG3 Map Data - 2 buffers that are swapped between during on-screen element updates. | ||
+ | $5800 - Start Buffer (4bbp, 32x32 map size, 8x8 tile size) | ||
+ | $5c00 - Alternate Buffer (4bbp, 32x32 map size, 8x8 tile size) | ||
$6000-$7FFF Sprite Graphics | $6000-$7FFF Sprite Graphics | ||
$6000 Object Graphics | $6000 Object Graphics |