TTS4life

Platinum Fantina's Gym RNG

Dec 23rd, 2023
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. Platinum Fantina's Gym RNG
  2.  
  3. Secondary RNG (MT)
  4.  
  5. The routine first checks which door should be correct, then attempts to spawn the hint tile at a valid location
  6.  
  7. Which door should be correct: mtRand() % (# of doors, so 3 or 5 depending on room)
  8. X Pos: mtRand() % length of room (15 or 27)
  9. Z Pos: mtRand() % height of room (8 or 20)
  10.  
  11. The routine will keep attempting to spawn the tile until a valid location is found.
  12.  
  13. Valid locations in each room (Note that 1s are invalid tiles)
  14.  
  15. Room 1:
  16. 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
  17. 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
  18. 1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,
  19. 0,1,0,0,0,1,1,1,1,1,0,0,1,0,0,
  20. 0,1,0,0,0,1,1,1,1,1,0,0,1,0,0,
  21. 0,1,1,1,0,1,0,0,0,0,0,1,1,1,0,
  22. 0,1,1,1,0,0,1,1,1,0,0,1,1,1,0,
  23. 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
  24.  
  25. Room 2:
  26. 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,
  27. 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,
  28. 0,1,1,1,1,1,0,0,0,1,1,1,0,1,0,1,0,0,0,1,1,0,0,0,0,1,0,
  29. 0,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,0,
  30. 0,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,0,
  31. 0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,
  32. 0,0,0,1,0,0,1,1,1,1,0,1,1,1,1,1,1,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