SHARE
TWEET

Untitled

a guest Jan 24th, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ADDIU sp, sp, -0x40
  2. SW s0, 0x0020 (sp)
  3. SW v0, 0x0024 (sp)
  4. SW ra, 0x0028 (sp)
  5. ;
  6. JAL RNGPercentChance
  7. NOP
  8. ;
  9. JAL EventOneCheck
  10. NOP
  11. ;
  12. JAL EventTwoCheck
  13. NOP
  14. ;
  15. LW s0, 0x0020 (sp)
  16. LW v0, 0x0024 (sp)
  17. LW ra, 0x0028 (sp)
  18. JR RA
  19. ADDIU sp, sp, 0x40
  20.  
  21.  
  22. EventOne:
  23. SLTI S0 V0 10
  24. BNE S0 R0 EventOne
  25. NOP
  26. JR RA
  27. NOP
  28. EventOneAction:
  29. ;code here
  30. JR RA
  31. NOP
  32.  
  33. EventTwo:
  34. SLTI S0 V0 75
  35. BNE S0 R0 EventTwo
  36. NOP
  37. JR RA
  38. NOP
  39. EventTwoAction:
  40. ;code here
  41. JR RA
  42. NOP
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top