NOTE* This is not my code I have just recreated it for the game so credit too the og maker of the code whoever it is.

Code:
CDS Code

address $201ac8b8
j $000a0000

address $200a0000
lui t0, $0044
lw t0, $0c38(t0)
lw t1, $00c8(t0)
lui t2, $8000
addiu t2, t2 $0100
bne t1, t2 :StoreID
nop
lui t2, $4000
addiu t2, t2 $0001
StoreID:
sw t2, $00c8(t0)
jr ra
Code:

RAW CODE

201AC8B8 08028000
200A0000 3C080044
200A0004 8D080C38
200A0008 8D0900C8
200A000C 3C0A8000
200A0010 254A0100
200A0014 152A0003
200A0018 00000000
200A001C 3C0A4000
200A0020 254A0001
200A0024 AD0A00C8
200A0028 03E00008