62 lines
1.5 KiB
NASM
62 lines
1.5 KiB
NASM
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;;;
|
|
;;; Some txt Patches to JAPAN Version to print bi(u)g text smaller
|
|
;;;
|
|
|
|
.open "2_EP/BIN/SLPS_028.25", 0x8000F800
|
|
|
|
;Text speed patch (0 - show all text, 2 - Normal, 1 - Button Pressed (fast) )
|
|
.org 0x8001b5b8
|
|
li a1, 0
|
|
;lhu a1, 0x74(s0) ;Original Code
|
|
|
|
|
|
// ; Main Bigfont size between letters for special codes
|
|
.org 0x8001a880
|
|
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 0x8001d0c4
|
|
jal ExternalPrint
|
|
.org 0x8001d138
|
|
jal ExternalPrint
|
|
|
|
.org 0x8001df7c
|
|
jal ExternalPrint
|
|
.org 0x8001dffc
|
|
jal ExternalPrint
|
|
|
|
// ;printPlaneTEXT (PlayerName, etc...)
|
|
.org 0x8001d1dc
|
|
jal ExternalPrint
|
|
|
|
// ;custom CheckCharNumToLineEnd for proper Complex Lines Read (charcountread)
|
|
.org 0x8001bee0
|
|
j ReturnCharsInString ;custom routine
|
|
clear v1
|
|
// ;j 0x8001af00 ;original code
|
|
|
|
// ;calcnextX Custom
|
|
.org 0x8001bf08
|
|
; addiu sp,sp,-0x18 ;Original Code
|
|
; sw ra,0x10(sp)
|
|
j calcnextXCustom ;PATCHED
|
|
nop
|
|
|
|
.close
|
|
|
|
|