From d42092424b60ede45f9b2e471254451af901dddf Mon Sep 17 00:00:00 2001 From: Lorenzooone Date: Sat, 17 Aug 2019 03:58:57 +0200 Subject: [PATCH] Add support to printing PSI Rockin in battle text (And not PSRockin) --- src/m2-hack.asm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/m2-hack.asm b/src/m2-hack.asm index 047cd5f..0d55f87 100644 --- a/src/m2-hack.asm +++ b/src/m2-hack.asm @@ -948,6 +948,12 @@ nop .org 0x80BE45A :: bl be45a_set_proper_wvf_skip .org 0x80BE4CA :: bl be4ca_set_proper_wvf_skip_goods_battle_window +//--------------------------------------------------------- +// PSI Rockin in battle text +//--------------------------------------------------------- +.org 0x80D3984 :: cmp r0,#3 //Now "PSI " is 4 letters long, not 2 +.org 0x80D399E :: sub r0,#4 //Subtract from r0 the length of "PSI " + //--------------------------------------------------------- // Names hacks //---------------------------------------------------------