Make it so the first palette isn't cleared
This commit is contained in:
parent
c2b19230ed
commit
0f5cda234a
|
@ -1962,6 +1962,9 @@ nop
|
||||||
|
|
||||||
// Initializer hacks
|
// Initializer hacks
|
||||||
|
|
||||||
|
// Make it so the first entry of the first palette isn't cleared
|
||||||
|
.org 0x80112BE :: bl _112be_remove_pal_blanking_quick_title
|
||||||
|
|
||||||
// Point to custom initializer routine
|
// Point to custom initializer routine
|
||||||
.org 0x82D6BE8 :: dw title_initializer + 1
|
.org 0x82D6BE8 :: dw title_initializer + 1
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,21 @@ pop {r1}
|
||||||
ldr r0,=0x80113F4
|
ldr r0,=0x80113F4
|
||||||
mov pc,r0 // Run the existing routine
|
mov pc,r0 // Run the existing routine
|
||||||
|
|
||||||
|
//---------------------------------------------------------
|
||||||
|
_112be_remove_pal_blanking_quick_title:
|
||||||
|
|
||||||
|
// Normally the game clears the first entry of the first palette
|
||||||
|
// when showing animations. We don't want that for the quick version
|
||||||
|
// of the title.
|
||||||
|
|
||||||
|
cmp r5,#5 // Is it the quick version of the title?
|
||||||
|
beq @@rmv_pal_qt_end
|
||||||
|
mov r1,r8 // If not, blank out the first entry
|
||||||
|
strh r0,[r1,#0]
|
||||||
|
|
||||||
|
@@rmv_pal_qt_end:
|
||||||
|
bx lr
|
||||||
|
|
||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
title_setup_clamp:
|
title_setup_clamp:
|
||||||
mov r1,250
|
mov r1,250
|
||||||
|
|
Loading…
Reference in New Issue