From CloudModding OoT Wiki
(Redirected from Ovl Obj Oshihiki)
Actor 0x00FF
ovl_Obj_Oshihiki
Version VRom VRam Size
Debug 00F49DA0 00F4BBF0 {{{ram-start}}} {{{ram-end}}} 1E50
NTSC 1.0 00DD1A00 00DD34B0 {{{ram-start}}} {{{ram-end}}} 1AB0
PAL MQ 00EDCBD0 00EDE680 {{{ram-start}}} {{{ram-end}}} 1AB0

ovl_Obj_Oshihiki is the Pushblock Actor.

General Notes

Overlay Addresses

NTSC 1.0 Debug Type Description
DD2B86 F4AF8E LUI float Push Speed
DD2BA2 F4AFA2 LUI float Push Acceleration
DD2D26 F4B12E short Push Delay
DD3100 F4B5E0 float[8] Scale Lookup Table (Uses Variable & 0x0008)
DD3120 F4B600 RGB[4][9] Color Lookup Table (Uses Variable & 0x00C0 and Scene Lookup Table)
DD318C F4B66C short[9] Scene Lookup Table

The Locations the Color Lookup Table refers to are set in the Scene Lookup Table.

Color Lookup Table

NTSC 1.0 Debug Location Color 1 Color 2 Color 3 Color 4
DD3120 F4B600 Deku Tree #6E5628 #6E5628 #6E5628 #6E5628
DD312C F4B60C Dodongo's Cavern #6A786E #685014 #000000 #000000
DD3138 F4B618 Forest Temple #8E6356 #487660 #000000 #000000
DD3144 F4B624 Fire Temple #D29650 #D2AA50 #000000 #000000
DD3150 F4B630 Water Temple #6690B6 #B0A764 #64A764 #756160
DD315C F4B63C Spirit Temple #E8D2B0 #E8D2B0 #E8D2B0 #E8D2B0
DD3168 F4B648 Shadow Temple #877D5F #877D5F #877D5F #877D5F
DD3174 F4B654 Ganon's Tower #FFFFFF #FFFFFF #FFFFFF #FFFFFF
DD3180 F4B660 Gerudo Training Ground #E8D2B0 #E8D2B0 #E8D2B0 #E8D2B0

Block color defaults to #FFFFFF if there is no matching scene.

Debug Rom Notes

In Debug, if the scene lookup fails, the block will look at three halfwords in the Static Context for RGB information. (Static Context + 0x116E)
However, the block does not set these halfwords, so unless another actor has set this information (like Obj_Hsblock), it will be completely black.

To fix this and make Debug blocks act like NTSC 1.0 blocks, replace the word at F4B4BC (10200016) with (10000006)