Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Panic Restaurant/Tutorials: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=PPU Type Explanation= The value is in binary [http://datacrystal.romhacking.net/wiki/Binary]. {| border="1" align="center" cellpadding="4" cellspacing="0" style="margin: 0 0...") |
No edit summary |
||
Line 1: | Line 1: | ||
=Input Explanation= | |||
The value is in binary [http://datacrystal.romhacking.net/wiki/Binary]. | |||
{| border="1" align="center" cellpadding="4" cellspacing="0" style="margin: 0 0 1em 1em; background: #f7f8ff; border: 1px #8888cc solid; border-collapse: collapse; font-size: 95%" | |||
|- style=background:#ccccff | |||
!'''Bit Location''' || '''Input''' | |||
|- | |||
|0000000x || Right | |||
|- | |||
|000000x0 || Left | |||
|- | |||
|00000x00 || Down | |||
|- | |||
|0000x000 || Up | |||
|- | |||
|000x0000 || Start | |||
|- | |||
|00x00000 || Select | |||
|- | |||
|0x000000 || B | |||
|- | |||
|x0000000 || A | |||
|} | |||
'''Example:''' Holding Right, B, and A will give 11000001 (or 0xC1). | |||
=PPU Type Explanation= | =PPU Type Explanation= | ||
The value is in binary | The value is in binary. | ||
{| border="1" align="center" cellpadding="4" cellspacing="0" style="margin: 0 0 1em 1em; background: #f7f8ff; border: 1px #8888cc solid; border-collapse: collapse; font-size: 95%" | {| border="1" align="center" cellpadding="4" cellspacing="0" style="margin: 0 0 1em 1em; background: #f7f8ff; border: 1px #8888cc solid; border-collapse: collapse; font-size: 95%" |
Revision as of 00:48, 9 May 2016
Input Explanation
The value is in binary [1].
Bit Location | Input |
---|---|
0000000x | Right |
000000x0 | Left |
00000x00 | Down |
0000x000 | Up |
000x0000 | Start |
00x00000 | Select |
0x000000 | B |
x0000000 | A |
Example: Holding Right, B, and A will give 11000001 (or 0xC1).
PPU Type Explanation
The value is in binary.
Bit Location | Function |
---|---|
0000000x | Disable Color Blend |
000000x0 | Extend BG to Left |
00000x00 | (Doesn't do anything) |
0000x000 | Render BG (Background) |
000x0000 | Render OBJ (Object) |
00x00000 | Red Color Overlay |
0x000000 | Green Color Overlay |
x0000000 | Blue Color Overlay |
Example: 011 01 010 (00101010, or 2A in hexadecimal) will add a yellow color overlay, rendering non-objects (such as the background and the HUD), as well extending the background to the left.
PPU Color Overlay List
Value | Color 1 | Color 2 | Color 3 |
---|---|---|---|
000 | 666666 | ADADAD | FFFFFF |
001 | 7E5D4B | D69E80 | FFE9BD |
010 | 506E59 | 89BB98 | CAFFE0 |
011 | 676342 | B0A970 | FFF9A6 |
100 | 5C6882 | 9CB1DC | E6FFFF |
101 | 685C63 | B09DA9 | FFE7F9 |
110 | 4B640A | 80AA11 | BCFB19 |
111 | 4C4C4C | 818181 | BFBFBF |
Internal Data for Panic Restaurant
| |
---|---|