write ep3 version of chat patch

This commit is contained in:
Martin Michelsen
2024-09-02 23:35:31 -07:00
parent 18ce96c84b
commit 302de15c75
4 changed files with 128 additions and 0 deletions
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enables extended\nWord Select and\nstops the Log\nWindow from\nscrolling with L+R"
# Original code by Ralf @ GC-Forever and Aleron Ives
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
entry_ptr:
reloc0:
.offsetof start
start:
.include WriteCodeBlocksGC
.data 0x8000D6A0
.data 0x0000001C
lis r3, 0x804A
lhz r3, [r3 + 0x0098]
andi. r0, r3, 0x0003
cmplwi r0, 3
beqlr
stfs [r28 + 0x0084], f1
blr
.data 0x8016FC9C
.data 0x00000004
.data 0x4BE9DA05
.data 0x801C7D88
.data 0x00000004
li r3, 0x0000
.data 0x00000000
.data 0x00000000