fork/training-mode-ce
git clone https://git.julia.blue/fork/training-mode-ce
96edbd1
nix
1# To be inserted at 800c9b88 2.include "../../../Globals.s" 3.include "../../../m-ex/Header.s" 4 5.set entity , 31 6.set playerdata , 31 7.set player , 30 8.set text , 29 9.set textprop , 28 10.set hitbool , 27 11 12########################################################## 13## 804a1f5c -> 804a1fd4 = Static Stock Icon Text Struct ## 14## Is 0x80 long and is zero'd at the start ## 15## of every VS Match ## 16## Store Text Info here ## 17########################################################## 18 19backupall 20 21# Ensure NOT Coming From Dash or Crouch 22lhz r3 , TM_OneASAgo ( playerdata ) # load last AS 23cmpwi r3 , 0x14 24beq Exit 25cmpwi r3 , 0x28 26beq Exit 27 28# Check If Dashed Back (Flag at 0x2340) 29mr r3 , player 30lhz r4 , 0x894 ( playerdata ) 31cmpwi r4 , 0x4000 32beq 0xC 33li r4 , 0x0 34b 0x8 35li r4 , 0x1 36branchl r12 , 0x80005518 37 38Exit : 39restoreall 40mr r3 , r30 41li r4 , 0x0