Code Request (Force Backwards Camera on DS Twilight House)
#3
(07-18-2020, 09:02 PM)Vega Wrote: Try this. It works for me on the Wii (USB Loader GX, default VBI hook). Haven't bothered trying it on Dolphin.

Code creator: Vega
Credits: JoshuaMK (Force Looking Backwards)

NTSC-U
C28529C8 00000006
3D808059 2C1C0026
40A20010 3D604800
616B003C 4800000C
3D604182 616B0070
916C721C 93861758
60000000 00000000

Source:


#NTSC-U = 808529C8

lis r12, 0x8059 #First half address of instruction location to modify

cmpwi r28, 0x26 #Check selected battle map to value of Twilight House
bne+ reset_camera #If not equal, don't execute code

lis r11, 0x4800 #New instruction value to write to static memory; force camera backwards
ori r11, r11, 0x003C
b the_end

reset_camera:
lis r11, 0x4182 #Default instruction value
ori r11, r11, 0x0070

the_end:
stw r11, 0x721C (r12) #Update instruction in static memory responsible for the camera hack
stw r28, 0x1758 (r6) #Default Instruction, store battle map value to memory


Thanks, But I already found a solution.
Reply


Messages In This Thread
RE: Code Request (Force Backwards Camera on DS Twilight House) - by JimmyKazakhstan - 07-19-2020, 12:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)