This document is a compliation of the various things I've been documenting. This is the very document I am using as reference when coding the z64editor, which is why it is just plain text. ********************************************************************************************************************** ********************************************************************************************************************** OCARINA OF TIME DEBUG ********************************************************************************************************************** ********************************************************************************************************************** 0x00222968 Current Menu 0x0022299D Currently Selected Menu Item 0x802229BC selected menu item text 0x002229C4 Selected Item Name 0x0015E6D4 items 003E978C 802229BE 803E1378 qst 803D265C A0 803EDFFC Equip Item: 803D98D4 80002130 803D8B2C 0x803D8B88 (left) 0x803D8C68 (right) 0x803D8DD0 (from L) 0x803D8EA8 (from R) 0x803D8FAC (up) 0x803D9004 (Down) 0x803E1370 (Set to 0xFF instead of 0x03E7 to hide item name for blank slots) 0x803D8AE4 move cursor if selected item is 3E7 (blank) (Set to always branch) - 80222780 at 0x801683A4 803E2168 ASM: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Cursor Movement: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .org 0x803D8B88 ;LEFT NOP .org 0x803D8C68 ;RIGHT NOP .org 0x803D8DD0 ;FROM L NOP NOP .org 0x803D8EA8 ;FROM R NOP NOP .org 0x803D8FAC ;UP NOP .org 0x803D9004 ;DOWN NOP ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Hide Item 0xFF name (loop) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .org 0x803E2168 LHU A1, 0x023C(V0) .org 0x803E2170 SLTI AT, A1, 0x00FF BEQL AT, R0, 0x803E2338 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Hide Item 0xFF name (on select) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .org 0x803E1370 SLTI AT, T7, 0x00FF ;Set AT to 1 if you don't have item 0xFF or a blank slot selected .org 0x803E1378 BEQL AT, R0, 0x803E17E8 ;Branch if you have item 0xFF or a blank slot selected ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Usability ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;003E978C slot usability table ;003E97B4 item usability table ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Name Color or Selection Size .org 0x803D909C ADDIU T5, T5, 0x97B4 ;Point to item usability table instead of slot usability table. .org 0x803D90B4 ADDU S0, A0, T5 ;Replace T4 with A0 to use item ID instead of Slot ID ;OLD Pointer LBU V0, 0x0028(S0) ;Point to item usability table instead of slot usability table. ;Name Color or Selection Size .org 0x803D9578 ADDU V0, V0, T5 ;Replace S0 with T5 to use item ID instead of Slot ID .org 0x803D9584 LBU V0, 0x97B4(V0) ;Point to item usability table instead of slot usability table. ;Ammo Usability Color .org 0x803D849C LBU T6, 0x0074(T8) ;Load Item ID instead of Slot ID .org 0x803D84AC LBU V0, 0x97B4(V0) ;Point to item usability table instead of slot usability table. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Ammo Position ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .org 0x803E37C8 SLL T4, T3, 0x0002 ///////////////////////// .org 0x803D8AE4 BEQ R0, R0, 0x803D8AF0 OR .org 0x803D8AEC NOP .org 0x803D908C BEQL T9, S5, 0x803D9094 ADDIU T9, R0, 0x03E7 ANDI A0, T9, 0xFFFF .org 0x803D90A0 SH A0, 0x023E(S1) //////////////////////// 803E2154 set item to 0xFF instead of 3E7 803E1378 move cursor if selected item is 3E7 (blank) 0x803D9088 0x00BF90C0 803D8B2C Menu set item name texture? 0x803D23B0 Menu Start RAM 0x00BE2730 Menu Start ROM Menu File: ovl_kaleido_scope.zdata 0x003E8BF8 Menu Data Start 0x003E94D8 Texture Table 0x000170B0 Game Over Screen Texture Start (file offset) 0x003EEDCC Select Item Scale NOT FOCUS 0x003EEDE8 Select Item Width Scale FOCUS 0x003EEDFC Quest Status Scale FOCUS 0x003E8D3C Quest Status Direction Table Ocarina of time share table for the cursor & object positions, Majora's Mask doesn't. 0x30 entries 0x003E9CC8 Quest Status Object Position Table 0x003E9D88 Quest Status Object Size Table 0x803D2980 Quest Status L Direction ID 0x803E44C8 Note Size Calculations 0x003E8F88 Equipment Upgrade Upgrade start offsets 0x003E9678 Map Cloud Size Table 0x003E96FC Panel Disabled Button Table 0x003E9824 Cursor Texture Table 0x003E9834 Cursor Color Table 0x003E99D8 Background Color Table Item, Equipment, Unknown, Quest, Map, Save 0x8021194E Song Note Y position temporary 0x803D2884 A Note Y Position 0x803D2894 C-D Note Y Position 0x803D28A4 C-R Note Y Position 0x803D28B4 C-L Note Y Position 0x803D28C4 C-U Note Y Position 0x10 offset 0x803D2BD0 A Replay Note Y 0x803D2BD4 C-D Replay Note Y 0x803D2BE0 C-R Replay Note Y 0x803D2BF0 C-L Replay Note Y 0x803D2BFC C-U Replay Note Y 0x4, 0xC, 0x10, 0xC offset //803D2A54 0x803D2A58 803D2A58 ADDIU AT, R0, 0x0000 SH AT, 0x021C(S4) 0x803E9CAC Select Item Ammo Object Anchor ID 0x803E9CBC Equipment Position Table 803E9B0C 0x801BD230 equipment object data ------TESTS------ 0x80758024 read quest status scale MM 0x74 difference ********************************************************************************************************************** ********************************************************************************************************************** MAJORA'S MASK NTSC-U ********************************************************************************************************************** ********************************************************************************************************************** ********************************************************************************************************************** INTERFACE DOCUMENTATION ********************************************************************************************************************** 801BF8A0: Magic Meter Border Red Value 801BF8A4: Magic Meter Border Green Value 801BF8A8: Magic Meter Border Blue Value 801BF9BC: B Button Graphic Scale 801BF9BE: C-Left Graphic Scale 801BF9C0: C-Down Graphic Scale 801BF9C2: C-Right Graphic Scale 801BF9D4: B Button / Graphic X Coordinate 801BF9D6: C-Left X / Graphic Coordinate 801BF9D8: C-Down X / Graphic Coordinate 801BF9DA: C-Right X / Graphic Coordinate 801BF9DC: B Button Y / Graphic Coordinate 801BF9DE: C-Left Y / Graphic Coordinate 801BF9E0: C-Down Y / Graphic Coordinate 801BF9E2: C-Right Y / Graphic Coordinate 801BF9E4: B Button Scale 801BF9E6: C-Left Scale 801BF9E8: C-Down Scale 801BF9EA: C-Right Scale 801BFAB8: Magic Meter Border (Charging Frame 1) Red Value 801BFABA: Magic Meter Border (Charging Frame 1) Green Value 801BFABC: Magic Meter Border (Charging Frame 1) Blue Value 801BFABE: Magic Meter Border (Charging Frame 2) Red Value 801BFAC0: Magic Meter Border (Charging Frame 2) Green Value 801BFAC2: Magic Meter Border (Charging Frame 2) Blue Value 801BFB04: B Button Ammunition Number X Coordinate 801BFB06: C-Left Ammunition Number X Coordinate 801BFB08: C-Down Ammunition Number X Coordinate 801BFB0A: C-Right Ammunition Number X Coordinate 801BFB0C: B Button Ammunition Number Y Coordinate 801BFB0E: C-Left Ammunition Number Y Coordinate 801BFB10: C-Down Ammunition Number Y Coordinate 801BFB12: C-Right Ammunition Number Y Coordinate 80117120 B & C-Button Background Texture 801171A0 B Blue 801171A8 B Red 801171AC B Green 8011722C C-Left Red 80117230 C-Left Green 80117284 C-Down Red 80117288 C-Down Green 801172E4 C-Right Red 801172E8 C-Right Green 80117360 Start X Coordinate 80117364 Start Y Coordinate 80117390 Start Green 80117394 Start Blue 8011739C Start Red 80118DA0 A X Coordinate ? 80118D90 A Texture Coordinate ? 80118DE0 A Red & Green 80118DF4 A Blue 8020E944 Interface Data 8022F0F4 A Button Data 8022F304 /* 8022F1EC hour lines color 8022F254 halfcircle color 8022F2C4 day diamond color 8022F324 day number color 8022F394 star color 8022F424 sun color 8022F48C moon color 8022F564 sun text color 8022F5E4 moon text color */ 80119914 Hour Lines Red & Green 80119918 Hour Lines Blue 801199D8 Halfcircle Blue 8011A110 Diamond Red & Green 8011A114 Diamond Blue 8011A1A4 Day Number Blue 8011A39C Star Red & Green 8011A3A0 Star Blue 8011A738 Sun Red & Green 8011A73C Sun Blue 8011A888 Moon Red & Green 8011A88C Moon Blue 8011AB84 Sun Text Blue 8011AD20 Moon Text Blue ********************************************************************************************************************** MENU DOCUMENTATION ********************************************************************************************************************** Menu Start: 0x8074AF20 Menu Data Start: 0x8075FD50 80760980 tables Map Object Table: 80760870 X 80760900 Y Location Title Boss Key Compass Map Map Size Table: 807608DC //World Map Stuff 80760998 (X POSITION) 80760880 807609B0 (WIDTH) 80760670 807609C8 (Y POSITION) 80760910 807609E0 (HEIGHT) 807606B8 807603C8 Texture Table 8023282C D7EBEBFF MAP COLOR 80212550 80753FA8 Map Cloud Red & Green 80753FBC Map Cloud Blue 80753FC4 Map Cloud Alpha 80212534 //End World Map Stuff ------------ Select Item Ammo X Table: 807602C4 Select Item Ammo X Table: 807602D4 Boss Key Icon: 80760320 Compass Icon: 80760324 Map Icon: 80760328 Woodfall Temple Text Texture: 8076032C Snowhead Temple Text Texture: 80760330 Great Bay Temple Text Texture: 80760334 4F Icon Y Coord: 8076033C 3F Icon Y Coord: 8076033E 2F Icon Y Coord: 80760340 1F Icon Y Coord: 80760342 B1 Icon Y Coord: 80760344 Stone Tower Temple Text Texture: 80760338 Stray Fairy Stuff: 80760370 - 80 4F Cursor X Coord: 80760C14 Quest Status Object Table: 807609F4 0x00757648 Select Item Background Color NOT FOCUS 0x00757770 Map Background Color NOT FOCUS 0x00757918 Quest Status Background Color NOT FOCUS 0x00757A64 Masks Background Color NOT FOCUS 0x00757BBC Select Item Background Color FOCUS 0x00757CD8 Map Background Color FOCUS 0x00757FB0 Quest Status Background Color FOCUS 0x007580EA Masks Background Color FOCUS Inventory Start: 0x8074AF20 Inventory Data Start: 0x8075FD50 00CA627C-0x00C90550 MENU TEXTURES Values 08064440 Masks 0,0 0806E440 Masks 0,1 08077A40 Masks 0,2 08081040 Masks 0,3 0808A640 Masks 0,4 0D003A00 Masks 1,0 0806EE40 Masks 1,1 08078440 Masks 1,2 08081A40 Masks 1,3 0808B040 Masks 1,4 08065840 Masks 2,0 0806F840 Masks 2,1 08078E40 Masks 2,2 08082440 Masks 2,3 0808BA40 Masks 2,4 0D004400 Select Item 0,0 08070240 Select Item 0,1 08079840 Select Item 0,2 08082E40 Select Item 0,3 0808C440 Select Item 0,4 0D004E00 Select Item 1,0 08070C40 Select Item 1,1 0807A240 Select Item 1,2 08083840 Select Item 1,3 0808CE40 Select Item 1,4 0D005800 Select Item 2,0 08071640 Select Item 2,1 0807AC40 Select Item 2,2 08084240 Select Item 2,3 0808D840 Select Item 2,4 08068040 Map 0,0 08072040 Map 0,1 0807B640 Map 0,2 08084C40 Map 0,3 0808E240 Map 0,4 0D006200 Map 1,0 08072A40 Map 1,1 0807C040 Map 1,2 08085640 Map 1,3 0808EC40 Map 1,4 08069440 Map 2,0 08073440 Map 2,1 0807CA40 Map 2,2 08086040 Map 2,3 0808F640 Map 2,4 0D006C00 Quest Status 0,0 08073E40 Quest Status 0,1 0807D440 Quest Status 0,2 08086A40 Quest Status 0,3 08090040 Quest Status 0,4 0D007600 Quest Status 1,0 08074840 Quest Status 1,1 0807DE40 Quest Status 1,2 08087440 Quest Status 1,3 08090A40 Quest Status 1,4 0D008000 Quest Status 2,0 08075240 Quest Status 2,1 0807E840 Quest Status 2,2 08087E40 Quest Status 2,3 08091440 Quest Status 2,4 Offsets 80760580 Masks 0,0 80760584 Masks 0,1 80760588 Masks 0,2 8076058C Masks 0,3 80760590 Masks 0,4 80760594 Masks 1,0 80760598 Masks 1,1 8076059C Masks 1,2 807605A0 Masks 1,3 807605A4 Masks 1,4 807605A8 Masks 2,0 807605AC Masks 2,1 807605B0 Masks 2,2 807605B4 Masks 2,3 807605B8 Masks 2,4 807605BC Select Item 0,0 807605C0 Select Item 0,1 807605C4 Select Item 0,2 807605C8 Select Item 0,3 807605CC Select Item 0,4 807605D0 Select Item 1,0 807605D4 Select Item 1,1 807605D8 Select Item 1,2 807605DC Select Item 1,3 807605E0 Select Item 1,4 807605E4 Select Item 2,0 807605E8 Select Item 2,1 807605EC Select Item 2,2 807605F0 Select Item 2,3 807605F4 Select Item 2,4 807605F8 Map 0,0 807605FC Map 0,1 80760600 Map 0,2 80760604 Map 0,3 80760608 Map 0,4 8076060C Map 1,0 80760610 Map 1,1 80760614 Map 1,2 80760618 Map 1,3 8076061C Map 1,4 80760620 Map 2,0 80760624 Map 2,1 80760628 Map 2,2 8076062C Map 2,3 80760630 Map 2,4 80760634 Quest Status 0,0 80760638 Quest Status 0,1 8076063C Quest Status 0,2 80760640 Quest Status 0,3 80760644 Quest Status 0,4 80760648 Quest Status 1,0 8076064C Quest Status 1,1 80760650 Quest Status 1,2 80760654 Quest Status 1,3 80760658 Quest Status 1,4 8076065C Quest Status 2,0 80760660 Quest Status 2,1 80760664 Quest Status 2,2 80760668 Quest Status 2,3 8076066C Quest Status 2,4 Item Ammo Coords 807602C4 C-Button Location for Equipping Coords 80760304 QUEST STATUS Z Button Direction ID 8074D534 ADDIU T3, R0, 0x0012 QUEST STATUS R Button Direction ID 8074D5BC ADDIU T4, R0, 0x0001 Z & R Button Coords 80760798 Z X Coord 8076079C R X Coord 807607A0 Z & R Y Coord Z & R Cursor Coords 8075C71C Z X Coord LUI AT, 0xC2BA 8075C72C R X Coord LUI AT, 0x42CA 8075C748 Z & R Y Coord LUI AT, 0xC080 ITEM CURSOR SIZE 8075C3F8 LUI AT, 0x4170 MAP CURSOR SIZE 8075C4FC LUI AT, 0x4120 REMAINS, SWORD & SHIELD CURSOR SIZE 8075C674 LUI AT, 0x4190 QUIVER, BOMB BAG, NOTEBOOK & HEART CONTAINER CURSOR SIZE 8075C62C LUI AT, 0x4188 SONG CURSOR SIZE 8075C69C LUI AT, 0x4140 MASK CURSOR SIZE 8075C6B8 LUI AT, 0x8170 Z & R CURSOR SIZE 8075C73C LUI AT, 0x4180 CURSOR COLORS 807607EC DEFAULT 1(BLACK) 807607F2 DEFAULT 2 (GREY) 807607F8 EQUIP WITH C 1 (BLACK) 807607FE EQUIP WITH C 2 (YELLOW/ORANGE) 80760804 A TO PLAY / VIEW 1 (DARK BLUE) 8076080A A TO PLAY / VIEW 2 (LIGHT BLUE) TEXT TEXTURE IDS 80760818 FROM SELECT ITEM TO MASKS (0D003300) 8076081C FROM MAP TO SELECT ITEM (0D002700) 80760820 FROM QUEST STATUS TO MAP (0D002B00) 80760824 FROM MASKS TO QUEST STATUS (0D002F00) 80760828 FROM SELECT ITEM TO MAP (0D002B00) 8076082C FROM MAP TO QUEST STATUS (0D002F00) 80760830 FROM QUEST STATUS TO MASKS (0D003300) 80760834 FROM MASKS TO SELECT ITEM (0D002700) 8076083E Z & R Arrow Fade Alpha on hover 1 80760846 Z & R Arrow Fade Alpha on hover 2 Map Object Table: 80760870 Quest Status Object Table: 807609F4 WEIRD 8075FCA0 REMAINS SPEED 8075FD50 HEART CONTAINER SPEED 8075FD58 HEART CONTAINER RGBA 8075FD84 color 1 8075FD8C color 2 8075FD94 color 3 8075FD9C color 4 REMAINS COLOR RGB 8075FDC8 Odolwa 8075FDCE Goht 8075FDD4 Gyorg 8075FDDA Twinmold Note Textures 8075FE30 A 020024A0 8075FE34 C-Down 020025A0 8076FE38 C-Left 020026A0 8076FE3C C-Right 020027A0 8076FE40 C-Up 020028A0 Song Color Table 0x8075FE44 Red 0x8075FE5C Green 0x8075FE74 Blue Quiver & Bomb Bag Display Table 8075FE8C Quiver (Holds 30) 8075FE90 Quiver (Holds 40) 8075FE94 Quiver (Holds 50) 8075FE98 Bomb Bag (Holds 20) 8075FE9C Bomb Bag (Holds 30) 8075FEA0 Bomb Bag (Holds 40) Item Icon Display Table 801C1E6C Song Note Y Positions 8074D118 A Button ADDIU T4, R0, 0xFFC2 8074D11C C-Down Button ADDIU T3, R0, 0xFFC8 8074D124 C-Right Button ADDIU T5, R0, 0xFFCF 8074D128 C-Left Button ADDIU T6, R0, 0xFFD2 8074D12C C-Up Button ADDIU T7, R0, 0xFFD7 Song Note Y Positions (Replay) 8074D6C4 A Button ADDIU T2, R0, 0xFFC2 8074D6C8 C-Down Button ADDIU T3, R0, 0xFFC8 8074D6CC C-Right Button ADDIU T4, R0, 0xFFCF 8074D6D0 C-Left Button ADDIU T5, R0, 0xFFD2 8074D6C4 C-Up Button ADDIU T8, R0, 0xFFD7 Quest Status Quiver Slot: 801C1DC0 Bits to use 8074CEE4 Offset Remains Slots: 8074CD20 Item ID Offset 8074CFB0 set current item selected in menu 803FDAB2 current item selected in menu 8074B864 is the command that make the songs display 803FDA50 Something awesome 0x3 will equip magical arrow ********************************************************************************************************************** FILE SELECT DOCUMENTATION ********************************************************************************************************************** FILE SELECT: 0x8076F570 skip past 3rd file (copy down) 0x8076F5A4 skip past 3rd file (copy up) 0x807716E8 Skip past 3rd file (erase down) 0x8077171C skip past 3rd file (erase up) 0x80777A94 skip past 3rd file (main up) 0x80777AE0 skip past 3rd file (main down) 0x8077C084 Remove File 3 from loop Current Day: 8040AF84 Owl Save Flag: 8040AF8A 8040AF8B 8040AF8C 8040AF14 80777874 80402014 name creation letter textures 804FCED0 odolwa's remains title screen 00225F84 menu stuff 8077E07C 8077EF3C 8077F3D0 Menu Background Color 0040AFD0 Menu Title Shadow Alpha 0040AFD6 Menu Title Alpha 0040AFD8 Menu Background Alpha 0040AFDA File 1 BG Alpha 0040AFDC File 2 BG Alpha 0040AFDE File 3 BG Alpha 0040AFE0 File 1 BG Alpha 0040AFDC Cursor Color 0040B00A Menu X Offset 0040B028 8006D660 8006CD1C 0102BCB0 08055000 80760000 File Background Texture 1 Width 8077F688 File Background Texture 2 Width 8077F68A File Background Texture 3 Width 8077F68C File Background Texture 4 Width 8077F68E File Background Texture 5 Width 8077F690 File Background Texture 6 Width 8077F692 File Color 8077F698 Rupee & Mask Number offset, width & height 8077F770 Menu Cursor Y Coord Table 8077F788 Texture Offset 8077F7A4 value: 00880194 Odolwa's Remains Texture 8077F7AC Goht's Remains Texture 8077F7B0 Gyorgs's Remains Texture 8077F7B4 Twinmold's Remains Texture 8077F7B8 0th Day Texture 8077F7BC 1st Day Texture 8077F7C0 2nd Day Texture 8077F7C4 3rd Day Texture 8077F7C8 0 Heart Pieces Texture Texture 8077F7CC 1 Heart Piece Texture Texture 8077F7D0 2 Heart Pieces Texture Texture 8077F7D4 3 Heart Pieces Texture Texture 8077F7D8 Rupee Color 8077F820 Heart Color 8077F83C File Select Texture 1 8077F854 File Select Texture 2 8077F858 File Select Texture 3 8077F85C File Select Texture 4 8077F860 File Select Texture 5 8077F864 File Select Texture 6 8077F868 File Select Texture 6 8077F86C Please Select a File Texture 8077F870 Open This File Texture 8077F874 Copy Which File Texture 8077F878 Copy to Which File Texture 8077F87C Are you sure Texture 8077F880 File Copied Texture 8077F884 Erase Which File Texture 8077F888 Are you sure Texture 8077F88C File Erased Texture 8077F890 There is no empty file Texture 8077F89C This is an empty file Texture 8077F8A0 File 1 Texture 8077F8A8 File 2 Texture 8077F8AC File 3 Texture 8077F8B0 Copy Texture 8077F8B4 Erase Texture 8077F8B8 Yes Texture 8077F8BC Quit Texture 8077F8C0 Please wait Texture 8077F904 A-Decide*B-Cancel Texture 8077F908 A-Decide*B-Save Texture 8077F90C Please Wait X Coord 8077F918 A-Decide*B-Cancel X Coord 8077F91A A-Decide*B-Save X Coord 8077F91C File Select Panel Size (Float) 8077F930 New File Panel Size (Float) 8077F934 Options Panel X Size (Float) 8077F938 Options Panel X Size (Float) 8077F93C File Panel Size (Float) 8077F940 8077F788