Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Code Description: This will store your player index in a location in memory (0x80001504) that can be easily be accessed by other codes
- Instructions start at: 0x8052BA08: 9BBF0B84 stb r29,2948(r31)
- code:
- lis r22, 0x8000
- ori r22, r22, 0x1500 ;r22 now contains 0x80001500
- stw r29,4(r22) ;We will store our player index at 0x80001504 so it can be easily accessed by any code that needs it
- stb r29,2948(r31) ;Original instruction so nothing breaks
- Finished product:
- Store Player Index -Fishguy6564- [NTSC-U]
- C252BA08 00000003
- 3EC08000 62D61500
- 93B60004 9BBF0B84
- 60000000 00000000
- Store Player Index -Fishguy6564- [PAL]
- C2530550 00000003
- 3EC08000 62D61500
- 93B60004 9BBF0B84
- 60000000 00000000
- Current available regions:
- NTSC-U: ✓
- NTSC-J: X
- NTSC-K: X
- PAL: ✓ ported by D3A01000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement