BASIC Elemental
From TheKolWiki
BASIC Elemental | |
---|---|
Monster ID | 87 |
Locations | Menagerie Level 1 |
Hit Points | 40 |
Attack | 50 |
Defense | 45 |
No-Hit | 60 |
Initiative | 60 |
Meat | None |
Phylum | elemental |
Elements | None |
Resistance | None |
Monster Parts | head, arm, leg, subroutine, torso |
Manuel Entry | |
refreshedit data |
10 PRINT "YOU'RE GOING TO DIE, PUNY ADVENTURER!"
20 GOTO 10
Hit Message(s):
It GOTOs you in the <face>. Eek! Ow! Ouch!
FOR X = 1 TO 5
PRINT "PUNCH!"
NEXT X Argh! Ouch! Ooh!
INPUT "What is your name"; UserName$; PRINT "Sizable soupcon of pain"; UserName$ Ooh! Ow! Eek!
It tries to GOTO you in the <bung>, but misses.
The BASIC Elemental tries to punch you in the <solar plexus>, but it gets stuck in an infinite loop and can't proceed.
B124 Label "asswhup" has literal subscripts out of range. (FUMBLE!)
![]() | You acquire an item: GOTO (30% chance)* |
You gain 12-13 <substat>. |
Occurs at Menagerie Level 1.
Notes
- Attacks by this monster are rumored to possibly give the Infinite Loop status effect.
References
- The BASIC program in the adventure text produces an infinite loop, printing "YOU'RE GOING TO DIE, PUNY ADVENTURER!" repeatedly.
- The basic elements making up the image of the BASIC Elemental are a few lines of a simple but better-behaved BASIC program.
- 10 CLS
- 20 PRINT "HELLO WORLD!"
- 30 FOR X = 1 TO 2
- 40 NEXT X
- 60 END
- This program, if actually entered into a BASIC compiler or interpreter and run, would clear the screen, print "HELLO WORLD", pause for a brief instant (long enough for the computer to count from 1 to 2), then end. (Note that the "CLS" command will only work in some versions of BASIC. In others, this program will just result in a syntax error on line 10 and immediately stop)
- "Hello World!" is traditionally the program used to demonstrate to students the basics of the language and how to use its compiler or interpreter.
- One of the attack messages is another small BASIC program:
- FOR X = 1 TO 5
- PRINT "PUNCH!"
- NEXT X
- If run, this program would print out
- PUNCH!
- PUNCH!
- PUNCH!
- PUNCH!
- PUNCH!
- Note that depending on the BASIC version used, it may need line numbers to run correctly.