Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- writelocation ZZZZZ
- checktile YX AD //Checks first tile to see if it is red
- checktile YX AE //Checks second tile for yellow
- checktile YX AF //Checks third tile for blue
- jumptilecheck YX AE ZZZZZ //If first tile is yellow, restart script
- jumptilecheck YX AF ZZZZZ //If first tile is blue, restart script
- jumptilecheck YX AD ZZZZZ //If second tile is red, restart script
- jumptilecheck YX AF ZZZZZ //If second tile is blue, restart script
- jumptilecheck YX AD ZZZZZ //If third tile is red, restart script
- jumptilecheck YX AE ZZZZZ //If first tile is yellow, restart script
- setmemory CCA0 1 // If all tiles are correct colours, set switch value to open door.
- *If you want more than 3 tiles in your room, you would jsut add an extra check tile at the start, and two extra jumptilechecks with the two colours that AREN'T the colour of the tile you want.
- *The second value of both checktile and jumptilecheck is the actual tile. I used area ID 54 for this, so for me tile AD was red, AE was yellow and AF was blue. You may need to change the values.
- *ZZZZZ is just the writelocation you chose. Substitute it in where you see and ZZZZZ's.
Advertisement
Add Comment
Please, Sign In to add comment