ROOM ID 143 NOCYBORGS NAME "Pad Jump 2" PICT "frogpond.gif" ARTIST "Pic by Alissa Script by Foxy" PICTURE ID 1 NAME "frog.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 2 NAME "arrowll.gif" TRANSCOLOR 56 ENDPICTURE PICTURE ID 3 NAME "arrowrr.gif" TRANSCOLOR 56 ENDPICTURE SPOT ID 1 OUTLINE 189,170 371,175 375,310 1,290 LOC 247,214 PICTS 1,75,-25 1,37,-37 1,5,-30 1,-23,-35 1,-53,-27 1,-102,-16 1,-98,5 1,-168,29 1,-99,54 1,-35,33 1,16,8 1,84,73 1,107,19 ENDPICTS SCRIPT ON ENTER { 0 ME SETSPOTSTATELOCAL "@312,168 Welcome to my (lily) pad!" LOCALMSG "@312,168 I can move around my home much faster than you can!" LOCALMSG "@312,168 I can prove it, too. Ask 'how?' if you want to know how!" LOCALMSG { CLEARLOOSEPROPS PAINTCLEAR } NBRROOMUSERS 2 < IF } ON OUTCHAT { start GLOBAL { "@312,168 When you say 'Jump!' I'll start jumping from pad to pad" LOCALMSG "@312,168 I'll do that for about 20 seconds, and you try to jump on top of me." LOCALMSG "@312,168 You can't catch me more than 3 times in all that length of time, I bet!" LOCALMSG } CHATSTR "how" == CHATSTR "how?" == OR IF { "@312,168 Ok, here goes!" LOCALMSG jumped GLOBAL gameon GLOBAL 1 gameon = 0 jumped = DATETIME start = 1 ME SETALARM } CHATSTR "jump" == CHATSTR "jump!" == OR IF } ON ALARM { start GLOBAL jumped GLOBAL gameon GLOBAL 13 RANDOM ME SETSPOTSTATELOCAL { 30 RANDOM 20 + ME SETALARM } { 0 ME SETSPOTSTATELOCAL { "@312,168 Ha ha! I was right, you caught me only " jumped ITOA + " times!" + ROOMMSG } { "@312,168 Ow, you're a good jumper. You caught me " jumped ITOA + " times. :( " + ROOMMSG } jumped 3 < IFELSE 0 jumped = 0 gameon = } DATETIME start - 20 < IFELSE } ON SELECT { jumped GLOBAL gameon GLOBAL { MOUSEPOS sy = sx = [ [ 323 190 ] [ 279 180 ] [ 249 185 ] [ 228 177 ] [ 192 188 ] [ 144 199 ] [ 148 220 ] [ 79 244 ] [ 149 269 ] [ 213 247 ] [ 262 223 ] [ 331 287 ] [ 355 234 ] ] ME GETSPOTSTATE GET po = po 0 GET mx = po 1 GET my = mx sx - dx = { -1 dx *= } dx 0 < IF my sy - dy = { -1 dy *= } dy 0 < IF { "@" mx ITOA + "," + my ITOA + " Ouch! You got me! " + ROOMMSG jumped ++ } dx 10 < dy 8 < AND IF } gameon 1 == IF } ENDSCRIPT ENDSPOT DOOR ID 2 DONTMOVEHERE DEST 95 OUTLINE 18,15 94,15 94,38 18,38 LOC 56,26 PICTS 2,0,0 ENDPICTS ENDDOOR DOOR ID 3 DONTMOVEHERE DEST 999 OUTLINE 419,14 495,14 495,37 419,37 LOC 457,25 PICTS 3,0,0 ENDPICTS ENDDOOR ENDROOM