X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/blobdiff_plain/07331ceeb01f6045ddf02e0aba05752ef1ea8838..310931d277a3d004419644ea334d8be237e8b39c:/examples/hunt-the-wumpus/wump_init.pvvs diff --git a/examples/hunt-the-wumpus/wump_init.pvvs b/examples/hunt-the-wumpus/wump_init.pvvs index 9d7543d..e26b05d 100644 --- a/examples/hunt-the-wumpus/wump_init.pvvs +++ b/examples/hunt-the-wumpus/wump_init.pvvs @@ -20,7 +20,7 @@ #include #include #include -#include +#include NSSVTSSSSSTSN | MARK: 10000010 (wump_init) @ Load the user-configurable options. @@ -233,7 +233,7 @@ NSNTSSTSTTSSSSSSSSTN | JMP > 10010110 00000001 (main_loop) @ Build one random tunnel connection per pass through this loop. NSSVTSSTSTTSSSSSSSSTN | MARK: 10010110 00000001 (main_loop) @ Use 'random_number mod number_of_array_entries' to select a starting room. -NSTTSSSSN | JSR > 10000 (random) +NSTTSSTTN | JSR > 10011 (fastrand) SSSTTSSSSSSSSSSSSN | PUSH 0x3000 (BUFFER) TTT | LOAD TSTT | MODULO @@ -246,7 +246,7 @@ TTT | LOAD @ TOS> start_room_num, start_array_index @ Now we randomly select a room for the endpoint. NSSVTSSTSTTSSSSSSTSSN | MARK: 10010110 00000100 (select_random_dst_room) -NSTTSSSSN | JSR > 10000 (random) +NSTTSSTTN | JSR > 10011 (fastrand) SSSTTSSSSSSSSSSSSN | PUSH 0x3000 (BUFFER) TTT | LOAD TSTT | MODULO @@ -507,7 +507,7 @@ NTN | RTS @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #include NSSVTSSSTSTSN | MARK: 10001010 (get_random_room) -NSTTSSSSN | JSR > 10000 (random) +NSTTSSTTN | JSR > 10011 (fastrand) SSSTSSSSSSSSSSSSN | PUSH 0x1000 (GAME_DATA_BASE+0 = num_rooms address) TTT | LOAD TSTT | MODULO