68 lines
1.4 KiB
NASM
68 lines
1.4 KiB
NASM
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;;;
|
|
;;; Some txt Patches to JAPAN Version to print bi(u)g text smaller
|
|
;;;
|
|
|
|
.open "SLPS_028.26", 0x8000F800
|
|
|
|
;Text speed patch (0 - show all text, 2 - Normal, 1 - Button Pressed (fast) )
|
|
.org 0x8001b5b8
|
|
li a0, 0
|
|
;lhu a0, 0xc0(gp) ;Original Code
|
|
|
|
|
|
; Main Bigfont size between letters for special codes
|
|
.org 0x8001927c
|
|
addiu v0,v0,0x6
|
|
|
|
;calcNextX Routine (calc X in line after command)
|
|
;.org 0x8001af38
|
|
; sll r2,r3,2h ; Its Original - Custom in custom routine
|
|
|
|
;dialog start line tabulation
|
|
;.org 0x8007b195
|
|
; .byte 0x4 ;pixels
|
|
.org 0x8001ca0c
|
|
li a2, 0x4
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;Print Routines Calls Replacing
|
|
|
|
;main dialog calls from PrintProgramText Routine
|
|
.org 0x8001cd58
|
|
jal ExternalPrint
|
|
.org 0x8001cdd8
|
|
jal ExternalPrint
|
|
|
|
.org 0x8001c098
|
|
jal ExternalPrint
|
|
.org 0x8001c10c
|
|
jal ExternalPrint
|
|
|
|
|
|
|
|
|
|
;printPlaneTEXT (PlayerName, etc...)
|
|
.org 0x8001c388
|
|
jal ExternalPrint
|
|
|
|
|
|
|
|
;custom CheckCharNumToLineEnd for proper Complex Lines Read (charcountread)
|
|
.org 0x8001abf4
|
|
j ReturnCharsInString ;custom routine
|
|
clear v1
|
|
;j 0x8001af00 ;original code
|
|
|
|
;calcnextX Custom
|
|
|
|
.org 0x8001ac1c
|
|
; addiu sp,sp,-0x18 ;Original Code
|
|
; sw ra,0x10(sp)
|
|
j calcnextXCustom ;PATCHED
|
|
nop
|
|
|
|
.close
|
|
|
|
|