297IFJ>WTHEN?"YOU DON'T HAVE THAT MUCH CASH.":GOTO296
298IFK=2THENGOTO301
299IFJ<0THEN?"YOU TRIED TO ROB THE BANK, BUT BARELY":?"MADE IT OUT WITH NOTHING.":AD=AD+3:GOSUB24:GOTO65
300
301E=E+J:W=W-J:?:?"THANK YOU FOR YOUR DEPOSIT.":GOSUB24:GOTO65
302
303?:INPUT"HOW MUCH?";J
304IFJ<0THEN?"TRY MAKING A DEPOSIT.":GOSUB24:GOTO135
305IFJ>ETHEN?"YOU DON'T HAVE SUFFICIENT FUNDS.":GOTO303
306E=E-J:W=W+J:?:?"THANK YOU FOR YOUR BUSINESS.":GOSUB24:GOTO65
307
308HOME:VTAB2:HTAB10:?"WELCOME TO DRUGWAR//E":HTAB14:?"VERSION ";RV:VTAB8:HTAB3:?"BASED ON THE CLASSIC TI-BASIC CLONE":HTAB2:?"OF JOHN E. DELL'S 1984 IBM/TRS80 GAME.":VTAB12:HTAB6:?"APPLESOFT VERSION BY:JAY MOORE"
309VTAB19:INPUT"WOULD YOU LIKE INSTRUCTIONS? (Y/N):";X$:J=RND(-1*(PEEK(78)+256*PEEK(79))):IFX$="Y"THENGOTO312
310GOTO63
311
312HOME:?:?"THIS IS A GAME OF BUYING AND SELLING.":?"YOUR GOAL IS TO PAY OFF YOUR DEBT AND":?"MAKE AS MUCH MONEY AS POSSIBLE IN A ONE":?"MONTH PERIOD. PRICES FLUCTUATE EVERY DAYAND INTEREST ON YOUR LOAN IS CALCULATED AS WELL."
313?:?"IF YOU DEAL TOO HEAVILY, YOU'LL ATTRACT THE ATTENTION OF THE POLICE.":?:?"COMMANDS ARE ENTERED USING THE LETTER HIGHLIGHTED (L)IKE (S)O. Y IS YES AND ANYTHING COUNTS AS NO.":GOSUB6:GOTO63
314
315HOME:HTAB8:VTAB10:?"PUT A QUARTER IN YOUR ASS":GOSUB22:HTAB7:?"'CAUSE YOU PLAYED YOURSELF!":GOSUB24:GOSUB24:VTAB19:HTAB11:?"DON'T CHEAT SO MUCH.":GOSUB24:GOSUB24:GOSUB24:CLEAR:END
316
317GOSUB4:INVERSE:GOSUB8:?"SMOKE WEED":NORMAL:SPEED=50:?"YOU HALLUCINATE ON THE WILDEST TRIP":?"OF YOUR LIFE, STUMBLE ON TO THE TRACKS,":?"AND GET CREAMED BY A TRAIN!":?:?
318HTAB10:?"JUST SAY NO TO DRUGS!":SPEED=255:GOSUB24:GOSUB22:GOTO324
319
320GOSUB4:GOSUB59:GOSUB46:?:?"YOUR SCORE ON A SCALE OF 1 TO 100:";K:?
321INPUT"WOULD YOU LIKE TO PLAY AGAIN? (Y/N)";X$:IFX$="Y"THENGOTO63
322?"THANKS FOR PLAYING.":?"
323
324GOSUB4:GOSUB46:?:SPEED=50:?"YOU DIED FROM SMOKING WEED.":?:?:GOSUB24:?"SEE? GAMES ARE TOTALLY FAKE.":SPEED=255:?:INPUT"WOULD YOU LIKE TO PLAY AGAIN?";X$:IFX$="Y"THENGOTO63
325CLEAR:END
326REM DRUGWAR//E - VERSION 1.05
327REM 5-NOV-2018
328REM COPYRIGHT 2018 JAY MOORE
330REM GITLAB.COM/DEWDUDE/DRUGWAR2E
331REM TWITTER: _NQ4T
187?:?"WELCOME TO ";P$:?:GOSUB24:GOTO65
188
189?"RIVAL DEALERS ARE SELLING CHEAP LUDES!":L=2:GOSUB24:GOTO65
190
191?"WEED PRICES HAVE BOTTOMED-OUT!":Z=122:GOSUB24:GOTO65
192
193?"PIGS ARE SELLING CHEAP HEROIN":?"FROM LAST WEEK'S RAID!":H=INT((RND(1)*1150)+850.5):GOSUB24:GOTO65
194
195?"ADDICTS ARE BUYING HEROIN":?"AT OUTRAGEOUS PRICES!":H=INT((RND(1)*25000)+18000.5):GOSUB24:GOTO65
196
197?"PIGS MADE A BIG COKE BUST!":?"PRICES ARE OUTRAGEOUS!!!!":C=INT((RND(1)*60000)+80000.5):GOSUB24:GOTO65
198
199?"YOU GOT MUGGED!":?:J=INT((W/3)*2):?"YOU LOST $";W-J:W=W-J:GOSUB24:GOTO65
200
201GOSUB42:IFF<I/2THENGOTO187
202IFB=9THENB=2
203IFB=10THENB=4
204IFB=11THENB=5
205?"IT'S THE COPS!":?:?"OFFICER HARDASS AND ";B-1;"OF HIS":?"DEPUTIES ARE AFTER YOU!":?:GOSUB24:GOTO207
206
207GOSUB4:GOSUB44:?:?:?"VIEW (G)UNS":?"VIEW (D)AMAGE":?"(N)UMBER OF PIGS":?"(R)UN":?"(F)IGHT":?
208INPUT"WHAT DO YOU WANT TO DO?";X$
209IFX$="G"GOTO216
210IFX$="D"GOTO218
211IFX$="N"GOTO220
212IFX$="R"GOTO222
213IFX$="F"GOTO225
214GOTO207
215
216GOSUB4:GOSUB44:?:?:?"YOU HAVE ";G;"GUNS.:?:GOSUB6:GOTO207
217
218GOSUB4:GOSUB44:?:?:?"YOUR HEALTH IS ";BB;".":?:?"0 AND YOU DIE!":?:GOSUB6:GOTO207
219
220GOSUB4:GOSUB44:?:?:?"THERE ARE ";B;"PIGS STILL CHASING YOU!":?:?:GOSUB6:GOTO207
221
222GOSUB4:GOSUB44:?:?:?"RUNNING...":GOSUB20:IFK=0THEN?"YOU LOST THEM IN AN ALLEY!":GOSUB24:GOTO65
223?"YOU CAN'T SHAKE THEM!":?:GOTO232
224
225IFG<=0THEN?:?:?"YOU DON'T HAVE ANY GUNS!":GOSUB6:GOTO207
226GOSUB4:GOSUB44
227?:?"YOU SHOOT!":GOSUB20:IFK=0THENGOTO230
228?"YOU GOT ONE!":B=B-1:GOTO232
229
230?"YOU MISSED!"
231
232?:?:IFB<=0THENGOTO243
233GOSUB22:?"THEY'RE FIRING AT YOU!":GOSUB20:IFK=0THENGOTO237
234?"YOU'VE BEEN HIT!":BB=BB-6:IFBB>=0GOTO241
235GOTO239
236
237?"THEY MISSED!"
238
239GOSUB20:GOTO207
240
241?:?"YOU'VE BEEN KILLED!":GOSUB6:GOTO319
242
243?"YOU KILLED ALL OF THEM!":?:GOSUB20
244J=INT(((RND(1)*1250)+750)+.5):W=W+J
245?"YOU FOUND $";J;"ON OFFICER HARDASS'"
246?"CARCASS!"
247IFW>=1200THENGOTO250
248GOTO65
249
250GOSUB24:?:?"WILL YOU PAY $1000 FOR A DOCTOR":INPUT"TO SEW YOU UP? (Y/N)";X$
251IFX$<>"Y"THENGOTO65
252W=W-1000:BB=100:GOTO65
253
254IFW<500THENGOTO187:GOSUB42:IFF<5THENGOTO187
255J=INT((RND(1)*2)+.5)
256IFJ=0THENY$="BARETTA"
257IFJ=1THENY$="SATURDAY NIGHT SPECIAL"
258IFJ=2THENY$=".44 MAGNUM"
259?"WILL YOU BUY A ";Y$:INPUT"FOR $400? (Y/N)";X$:IFX$<>"Y"THENGOTO65
260G=G+1:W=W-400:GOTO65
261
262?"THERE'S SOME WEED HERE THAT SMELLS":?"LIKE GOOD STUFF!!":?:INPUT"WILL YOU SMOKE IT? (Y/N)";X$
263IFX$="Y"THENGOTO316
264GOTO65
265
266IFW<300THENGOTO187
267?"WILL YOU BUY A NEW TRENCHCOAT":INPUT"WITH MORE POCKETS FOR $200? (Y/N)";X$
268IFX$<>"Y"THENGOTO65
269I=I+10:W=W-200:GOTO65
270
271GOSUB42
272IFF<8THENGOTO187
273J=INT((RND(1)*7)+1.5):K=INT(RND(1)*5+.5)
274IFK=0THENQ=Q+J:Y$="LUDES"
275IFK=1THENT=T+J:Y$="SPEED"
276IFK=2THENU=U+J:Y$="WEED"
277IFK=3THENO=O+J:Y$="ACID"
278IFK=4THENN=N+J:Y$="HEROIN"
279IFK=5THENM=M+J:Y$="COKE"
280?"YOU FOUND "J"UNITS OF "Y$:?"ON A DEAD DUDE IN THE SUBWAY!":?:GOSUB24:GOTO65
281
282?"THE MARKET HAS BEEN FLOODED":?"WITH CHEAP HOME-MADE ACID!":A=INT((RND(1)*550)+250.5):GOSUB24:GOTO65
283
284INPUT"REPAY HOW MUCH?";K:IFK=0THEN?"GET OUT OF HERE, LOSER!":GOSUB22:GOTO65
285IFK>WTHEN?:?"YOU DON'T HAVE THAT MUCH!":GOSUB22:GOTO129
286IFK>VTHEN?:?"YOU DON'T OWE THAT MUCH!":GOSUB22:GOTO129
287W=W-K:V=V-K:?:?"THANK YOU.":GOSUB24:GOTO65
288
289?:J=INT((RND(1)*10000)+4000):INPUT"HOW MUCH DO YOU WANT?";K:?:IFK=0GOTO65
290IFK<0THEN?"TRYING TO CHEAT? DOUBLE DEBT!":AD=AD+3:V=V*2:GOSUB24:GOSUB52:GOTO65
291IFK>14000THEN?"HE'S NOT THAT STUPID!":GOSUB24:GOTO65
292IFK>JTHEN?"HE DOESN'T FEEL LIKE IT.":GOSUB22:GOTO65
296IFJ>WTHEN?"YOU DON'T HAVE THAT MUCH CASH.":GOTO295
297IFK=2THENGOTO300
298IFJ<0THEN?"YOU TRIED TO ROB THE BANK, BUT BARELY":?"MADE IT OUT WITH NOTHING.":AD=AD+3:GOSUB24:GOTO65
299
300E=E+J:W=W-J:?:?"THANK YOU FOR YOUR DEPOSIT.":GOSUB24:GOTO65
301
302?:INPUT"HOW MUCH?";J
303IFJ<0THEN?"TRY MAKING A DEPOSIT.":GOSUB24:GOTO135
304IFJ>ETHEN?"YOU DON'T HAVE SUFFICIENT FUNDS.":GOTO302
305E=E-J:W=W+J:?:?"THANK YOU FOR YOUR BUSINESS.":GOSUB24:GOTO65
306
307HOME:VTAB2:HTAB10:?"WELCOME TO DRUGWAR//E":HTAB14:?"VERSION ";RV:VTAB8:HTAB3:?"BASED ON THE CLASSIC TI-BASIC CLONE":HTAB2:?"OF JOHN E. DELL'S 1984 IBM/TRS80 GAME.":VTAB12:HTAB6:?"APPLESOFT VERSION BY:JAY MOORE"
308VTAB19:INPUT"WOULD YOU LIKE INSTRUCTIONS? (Y/N):";X$:J=RND(-1*(PEEK(78)+256*PEEK(79))):IFX$="Y"THENGOTO311
309GOTO63
310
311HOME:?:?"THIS IS A GAME OF BUYING AND SELLING.":?"YOUR GOAL IS TO PAY OFF YOUR DEBT AND":?"MAKE AS MUCH MONEY AS POSSIBLE IN A ONE":?"MONTH PERIOD. PRICES FLUCTUATE EVERY DAYAND INTEREST ON YOUR LOAN IS CALCULATED AS WELL."
312?:?"IF YOU DEAL TOO HEAVILY, YOU'LL ATTRACT THE ATTENTION OF THE POLICE.":?:?"COMMANDS ARE ENTERED USING THE LETTER HIGHLIGHTED (L)IKE (S)O. Y IS YES AND ANYTHING COUNTS AS NO.":GOSUB6:GOTO63
313
314HOME:HTAB8:VTAB10:?"PUT A QUARTER IN YOUR ASS":GOSUB22:HTAB7:?"'CAUSE YOU PLAYED YOURSELF!":GOSUB24:GOSUB24:VTAB19:HTAB11:?"DON'T CHEAT SO MUCH.":GOSUB24:GOSUB24:GOSUB24:CLEAR:END
315
316GOSUB4:INVERSE:GOSUB8:?"SMOKE WEED":NORMAL:SPEED=50:?"YOU HALLUCINATE ON THE WILDEST TRIP":?"OF YOUR LIFE, STUMBLE ON TO THE TRACKS,":?"AND GET CREAMED BY A TRAIN!":?:?
317HTAB10:?"JUST SAY NO TO DRUGS!":SPEED=255:GOSUB24:GOSUB22:GOTO323
318
319GOSUB4:GOSUB59:GOSUB46:?:?"YOUR SCORE ON A SCALE OF 1 TO 100:";K:?
320INPUT"WOULD YOU LIKE TO PLAY AGAIN? (Y/N)";X$:IFX$="Y"THENGOTO63
321?"THANKS FOR PLAYING.":?"
322
323GOSUB4:GOSUB46:?:SPEED=50:?"YOU DIED FROM SMOKING WEED.":?:?:GOSUB24:?"SEE? GAMES ARE TOTALLY FAKE.":SPEED=255:?:INPUT"WOULD YOU LIKE TO PLAY AGAIN?";X$:IFX$="Y"THENGOTO63