Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Platinum Fantina's Gym RNG
- Secondary RNG (MT)
- The routine first checks which door should be correct, then attempts to spawn the hint tile at a valid location
- Which door should be correct: mtRand() % (# of doors, so 3 or 5 depending on room)
- X Pos: mtRand() % length of room (15 or 27)
- Z Pos: mtRand() % height of room (8 or 20)
- The routine will keep attempting to spawn the tile until a valid location is found.
- Valid locations in each room (Note that 1s are invalid tiles)
- Room 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,1,1,1,1,1,1,
- 1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,
- 0,1,0,0,0,1,1,1,1,1,0,0,1,0,0,
- 0,1,0,0,0,1,1,1,1,1,0,0,1,0,0,
- 0,1,1,1,0,1,0,0,0,0,0,1,1,1,0,
- 0,1,1,1,0,0,1,1,1,0,0,1,1,1,0,
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
- Room 2:
- 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,
- 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,
- 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,
- 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,
- 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,
- 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,
- 0,0,0,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,
- 1,1,1,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,0,0,
- 1,1,1,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,0,0,
- 0,0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