//********************
//********************
//********************
//********************
//********************
//******ATM CODE******
//********************
//********************
//********************
//********************
//********************

/*
===Acct#s & PINs===

==Playable==
Duke Nukem: 				132995 & 3110 (ID: 1)				[added]
Jack Walker: 			164702 & 7585 (ID: 2)				[added]
Bubsy Bobcat: 			171792 & 1310 (ID: 3)				[added]
Ami Mizuno: 				789152 & 4125 (ID: 4)				[added]
Higa Hakaisha: 			171396 & 9254 (ID: 5)				[added]
ESSence Margalan: 			218479 & 4196 (ID: 6)				[added]
Ted Maldoras: 			195382 & 3735 (ID: 7)				[added]
Lisa Bates: 				475394 & 8214 (ID: 8)				[added]
Cybanis Morgandos: 			363851 & 5288 (ID: 9)				[added]
Christina Mitchell: 		963246 & 1256 (ID: 10)				[added]
Paula Polestar: 			180194 & 5007 (ID: 11)				[added]
Lori Stephens: 			638192 & 6392 (ID: 12)				[added]
Minako Aino: 			512560 & 1895 (ID: 13)				[added]
"Mystery Lady": 			198255 & 7364 (ID: 14)				[added]
Maken Shinkara: 			918372 & 7873 (ID: 15)				[added]	

==Non-Playable==
Pres. Bill Clinton:			132092 & 1310 (ID: 257) [Good]			[added]
Vice Pres. Al Gore: 		890143 & 9613 (ID: 258) [Good]			[added]
George Broussard [3DR]: 		436743 & 5464 (ID: 259) [Good]			[added]
Stephen Hornback [3DR]: 		787953 & 9277 (ID: 260) [Good]			[added]
Jim Norwood [3DR]: 			636223 & 1987 (ID: 261) [Good]			[added]
Frank Maddin [3DR]: 		742369 & 1993 (ID: 262) [Good]			[added]
Stephen Cole [3DR]: 		569264 & 6532 (ID: 263) [Good]			[added]
Lani Minella [VOA]: 		472669 & 1996 (ID: 264) [Good]			[added]
Joe Siegler [3DR]: 			122994 & 2035 (ID: 265) [Good]			[added]
Lee Jackson [3DR]: 			782548 & 3696 (ID: 266) [Good]			[added]
Chuck Jones [3DR]: 			385333 & 7688 (ID: 267) [Good]			[added]
Keith Schuler [3DR]: 		724264 & 1991 (ID: 268) [Good]			[added]
Randy Pitchford II [3DR]: 		388256 & 4327 (ID: 269) [Good]			[added]
Brian Martel [3DR]: 		267337 & 5263 (ID: 270) [Good]			[added]
Snake Plissken: 			372273 & 3766 (ID: 271) [Good]			[added]
Indiana Jones: 			768439 & 4639 (ID: 272) [Good]			[added]
Gen. Phil Graves [EDF]: 		249453 & 8279 (ID: 273) [Good]			[added]
Donald Harrison [EDF]: 		559294 & 1891 (ID: 274) [Good]			[added]
Cameron Bates [EDF]: 		475137 & 8723 (ID: 275) [Good]			[added]
Kasey Shinkara [EDF]: 		916821 & 8784 (ID: 276) [Good]			[added]
Victoria Bates [NPC]: 		474241 & 5472 (ID: 277) [Good]			[added]
Harold Bates [NPC]: 		473744 & 4737 (ID: 278) [Good]			[added]
John R. Blade [NPC]: 		010345 & 2019 (ID: 279) [Joke Cameo-Good]		[added]
Elexis Sinclaire [NPC]: 		010333 & 6969 (ID: 280) [Joke Cameo-Evil]		[added]
Jerold Bates [NPC]:		 	473745 & 7473 (ID: 281) [Good]			[added]
Ness Itoi [NPC]: 			181595 & 4864 (ID: 282) [Good]			[added]
Veronnica Herrera [NPC]: 		927487 & 8376 (ID: 283) [Staff Cameo-Good]	[added]
"Jason Monroe" [NPC]: 		022357 & 1089 (ID: 284) [Staff Cameo-Good]	[added]
Sean Gauthier [NPC]: 		486657 & 2316 (ID: 285) [Staff Cameo-Good]	[added]
Daniel Gaskill [NPC]: 			333737 & 3264 (ID: 286) [Cameo-Good]		[added]
William Gee [NPC]: 			732567 & 9472 (ID: 287) [Cameo-Good]		[added]
James Stanfield [NPC]: 		040987 & 1801 (ID: 288) [Cameo-Good]		[added]
Richard Gobeille [NPC]: 		131072 & 4096 (ID: 289) [Cameo-Good]		[added]
Pierre-Loup Griffais [NPC]: 	262144 & 2048 (ID: 290) [Cameo-Good]		[added]
Johnathon Fowler [NPC]: 		065536 & 1024 (ID: 291) [Cameo-Good]		[added]
Matt Saettler [NPC]: 		524288 & 8192 (ID: 292) [Cameo-Good]		[added]
David Wolfe [NPC]: 			328436 & 7372 (ID: 293) [Staff Cameo-Good]	[added]
Chantelle Sundeen [NPC]:		646256 & 2466 (ID: 294) [Staff Cameo-Good]	[added]
Callum Sanderson [NPC]:		666482 & 4642 (ID: 295) [Cameo-Good]		[added]
Ian Burton [NPC]:			825332 & 9376 (ID: 296) [Cameo-Good]		[added]
Daniel Lazar [NPC]:			359941 & 4598 (ID: 297) [Cameo-Good]		[added]
Merlijn Van Oostrum [NPC]:		140884 & 2012 (ID: 298) [Cameo-Good]		[added]
Maarten Van Oostrum [NPC]:		666208 & 6766 (ID: 299) [Cameo-Good]		[added]
Cody Dowdle [NPC]:			382382 & 4821 (ID: 300) [Cameo-Good]		[added]
Samuel Lawson [NPC]:		290400 & 1442 (ID: 301) [Staff Cameo-Good]	[added]
Edward Maldoras [NPC]:		656371 & 9437 (ID: 302) [Good]			[added]
Jennifer Maldoras [NPC]:		656374 & 6365 (ID: 303) [Good]			[added]
Todd Shinkara [NPC]:		645933 & 3728 (ID: 304) [Good]			[added]
Rachel Shinkara [NPC]:		645931 & 8902 (ID: 305) [Good]			[added]
Dave Walker [NPC]:			442795 & 6127 (ID: 306) [Good]			[added]
Edwina Walker [NPC]:		577216 & 5972 (ID: 307) [Good]			[added]
Daisy Davis [NPC]:			132996 & 3101 (ID: 308) [Good]			[added]
Duke Davis Sr. [NPC]:		272957 & 3853 (ID: 309) [Good]			[added]
Francine Davis [NPC]:		102464 & 3762 (ID: 310) [Good]			[added]
Yahnzee Tyrell [NPC]:		578341 & 9871 (ID: 311) [Neutral]			[added]
Matei Hakaisha [NPC]:		372466 & 8946 (ID: 312) [Evil]			[added]
Tensi-Yoko Hakaisha [NPC]:		669264 & 2922 (ID: 313) [Good]			[added]
Usagi Tsukino [NPC]:		297581 & 9999 (ID: 314) [Good]			[added]
Rei Hino [NPC]:			194882 & 5905 (ID: 315) [Good]			[added]
Makoto Kino [NPC]:			105526 & 3454 (ID: 316) [Good]			[added]
Torian Stevens [NPC]:		119358 & 7664 (ID: 317) [Good]			[added]
Kristen Morrison [NPC]:		481692 & 6553 (ID: 318) [Good]			[added]
Larry Cameron [NPC]:		373718 & 9776 (ID: 319) [Good]			[added]
Anthony Reimos [NPC]:		290406 & 2963 (ID: 320) [Good]			[added]
Katrina Anderson [NPC]:		562584 & 4885 (ID: 321) [Good]			[added]
Terrance Bobcat [NPC]:		837373 & 3859 (ID: 322) [Good]			[added]
Teresa Bobcat [NPC]:		837372 & 5893 (ID: 323) [Good]			[added]
Victor Elecmire [NPC]:		060191 & 1997 (ID: 324) [Evil]			[added]
William Blazkowicz II [NPC]:	301040 & 6335 (ID: 325) [Cameo-Good]		[added]
Mortimer McMire [NPC]:		301050 & 8766 (ID: 326) [Cameo-SemiEvil]		[added]
Molly McMire [NPC]:			428350 & 1991 (ID: 327) [Cameo-Good]		[added]
Merilyn Bates [NPC]:	 	474312 & 8387 (ID: 328) [Good]			[added]
Jesus Medina [NPC]:	 		239647 & 3490 (ID: 329) [Good]			[added]
Marcus Collier [NPC]:	 	627276 & 7631 (ID: 330) [Good]			[added]
Larry Huggins [NPC]:	 	360744 & 9256 (ID: 331) [Good]			[added]
Glenn Cox [NPC]:	 		282488 & 2889 (ID: 332) [Good]			[added]
Darius Jefferies [NPC]:	 	942285 & 7422 (ID: 333) [Good]			[added]
Ramone Deggaris [NPC]:	 	751072 & 3731 (ID: 334) [Evil]			[added]
Dillard L. Blake [NPC]: 		162598 & 1077 (ID: 335) [Evil]			[added]
Tankanori Zilla [NPC]: 		845423 & 4455 (ID: 336) [Evil]			[added]
Natsuken Zilla [NPC]: 		324731 & 7743 (ID: 337) [Evil]			[added]
Caleb Valiant [NPC]:		889154 & 9728 (ID: 338) [Cameo-SemiEvil]		[added]
"John Robert Foster" [NPC]:	537369 & 2143 (ID: 339) [Cameo-Good]		[added]
Ion Zerman [NPC]: 			178935 & 9385 (ID: 340) [SemiEvil]			[added]
Kenneth Fertang [NPC]: 		938457 & 1537 (ID: 341) [SemiEvil]			[added]
Quenton Stephens [NPC]:		027964 & 6407 (ID: 342) [Good]			[added]


*/

state displayaccountvalue
  redefinequote 332 Your account: $0000000000.00
  ifvarg TEMPDOLLARS -1
  ifvarl TEMPDOLLARS 10
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $000000000%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $000000000%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 9
  ifvarl TEMPDOLLARS 100
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $00000000%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $00000000%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 99
  ifvarl TEMPDOLLARS 1000
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $0000000%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $0000000%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 999
  ifvarl TEMPDOLLARS 10000
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $000000%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $000000%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 9999
  ifvarl TEMPDOLLARS 100000
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $00000%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $00000%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 99999
  ifvarl TEMPDOLLARS 1000000
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $0000%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $0000%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 999999
  ifvarl TEMPDOLLARS 10000000
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $000%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $000%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 9999999
  ifvarl TEMPDOLLARS 100000000
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $00%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $00%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 99999999
  ifvarl TEMPDOLLARS 1000000000
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $0%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $0%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
  else
  ifvarg TEMPDOLLARS 999999999
  ifvarl TEMPDOLLARS 2147483647
  {
   ifvarg TEMPCENTS -1
   ifvarl TEMPCENTS 10
   {
    redefinequote 2002 Your account: $%ld.0%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
   else
   {
    redefinequote 2002 Your account: $%ld.%ld
    qsprintf 332 2002 TEMPDOLLARS TEMPCENTS
   }
  }
ends

state checkinterestrates
  ifvare atm_acctnum 132995 // Duke
  {
   setvar CHARACTERARRAY 1
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare DUKE? 1 state stockownership_check
  }   
  ifvare atm_acctnum 164702 // Jack
  {
   setvar CHARACTERARRAY 2
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare JACK? 1 state stockownership_check
  }   
  ifvare atm_acctnum 171792 // Bubsy
  {
   setvar CHARACTERARRAY 3
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare BUBSY? 1 state stockownership_check
  }   
  ifvare atm_acctnum 789152 // Ami
  {
   setvar CHARACTERARRAY 4
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare AMI? 1 state stockownership_check
  }   
  ifvare atm_acctnum 171396 // Higa
  {
   setvar CHARACTERARRAY 5
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare LOWANG? 1 state stockownership_check
  }   
  ifvare atm_acctnum 218479 // ESSence
  {
   setvar CHARACTERARRAY 6
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare ESSENCE? 1 state stockownership_check
  }   
  ifvare atm_acctnum 195382 // Ted
  {
   setvar CHARACTERARRAY 7
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare TED? 1 state stockownership_check
  }   
  ifvare atm_acctnum 475394 // Lisa
  {
   setvar CHARACTERARRAY 8
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare LISA? 1 state stockownership_check
  }   
  ifvare atm_acctnum 363851 // Cybanis
  {
   setvar CHARACTERARRAY 9
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare CYBANIS? 1 state stockownership_check
  }   
  ifvare atm_acctnum 963246 // Christina/Nethra
  {
   setvar CHARACTERARRAY 10
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare NETHRA? 1 state stockownership_check
  }   
  ifvare atm_acctnum 180194 // Paula
  {
   setvar CHARACTERARRAY 11
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare PAULA? 1 state stockownership_check
  }   
  ifvare atm_acctnum 638192 // Lori
  {
   setvar CHARACTERARRAY 12
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare LORI? 1 state stockownership_check
  }   
  ifvare atm_acctnum 512560 // Minako
  {
   setvar CHARACTERARRAY 13
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare MINAKO? 1 state stockownership_check
  }   
  ifvare atm_acctnum 198255 // "Mystery Lady"
  {
   setvar CHARACTERARRAY 14
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare MYSTERY1? 1 state stockownership_check
  }   
  ifvare atm_acctnum 918372 // Maken
  {
   setvar CHARACTERARRAY 15
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
   ifvare MAKEN? 1 state stockownership_check
  }   
//
  ifvare atm_acctnum 132092 // President Clinton (NPC)
  {
   setvar CHARACTERARRAY 257
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 890143 // Vice-President Gore (NPC)
  {
   setvar CHARACTERARRAY 258
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 436743 // George Broussard [3DR]
  {
   setvar CHARACTERARRAY 259
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 787953 // Stephen Hornback [3DR]
  {
   setvar CHARACTERARRAY 260
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 636223 // Jim Norwood [3DR]
  {
   setvar CHARACTERARRAY 261
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 742369 // Frank Maddin [3DR]
  {
   setvar CHARACTERARRAY 262
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 569264 // Stephen Cole [3DR]
  {
   setvar CHARACTERARRAY 263
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 472669 // Lani Minella [VOA]
  {
   setvar CHARACTERARRAY 264
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 122994 // Joe Siegler [3DR]
  {
   setvar CHARACTERARRAY 265
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 782548 // Lee Jackson [3DR]
  {
   setvar CHARACTERARRAY 266
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 385333 // Chuck Jones [3DR]
  {
   setvar CHARACTERARRAY 267
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 724264 // Keith Schuler [3DR]
  {
   setvar CHARACTERARRAY 268
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 388256 // Randy Pitchford II [3DR]
  {
   setvar CHARACTERARRAY 269
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 267337 // Brian Martel [3DR]
  {
   setvar CHARACTERARRAY 270
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 372273 // Snake Plissken [Cameo]
  {
   setvar CHARACTERARRAY 271
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 768439 // Indiana Jones [3DR]
  {
   setvar CHARACTERARRAY 272
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 249453 // Phil Graves [3DR]
  {
   setvar CHARACTERARRAY 273
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 559294 // Donald Harrison [3DR]
  {
   setvar CHARACTERARRAY 274
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 475137 // Cameron Bates (NPC)
  {
   setvar CHARACTERARRAY 275
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 916821 // Kasey Shinkara (NPC)
  {
   setvar CHARACTERARRAY 276
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 474241 // Victoria Bates (NPC)
  {
   setvar CHARACTERARRAY 277
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 473744 // Harold Bates (NPC)
  {
   setvar CHARACTERARRAY 278
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 10345 // John R. Blade [Cameo]
  {
   setvar CHARACTERARRAY 279
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 10333 // Elexis Sinclaire [Cameo]
  {
   setvar CHARACTERARRAY 280
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 473745 // Jerold Bates (NPC)
  {
   setvar CHARACTERARRAY 281
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 181595 // Ness Itoi (NPC)
  {
   setvar CHARACTERARRAY 282
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 927487 // Veronnica Herrera (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 283
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 22357 // "Jason Monroe" (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 284
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 486652 // Sean Gauthier (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 285
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 333737 // Daniel Gaskill (Cameo NPC)
  {
   setvar CHARACTERARRAY 286
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 732567 // William Gee (Cameo NPC)
  {
   setvar CHARACTERARRAY 287
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 40987 // James Stanfield (Cameo NPC)
  {
   setvar CHARACTERARRAY 288
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 131072 // Richard Gobeille (Cameo NPC)
  {

   setvar CHARACTERARRAY 289
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 262144 // Pierre-Loup Griffais (Cameo NPC)
  {
   setvar CHARACTERARRAY 290
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 65536 // Johnathon Fowler (Cameo NPC)
  {
   setvar CHARACTERARRAY 291
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 524288 // Matt Saettler (Cameo NPC)
  {
   setvar CHARACTERARRAY 292
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 328436 // David Wolfe (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 293
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 646256 // Chantelle Sundeen (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 294
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 666482 // Callum Sanderson (Cameo NPC)
  {
   setvar CHARACTERARRAY 295
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 825332 // Ian Burton (Cameo NPC)
  {
   setvar CHARACTERARRAY 296
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 359941 // Daniel Lazar (Cameo NPC)
  {
   setvar CHARACTERARRAY 297
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 140884 // Merlijn Van Oostrum (Cameo NPC)
  {
   setvar CHARACTERARRAY 298
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 666208 // Maarten Van Oostrum (Cameo NPC)
  {
   setvar CHARACTERARRAY 299
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 382382 // Cody Dowdle (Cameo NPC)
  {
   setvar CHARACTERARRAY 300
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 290400 // Samuel Lawson (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 301
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 656371 // Edward Maldoras (NPC)
  {
   setvar CHARACTERARRAY 302
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 656374 // Jennifer Maldoras (NPC)
  {
   setvar CHARACTERARRAY 303
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 645933 // Todd Shinkara (NPC)
  {
   setvar CHARACTERARRAY 304
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 645931 // Rachel Shinkara (NPC)
  {
   setvar CHARACTERARRAY 305
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 442795 // David Walker (NPC)
  {
   setvar CHARACTERARRAY 306
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 577216 // Edwina Walker (NPC)
  {
   setvar CHARACTERARRAY 307
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 132996 // Daisy Davis (NPC)
  {
   setvar CHARACTERARRAY 308
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 272957 // Duke Davis Sr. (NPC)
  {
   setvar CHARACTERARRAY 309
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 102464 // Francine Davis (NPC)
  {
   setvar CHARACTERARRAY 310
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 578341 // Yahnzee Tyrell (NPC)
  {
   setvar CHARACTERARRAY 311
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 372466 // Matei Hakaisha (NPC)
  {
   setvar CHARACTERARRAY 312
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 669264 // Tensi-Yoko Hakaisha (NPC)
  {
   setvar CHARACTERARRAY 313
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 297581 // Usagi Tsukino (NPC)
  {
   setvar CHARACTERARRAY 314
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 194882 // Rei Hino (NPC)
  {
   setvar CHARACTERARRAY 315
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 105526 // Makoto Kino (NPC)
  {
   setvar CHARACTERARRAY 316
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 119358 // Torian Stevens (NPC)
  {
   setvar CHARACTERARRAY 317
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 481692 // Kristen Morrison (NPC)
  {
   setvar CHARACTERARRAY 318
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 373718 // Larry Cameron (NPC)
  {
   setvar CHARACTERARRAY 319
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 290406 // Anthony Reimos (NPC)
  {
   setvar CHARACTERARRAY 320
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 562584 // Katrina Anderson (NPC)
  {
   setvar CHARACTERARRAY 321
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 837373 // Terrance Bobcat (NPC)
  {
   setvar CHARACTERARRAY 322
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 837372 // Teresa Bobcat (NPC)
  {
   setvar CHARACTERARRAY 323
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 60191 // Victor Elecmire (NPC)
  {
   setvar CHARACTERARRAY 324
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 301040 // William Blazkowicz II (NPC)
  {
   setvar CHARACTERARRAY 325
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 301050 // Mortimer McMire (NPC)
  {
   setvar CHARACTERARRAY 326
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 428350 // Molly McMire (NPC)
  {
   setvar CHARACTERARRAY 327
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 474312 // Merilyn Bates (NPC)
  {
   setvar CHARACTERARRAY 328
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 239647 // Jesus Medina (NPC)
  {
   setvar CHARACTERARRAY 329
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 627276 // Marcus Collier (NPC)
  {
   setvar CHARACTERARRAY 330
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 360744 // Larry Huggins (NPC)
  {
   setvar CHARACTERARRAY 331
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 282488 // Glenn Cox (NPC)
  {
   setvar CHARACTERARRAY 332
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 942285 // Darius Jefferies (NPC)
  {
   setvar CHARACTERARRAY 333
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 751072 // Ramone Deggaris (NPC)
  {
   setvar CHARACTERARRAY 334
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 162598 // Dillard L. Blake (NPC)
  {
   setvar CHARACTERARRAY 335
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 845423 // Tankanori Zilla (NPC)
  {
   setvar CHARACTERARRAY 336
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 324731 // Natsuken Zilla (NPC)
  {
   setvar CHARACTERARRAY 337
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 889154 // Caleb Valiant (NPC)
  {
   setvar CHARACTERARRAY 338
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 537369 // "John Robert Foster" (NPC)
  {
   setvar CHARACTERARRAY 339
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 178935 // Ion Zerman (NPC)
  {
   setvar CHARACTERARRAY 340
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 938457 // Kenneth Fertang (NPC)
  {
   setvar CHARACTERARRAY 341
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
  ifvare atm_acctnum 27964 // Quenton Stephens (NPC)
  {
   setvar CHARACTERARRAY 342
   getactorvar[CHARACTERARRAY].CHARACTERATMINTERESTRATE TEMP7
  }   
//
ends

  state getatmdollarcents
   getactorvar[CHARACTERARRAY].CHARACTERATMMONEYDOLLARS TEMPDOLLARS
   getactorvar[CHARACTERARRAY].CHARACTERATMMONEYCENTS TEMPCENTS
  ends

state checkdollarcents
  // Defaults to 0/0 unless an acctnum matches below
  setvar TEMPDOLLARS 0
  setvar TEMPCENTS 0

  ifvare atm_acctnum 132995 // Duke
  {
   setvar CHARACTERARRAY 1
   state getatmdollarcents
  }   
  ifvare atm_acctnum 164702 // Jack
  {
   setvar CHARACTERARRAY 2
   state getatmdollarcents
  }   
  ifvare atm_acctnum 171792 // Bubsy
  {
   setvar CHARACTERARRAY 3
   state getatmdollarcents
  }   
  ifvare atm_acctnum 789152 // Ami
  {
   setvar CHARACTERARRAY 4
   state getatmdollarcents
  }   
  ifvare atm_acctnum 171396 // Higa
  {
   setvar CHARACTERARRAY 5
   state getatmdollarcents
  }   
  ifvare atm_acctnum 218479 // ESSence
  {
   setvar CHARACTERARRAY 6
   state getatmdollarcents
  }   
  ifvare atm_acctnum 195382 // Ted
  {
   setvar CHARACTERARRAY 7
   state getatmdollarcents
  }   
  ifvare atm_acctnum 475394 // Lisa
  {
   setvar CHARACTERARRAY 8
   state getatmdollarcents
  }   
  ifvare atm_acctnum 363851 // Cybanis
  {
   setvar CHARACTERARRAY 9
   state getatmdollarcents
  }   
  ifvare atm_acctnum 963246 // Christina
  {
   setvar CHARACTERARRAY 10
   state getatmdollarcents
  }   
  ifvare atm_acctnum 180194 // Paula
  {
   setvar CHARACTERARRAY 11
   state getatmdollarcents
  }   
  ifvare atm_acctnum 638192 // Lori
  {
   setvar CHARACTERARRAY 12
   state getatmdollarcents
  }   
  ifvare atm_acctnum 512560 // Minako
  {
   setvar CHARACTERARRAY 13
   state getatmdollarcents
  }   
  ifvare atm_acctnum 198255 // "Mystery Lady"
  {
   setvar CHARACTERARRAY 14
   state getatmdollarcents
  }   
  ifvare atm_acctnum 918372 // Maken
  {
   setvar CHARACTERARRAY 15
   state getatmdollarcents
  }   
//
  ifvare atm_acctnum 132092 // President Clinton (NPC)
  {
   setvar CHARACTERARRAY 257
   state getatmdollarcents
  }   
  ifvare atm_acctnum 890143 // Vice-President Gore (NPC)
  {
   setvar CHARACTERARRAY 258
   state getatmdollarcents
  }   
  ifvare atm_acctnum 436743 // George Broussard [3DR]
  {
   setvar CHARACTERARRAY 259
   state getatmdollarcents
  }   
  ifvare atm_acctnum 787953 // Stephen Hornback [3DR]
  {
   setvar CHARACTERARRAY 260
   state getatmdollarcents
  }   
  ifvare atm_acctnum 636223 // Jim Norwood [3DR]
  {
   setvar CHARACTERARRAY 261
   state getatmdollarcents
  }   
  ifvare atm_acctnum 742369 // Frank Maddin [3DR]
  {
   setvar CHARACTERARRAY 262
   state getatmdollarcents
  }   
  ifvare atm_acctnum 569264 // Stephen Cole [3DR]
  {
   setvar CHARACTERARRAY 263
   state getatmdollarcents
  }   
  ifvare atm_acctnum 472669 // Lani Minella [VOA]
  {
   setvar CHARACTERARRAY 264
   state getatmdollarcents
  }   
  ifvare atm_acctnum 122994 // Joe Siegler [3DR]
  {
   setvar CHARACTERARRAY 265
   state getatmdollarcents
  }   
  ifvare atm_acctnum 782548 // Lee Jackson [3DR]
  {
   setvar CHARACTERARRAY 266
   state getatmdollarcents
  }   
  ifvare atm_acctnum 385333 // Chuck Jones [3DR]
  {
   setvar CHARACTERARRAY 267
   state getatmdollarcents
  }   
  ifvare atm_acctnum 724264 // Keith Schuler [3DR]
  {
   setvar CHARACTERARRAY 268
   state getatmdollarcents
  }   
  ifvare atm_acctnum 388256 // Randy Pitchford II [3DR]
  {
   setvar CHARACTERARRAY 269
   state getatmdollarcents
  }   
  ifvare atm_acctnum 267337 // Brian Martel [3DR]
  {
   setvar CHARACTERARRAY 270
   state getatmdollarcents
  }   
  ifvare atm_acctnum 372273 // Snake Plissken [Cameo]
  {
   setvar CHARACTERARRAY 271
   state getatmdollarcents
  }   
  ifvare atm_acctnum 768439 // Indiana Jones [3DR]
  {
   setvar CHARACTERARRAY 272
   state getatmdollarcents
  }   
  ifvare atm_acctnum 249453 // Phil Graves [3DR]
  {
   setvar CHARACTERARRAY 273
   state getatmdollarcents
  }   
  ifvare atm_acctnum 559294 // Donald Harrison [3DR]
  {
   setvar CHARACTERARRAY 274
   state getatmdollarcents
  }   
  ifvare atm_acctnum 475137 // Cameron Bates (NPC)
  {
   setvar CHARACTERARRAY 275
   state getatmdollarcents
  }   
  ifvare atm_acctnum 916821 // Kasey Shinkara (NPC)
  {
   setvar CHARACTERARRAY 276
   state getatmdollarcents
  }   
  ifvare atm_acctnum 474241 // Victoria Bates (NPC)
  {
   setvar CHARACTERARRAY 277
   state getatmdollarcents
  }   
  ifvare atm_acctnum 473744 // Harold Bates (NPC)
  {
   setvar CHARACTERARRAY 278
   state getatmdollarcents
  }   
  ifvare atm_acctnum 10345 // John R. Blade [Cameo]
  {
   setvar CHARACTERARRAY 279
   state getatmdollarcents
  }   
  ifvare atm_acctnum 10333 // Elexis Sinclaire [Cameo]
  {
   setvar CHARACTERARRAY 280
   state getatmdollarcents
  }   
  ifvare atm_acctnum 473745 // Jerold Bates (NPC)
  {
   setvar CHARACTERARRAY 281
   state getatmdollarcents
  }   
  ifvare atm_acctnum 181595 // Ness Itoi (NPC)
  {
   setvar CHARACTERARRAY 282
   state getatmdollarcents
  }   
  ifvare atm_acctnum 927487 // Veronnica Herrera (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 283
   state getatmdollarcents
  }   
  ifvare atm_acctnum 22357 // "Jason Monroe" (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 284
   state getatmdollarcents
  }   
  ifvare atm_acctnum 486652 // Sean Gauthier (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 285
   state getatmdollarcents
  }   
  ifvare atm_acctnum 333737 // Daniel Gaskill (Cameo NPC)
  {
   setvar CHARACTERARRAY 286
   state getatmdollarcents
  }   
  ifvare atm_acctnum 732567 // William Gee (Cameo NPC)
  {
   setvar CHARACTERARRAY 287
   state getatmdollarcents
  }   
  ifvare atm_acctnum 40987 // James Stanfield (Cameo NPC)
  {
   setvar CHARACTERARRAY 288
   state getatmdollarcents
  }   
  ifvare atm_acctnum 131072 // Richard Gobeille (Cameo NPC)
  {
   setvar CHARACTERARRAY 289
   state getatmdollarcents
  }   
  ifvare atm_acctnum 262144 // Pierre-Loup Griffais (Cameo NPC)
  {
   setvar CHARACTERARRAY 290
   state getatmdollarcents
  }   
  ifvare atm_acctnum 65536 // Johnathon Fowler (Cameo NPC)
  {
   setvar CHARACTERARRAY 291
   state getatmdollarcents
  }   
  ifvare atm_acctnum 524288 // Matt Saettler (Cameo NPC)
  {
   setvar CHARACTERARRAY 292
   state getatmdollarcents
  }   
  ifvare atm_acctnum 328436 // David Wolfe (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 293
   state getatmdollarcents
  }   
  ifvare atm_acctnum 646256 // Chantelle Sundeen (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 294
   state getatmdollarcents
  }   
  ifvare atm_acctnum 666482 // Callum Sanderson (Cameo NPC)
  {
   setvar CHARACTERARRAY 295
   state getatmdollarcents
  }   
  ifvare atm_acctnum 825332 // Ian Burton (Cameo NPC)
  {
   setvar CHARACTERARRAY 296
   state getatmdollarcents
  }   
  ifvare atm_acctnum 359941 // Daniel Lazar (Cameo NPC)
  {
   setvar CHARACTERARRAY 297
   state getatmdollarcents
  }   
  ifvare atm_acctnum 140884 // Merlijn Van Oostrum (Cameo NPC)
  {
   setvar CHARACTERARRAY 298
   state getatmdollarcents
  }   
  ifvare atm_acctnum 666208 // Maarten Van Oostrum (Cameo NPC)
  {
   setvar CHARACTERARRAY 299
   state getatmdollarcents
  }   
  ifvare atm_acctnum 382382 // Cody Dowdle (Cameo NPC)
  {
   setvar CHARACTERARRAY 300
   state getatmdollarcents
  }   
  ifvare atm_acctnum 290400 // Samuel Lawson (Staff Cameo NPC)
  {
   setvar CHARACTERARRAY 301
   state getatmdollarcents
  }   
  ifvare atm_acctnum 656371 // Edward Maldoras (NPC)
  {
   setvar CHARACTERARRAY 302
   state getatmdollarcents
  }   
  ifvare atm_acctnum 656374 // Jennifer Maldoras (NPC)
  {
   setvar CHARACTERARRAY 303
   state getatmdollarcents
  }   
  ifvare atm_acctnum 645933 // Todd Shinkara (NPC)
  {
   setvar CHARACTERARRAY 304
   state getatmdollarcents
  }   
  ifvare atm_acctnum 645931 // Rachel Shinkara (NPC)
  {
   setvar CHARACTERARRAY 305
   state getatmdollarcents
  }   
  ifvare atm_acctnum 442795 // David Walker (NPC)
  {
   setvar CHARACTERARRAY 306
   state getatmdollarcents
  }   
  ifvare atm_acctnum 577216 // Edwina Walker (NPC)
  {
   setvar CHARACTERARRAY 307
   state getatmdollarcents
  }   
  ifvare atm_acctnum 132996 // Daisy Davis (NPC)
  {
   setvar CHARACTERARRAY 308
   state getatmdollarcents
  }   
  ifvare atm_acctnum 272957 // Duke Davis Sr. (NPC)
  {
   setvar CHARACTERARRAY 309
   state getatmdollarcents
  }   
  ifvare atm_acctnum 102464 // Francine Davis (NPC)
  {
   setvar CHARACTERARRAY 310
   state getatmdollarcents
  }   
  ifvare atm_acctnum 578341 // Yahnzee Tyrell (NPC)
  {
   setvar CHARACTERARRAY 311
   state getatmdollarcents
  }   
  ifvare atm_acctnum 372466 // Matei Hakaisha (NPC)
  {
   setvar CHARACTERARRAY 312
   state getatmdollarcents
  }   
  ifvare atm_acctnum 669264 // Tensi-Yoko Hakaisha (NPC)
  {
   setvar CHARACTERARRAY 313
   state getatmdollarcents
  }   
  ifvare atm_acctnum 297581 // Usagi Tsukino (NPC)
  {
   setvar CHARACTERARRAY 314
   state getatmdollarcents
  }   
  ifvare atm_acctnum 194882 // Rei Hino (NPC)
  {
   setvar CHARACTERARRAY 315
   state getatmdollarcents
  }   
  ifvare atm_acctnum 105526 // Makoto Kino (NPC)
  {
   setvar CHARACTERARRAY 316
   state getatmdollarcents
  }   
  ifvare atm_acctnum 119358 // Torian Stevens (NPC)
  {
   setvar CHARACTERARRAY 317
   state getatmdollarcents
  }   
  ifvare atm_acctnum 481692 // Kristen Morrison (NPC)
  {
   setvar CHARACTERARRAY 318
   state getatmdollarcents
  }   
  ifvare atm_acctnum 373718 // Larry Cameron (NPC)
  {
   setvar CHARACTERARRAY 319
   state getatmdollarcents
  }   
  ifvare atm_acctnum 290406 // Anthony Reimos (NPC)
  {
   setvar CHARACTERARRAY 320
   state getatmdollarcents
  }   
  ifvare atm_acctnum 562584 // Katrina Anderson (NPC)
  {
   setvar CHARACTERARRAY 321
   state getatmdollarcents
  }   
  ifvare atm_acctnum 837373 // Terrance Bobcat (NPC)
  {
   setvar CHARACTERARRAY 322
   state getatmdollarcents
  }   
  ifvare atm_acctnum 837372 // Teresa Bobcat (NPC)
  {
   setvar CHARACTERARRAY 323
   state getatmdollarcents
  }   
  ifvare atm_acctnum 60191 // Victor Elecmire (NPC)
  {
   setvar CHARACTERARRAY 324
   state getatmdollarcents
  }   
  ifvare atm_acctnum 301040 // William Blazkowicz II (NPC)
  {
   setvar CHARACTERARRAY 325
   state getatmdollarcents
  }   
  ifvare atm_acctnum 301050 // Mortimer McMire (NPC)
  {
   setvar CHARACTERARRAY 326
   state getatmdollarcents
  }   
  ifvare atm_acctnum 428350 // Molly McMire (NPC)
  {
   setvar CHARACTERARRAY 327
   state getatmdollarcents
  }   
  ifvare atm_acctnum 474312 // Merilyn Bates (NPC)
  {
   setvar CHARACTERARRAY 328
   state getatmdollarcents
  }   
  ifvare atm_acctnum 239647 // Jesus Medina (NPC)
  {
   setvar CHARACTERARRAY 329
   state getatmdollarcents
  }   
  ifvare atm_acctnum 627276 // Marcus Collier (NPC)
  {
   setvar CHARACTERARRAY 330
   state getatmdollarcents
  }   
  ifvare atm_acctnum 360744 // Larry Huggins (NPC)
  {
   setvar CHARACTERARRAY 331
   state getatmdollarcents
  }   
  ifvare atm_acctnum 282488 // Glenn Cox (NPC)
  {
   setvar CHARACTERARRAY 332
   state getatmdollarcents
  }   
  ifvare atm_acctnum 942285 // Darius Jefferies (NPC)
  {
   setvar CHARACTERARRAY 333
   state getatmdollarcents
  }   
  ifvare atm_acctnum 751072 // Ramone Deggaris (NPC)
  {
   setvar CHARACTERARRAY 334
   state getatmdollarcents
  }   
  ifvare atm_acctnum 162598 // Dillard L. Blake (NPC)
  {
   setvar CHARACTERARRAY 335
   state getatmdollarcents
  }   
  ifvare atm_acctnum 845423 // Tankanori Zilla (NPC)
  {
   setvar CHARACTERARRAY 336
   state getatmdollarcents
  }   
  ifvare atm_acctnum 324731 // Natsuken Zilla (NPC)
  {
   setvar CHARACTERARRAY 337
   state getatmdollarcents
  }   
  ifvare atm_acctnum 889154 // Caleb Valiant (NPC)
  {
   setvar CHARACTERARRAY 338
   state getatmdollarcents
  }   
  ifvare atm_acctnum 537369 // "John Robert Foster" (NPC)
  {
   setvar CHARACTERARRAY 339
   state getatmdollarcents
  }   
  ifvare atm_acctnum 178935 // Ion Zerman (NPC)
  {
   setvar CHARACTERARRAY 340
   state getatmdollarcents
  }   
  ifvare atm_acctnum 938457 // Kenneth Fertang (NPC)
  {
   setvar CHARACTERARRAY 341
   state getatmdollarcents
  }   
  ifvare atm_acctnum 27964 // Quenton Stephens (NPC)
  {
   setvar CHARACTERARRAY 342
   state getatmdollarcents
  }   
ends

state displayaccountinfo
  state digx320
  setvar digy 131 // 160
  state pal22
  state checkdollarcents
  state displayaccountvalue 
  state gtz
ends

state displayaccountamountwithwire
  state digx320
  setvar digy 78
  state pal22
  state checkdollarcents
  state displayaccountvalue 
  state gtz
ends

state showatmwdwinput
  setvarvar varname atm_amount_dollars
  setvarvar atm_amount_dollars atm_amount_all
  divvarvar atm_amount_dollars 100
  setvarvar atm_amount_cents atm_amount_all
  modvarvar atm_amount_cents 100
  setvarvar varname atm_amount_cents

  ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS { ifvarn atm_mode 7 setvar textscale 65536 else setvar textscale 49152 } else setvar textscale 49152
  
  state settilealphanum
  state digx320
  setvar digy 110
  redefinequote 332 $0000000.00
  ifvarg atm_amount_all -1
  ifvarl atm_amount_all 10
  {
   redefinequote 2002 $0000000.0%ld
   qsprintf 332 2002 atm_amount_cents
  }
  else
  ifvarg atm_amount_all 9
  ifvarl atm_amount_all 100
  {
   redefinequote 2002 $0000000.%ld
   qsprintf 332 2002 atm_amount_cents
  }
  else
  ifvarg atm_amount_all 99
  ifvarl atm_amount_all 1000
  {
   ifvarg atm_amount_cents -1
   ifvarl atm_amount_cents 10
   {
    redefinequote 2002 $000000%ld.0%ld
   }
   else
   {
    redefinequote 2002 $000000%ld.%ld
   }
   qsprintf 332 2002 atm_amount_dollars atm_amount_cents
  }
  else
  ifvarg atm_amount_all 999
  ifvarl atm_amount_all 10000
  {
   ifvarg atm_amount_cents -1
   ifvarl atm_amount_cents 10
   {
    redefinequote 2002 $00000%ld.0%ld
   }
   else
   {
    redefinequote 2002 $00000%ld.%ld
   }
   qsprintf 332 2002 atm_amount_dollars atm_amount_cents
  }
  else
  ifvarg atm_amount_all 9999
  ifvarl atm_amount_all 100000
  {
   ifvarg atm_amount_cents -1
   ifvarl atm_amount_cents 10
   {
    redefinequote 2002 $0000%ld.0%ld
   }
   else
   {
    redefinequote 2002 $0000%ld.%ld
   }
   qsprintf 332 2002 atm_amount_dollars atm_amount_cents
  }
  else
  ifvarg atm_amount_all 99999
  ifvarl atm_amount_all 1000000
  {
   ifvarg atm_amount_cents -1
   ifvarl atm_amount_cents 10
   {
    redefinequote 2002 $000%ld.0%ld
   }
   else
   {
    redefinequote 2002 $000%ld.%ld
   }
   qsprintf 332 2002 atm_amount_dollars atm_amount_cents
  }
  else
  ifvarg atm_amount_all 999999
  ifvarl atm_amount_all 10000000
  {
   ifvarg atm_amount_cents -1
   ifvarl atm_amount_cents 10
   {
    redefinequote 2002 $00%ld.0%ld
   }
   else
   {
    redefinequote 2002 $00%ld.%ld
   }
   qsprintf 332 2002 atm_amount_dollars atm_amount_cents
  }
  else
  ifvarg atm_amount_all 9999999
  ifvarl atm_amount_all 100000000
  {
   ifvarg atm_amount_cents -1
   ifvarl atm_amount_cents 10
   {
    redefinequote 2002 $0%ld.0%ld
   }
   else
   {
    redefinequote 2002 $0%ld.%ld
   }
   qsprintf 332 2002 atm_amount_dollars atm_amount_cents
  }
  else
  ifvarg atm_amount_all 99999999
  ifvarl atm_amount_all 1000000000
  {
   ifvarg atm_amount_cents -1
   ifvarl atm_amount_cents 10
   {
    redefinequote 2002 $%ld.0%ld
   }
   else
   {
    redefinequote 2002 $%ld.%ld
   }
   qsprintf 332 2002 atm_amount_dollars atm_amount_cents
  }
  ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS { ifvarn atm_mode 7 state paletteflasher else state pal22 } else state pal22
  state gtz
  state pal22
  setvar textscale 49152 // 49152
ends

state atm_showwiretonames
  // Default, unless a wacctnum matches below
  redefinequote 332 ^10INVALID NAME

  ifvare atm_wacctnum 132995 redefinequote 332 Duke Nukem
  ifvare atm_wacctnum 164702 redefinequote 332 Jack Walker
  ifvare atm_wacctnum 171792 redefinequote 332 Bubsy Bobcat
  ifvare atm_wacctnum 789152 redefinequote 332 Ami Mizuno
  ifvare atm_wacctnum 171396 redefinequote 332 Higa Hakaisha
  ifvare atm_wacctnum 218479 redefinequote 332 ESSence Margalan
  ifvare atm_wacctnum 195382 redefinequote 332 Ted Maldoras
  ifvare atm_wacctnum 475394 redefinequote 332 Lisa Bates
  ifvare atm_wacctnum 363851 redefinequote 332 Cybanis Morgandos
  ifvare atm_wacctnum 963246 redefinequote 332 Christina Mitchell
  ifvare atm_wacctnum 180194 redefinequote 332 Paula Polestar
  ifvare atm_wacctnum 638192 redefinequote 332 Lori Stephens
  ifvare atm_wacctnum 512560 redefinequote 332 Minako Aino
  ifvare atm_wacctnum 198255
  {
   ifvare PUBLICBETA? 0 redefinequote 332 Naferia Maboroshi
   redefinequote 332 Hinotori Genkai
  }
  ifvare atm_wacctnum 918372 redefinequote 332 Maken Shinkara

// Fill in more
  ifvare atm_wacctnum 132092 redefinequote 332 Bill Clinton
  ifvare atm_wacctnum 890143 redefinequote 332 Al Gore
  ifvare atm_wacctnum 436743 redefinequote 332 George Broussard
  ifvare atm_wacctnum 787953 redefinequote 332 Stephen Hornback
  ifvare atm_wacctnum 636223 redefinequote 332 Jim Norwood
  ifvare atm_wacctnum 742369 redefinequote 332 Frank Maddin
  ifvare atm_wacctnum 569264 redefinequote 332 Stephen Cole
  ifvare atm_wacctnum 472669 redefinequote 332 Lani Minella
  ifvare atm_wacctnum 122994 redefinequote 332 Joe Siegler
  ifvare atm_wacctnum 782548 redefinequote 332 Lee Jackson
  ifvare atm_wacctnum 385333 redefinequote 332 Chuck Jones
  ifvare atm_wacctnum 724264 redefinequote 332 Keith Schuler
  ifvare atm_wacctnum 388256 redefinequote 332 Randy Pitchford II
  ifvare atm_wacctnum 267337 redefinequote 332 Brian Martel
  ifvare atm_wacctnum 372273 redefinequote 332 Snake Plissken
  ifvare atm_wacctnum 768439 redefinequote 332 Indiana Jones
  ifvare atm_wacctnum 249453 redefinequote 332 Phil Graves
  ifvare atm_wacctnum 559294 redefinequote 332 Donald Harrison
  ifvare atm_wacctnum 475137 redefinequote 332 Cameron Bates
  ifvare atm_wacctnum 916821 redefinequote 332 Kasey Shinkara
  ifvare atm_wacctnum 474241 redefinequote 332 Victoria Bates
  ifvare atm_wacctnum 473744 redefinequote 332 Harold Bates
  ifvare atm_wacctnum 10345 redefinequote 332 John R. Blade
  ifvare atm_wacctnum 10333 redefinequote 332 Elexis Sinclaire
  ifvare atm_wacctnum 473745 redefinequote 332 Jerold Bates
  ifvare atm_wacctnum 181595 redefinequote 332 Ness Itoi
  ifvare atm_wacctnum 927487 redefinequote 332 Veronnica Herrera
  ifvare atm_wacctnum 22357 redefinequote 332 Jason Monroe
  ifvare atm_wacctnum 486652 redefinequote 332 Sean Gauthier
  ifvare atm_wacctnum 333737 redefinequote 332 Daniel Gaskill
  ifvare atm_wacctnum 732567 redefinequote 332 William Gee
  ifvare atm_wacctnum 40987 redefinequote 332 James Stanfield
  ifvare atm_wacctnum 131072 redefinequote 332 Richard Gobeille
  ifvare atm_wacctnum 262144 redefinequote 332 Pierre-Loup Griffais
  ifvare atm_wacctnum 65536 redefinequote 332 Johnathon Fowler
  ifvare atm_wacctnum 524288 redefinequote 332 Matt Saettler
  ifvare atm_wacctnum 328436 redefinequote 332 David Wolfe
  ifvare atm_wacctnum 646256 redefinequote 332 Chantelle Sundeen
  ifvare atm_wacctnum 666482 redefinequote 332 Callum Sanderson
  ifvare atm_wacctnum 825332 redefinequote 332 Ian Burton
  ifvare atm_wacctnum 359941 redefinequote 332 Daniel Lazar
  ifvare atm_wacctnum 140884 redefinequote 332 Merlijn Van Oostrum
  ifvare atm_wacctnum 666208 redefinequote 332 Maarten Van Oostrum
  ifvare atm_wacctnum 382382 redefinequote 332 Cody Dowdle
  ifvare atm_wacctnum 290400 redefinequote 332 Samuel Lawson
  ifvare atm_wacctnum 656371 redefinequote 332 Edward Maldoras
  ifvare atm_wacctnum 656374 redefinequote 332 Jennifer Maldoras
  ifvare atm_wacctnum 645933 redefinequote 332 Todd Shinkara
  ifvare atm_wacctnum 645931 redefinequote 332 Rachel Shinkara
  ifvare atm_wacctnum 442795 redefinequote 332 David Walker
  ifvare atm_wacctnum 577216 redefinequote 332 Edwina Walker
  ifvare atm_wacctnum 132996 redefinequote 332 Daisy Davis
  ifvare atm_wacctnum 272957 redefinequote 332 Duke Davis Sr.
  ifvare atm_wacctnum 102464 redefinequote 332 Francine Davis
  ifvare atm_wacctnum 578341 redefinequote 332 Yahnzee Tyrell
  ifvare atm_wacctnum 372466 redefinequote 332 Matei Hakaisha
  ifvare atm_wacctnum 669264 redefinequote 332 Tensi-Yoko Hakaisha
  ifvare atm_wacctnum 297581 redefinequote 332 Usagi Tsukino
  ifvare atm_wacctnum 194882 redefinequote 332 Rer Hino
  ifvare atm_wacctnum 105526 redefinequote 332 Makoto Kino
  ifvare atm_wacctnum 119358 redefinequote 332 Torian Stevens
  ifvare atm_wacctnum 481692 redefinequote 332 Kristen Morrison
  ifvare atm_wacctnum 373718 redefinequote 332 Larry Cameron
  ifvare atm_wacctnum 290406 redefinequote 332 Anthony Reimos
  ifvare atm_wacctnum 562584 redefinequote 332 Katrina Anderson
  ifvare atm_wacctnum 837373 redefinequote 332 Terrance Bobcat
  ifvare atm_wacctnum 837372 redefinequote 332 Teresa Bobcat
  ifvare atm_wacctnum 60191 redefinequote 332 Victor Elecmire
  ifvare atm_wacctnum 301040 redefinequote 332 William Blazkowicz II
  ifvare atm_wacctnum 301050 redefinequote 332 Mortimer McMire
  ifvare atm_wacctnum 428350 redefinequote 332 Molly McMire
  ifvare atm_wacctnum 474312 redefinequote 332 Merilyn Bates
  ifvare atm_wacctnum 239647 redefinequote 332 Jesus Medina
  ifvare atm_wacctnum 627276 redefinequote 332 Marcus Collier
  ifvare atm_wacctnum 360744 redefinequote 332 Larry Huggins
  ifvare atm_wacctnum 282488 redefinequote 332 Glenn Cox
  ifvare atm_wacctnum 942285 redefinequote 332 Darius Jefferies
  ifvare atm_wacctnum 751072 redefinequote 332 Ramone Deggaris
  ifvare atm_wacctnum 162598 redefinequote 332 Dillard L. Blake
  ifvare atm_wacctnum 845423 redefinequote 332 Tankanori Zilla
  ifvare atm_wacctnum 324731 redefinequote 332 Natsuken Zilla
  ifvare atm_wacctnum 889154 redefinequote 332 Caleb Valiant
  ifvare atm_wacctnum 537369 redefinequote 332 John Robert Foster
  ifvare atm_wacctnum 178935 redefinequote 332 Ion Zerman
  ifvare atm_wacctnum 938457 redefinequote 332 Kenneth Fertang
  ifvare atm_wacctnum 27964 redefinequote 332 Quenton Stephens
// Fill in more beyond here
ends

state atm_display
ifvarn atm_id -1
{
  ifvare atm_type 0 nullop
  else
  ifvare atm_type 1 // Sprite Based
  {
   getactor[hitsprite].picnum temp
   ifvare temp 867 nullop
   else
   {
    setvar atm_id -1
    setvar atm_type 0
    setvar atm_mode 0
    setvar atm_action 0 
    setvar atm_acctnum 0
    setvar atm_pinnum 0
    setvar atm_amount_all 0
    setvar atm_errortype 0
   }
  }
  else
  ifvare atm_type 2 // Wall Based
  {
   getwall[hitwall].picnum temp
   ifvare temp 867 nullop
   else
   {
    setvar atm_id -1
    setvar atm_type 0
    setvar atm_mode 0
    setvar atm_action 0 
    setvar atm_acctnum 0
    setvar atm_pinnum 0
    setvar atm_amount_all 0
    setvar atm_errortype 0
   }
  }

// Optional Screen Backgrounds
  state pal0
  setvar digx 158 // 160
  setvar digy 97 // 120
  setvar digz 50380 // 49152
  ifvarand atm_type 4 state shadepulse4
  else state shadepulse3
  ifvare atm_background 0 setvar tilenum 3579
  ifvare atm_background 1 setvar tilenum 3578
  ifvare atm_background 2 setvar tilenum 3576
  ifvare atm_background 3 setvar tilenum 3575
  ifvare atm_background 4 setvar tilenum 3574
  ifvare atm_background 5 setvar tilenum 3573
  ifvare atm_background 6 setvar tilenum 3572
  ifvare atm_background 7 setvar tilenum 3571
  ifvare atm_background 8 setvar tilenum 3570
  ifvare atm_background 9 setvar tilenum 3569
  ifvare atm_background 10 setvar tilenum 3568
  ifvare atm_background 11 setvar tilenum 3567
  ifvare atm_background 12 setvar tilenum 3566
  ifvare atm_background 13 setvar tilenum 3565
  ifvare atm_background 14 setvar tilenum 3564
  ifvare atm_background 15 setvar tilenum 3563
  ifvare atm_background 16 setvar tilenum 3562
  ifvare atm_background 17 setvar tilenum 3561
  ifvare atm_background 18 setvar tilenum 3560
  ifvare atm_background 19 setvar tilenum 3559
  ifvare atm_background 20 setvar tilenum 3558
  ifvare atm_background 21 setvar tilenum 3557
  ifvare atm_background 22 setvar tilenum 3556
  ifvare atm_background 23 setvar tilenum 3555
  ifvare atm_background 24 setvar tilenum 3554
  ifvare atm_background 25 setvar tilenum 3553
  ifvare atm_background 26 setvar tilenum 3552
  ifvare atm_background 27 setvar tilenum 3551
  ifvare atm_background 28 setvar tilenum 3550
  ifvare atm_background 29 setvar tilenum 3549
  ifvare atm_background 30 setvar tilenum 3548
  ifvare atm_background 31 setvar tilenum 3547
  ifvare atm_background 32 setvar tilenum 3546
  ifvare atm_background 33 setvar tilenum 3545
  ifvare atm_background 34 setvar tilenum 3544
  ifvare atm_background 35 setvar tilenum 3543
  ifvare atm_background 36 setvar tilenum 3542
  ifvare atm_background 37 setvar tilenum 3541
  ifvare atm_background 38 setvar tilenum 3540
  ifvare atm_background 39 setvar tilenum 3539
  ifvare atm_background 40 setvar tilenum 3538
  ifvare atm_background 41 setvar tilenum 3537
  ifvare atm_background 42 setvar tilenum 3536
  ifvare atm_background 43 setvar tilenum 3535
  ifvare atm_background 44 setvar tilenum 3534
  ifvare atm_background 45 setvar tilenum 3533
  ifvare atm_background 46 setvar tilenum 3532
  ifvare atm_background 47 setvar tilenum 3531
  state orientation2 
  state rs
  state shade0

  state shade0
  // Main ATM Panel
  state pal0
  state digx160
  setvar digy 120
  state digz49152
  state orientation2
  ifvarand atm_type 4 setvar tilenum 3581
  else setvar tilenum 3580 // 3581
  state rs

  // ATM BACKGROUND
  ifvarand atm_type 4
  {
   ifvarg atm_button1timer 0 // Upper-Left Button Pressed
   {
    state pal0
    setvarvar digx 32 // 28
    setvarvar digy 53 // 48
    state digz49152
    state orientation2
    setvar tilenum 3582
    state rs
   }

   ifvarg atm_button2timer 0 // MidUpper-Left Button Pressed
   {
    state pal0
    setvarvar digx 32 // 28
    setvarvar digy 84 // 48
    state digz49152
    state orientation2
    setvar tilenum 3582
    state rs
   }

   ifvarg atm_button3timer 0 // MidLower-Left Button Pressed
   {
    state pal0
    setvarvar digx 32 // 28
    setvarvar digy 114 // 48
    state digz49152
    state orientation2
    setvar tilenum 3582
    state rs
   }

   ifvarg atm_button4timer 0 // Lower-Left Button Pressed
   {
    state pal0
    setvarvar digx 32 // 28
    setvarvar digy 145 // 48
    state digz49152
    state orientation2
    setvar tilenum 3582
    state rs
   }

   ifvarg atm_button5timer 0 // Upper-Right Button Pressed
   {
    state pal0
    setvarvar digx 288 // 28
    setvarvar digy 53 // 48
    state digz49152
    state orientation2
    setvar tilenum 3583
    state rs
   }

   ifvarg atm_button6timer 0 // MidUpper-Right Button Pressed
   {
    state pal0
    setvarvar digx 288 // 28
    setvarvar digy 84 // 48
    state digz49152
    state orientation2
    setvar tilenum 3583
    state rs
   }

   ifvarg atm_button7timer 0 // MidLower-Right Button Pressed
   {
    state pal0
    setvarvar digx 288 // 28
    setvarvar digy 114 // 48
    state digz49152
    state orientation2
    setvar tilenum 3583
    state rs
   }

   ifvarg atm_button8timer 0 // Lower-Right Button Pressed
   {
    state pal0
    setvarvar digx 288 // 28
    setvarvar digy 145 // 48
    state digz49152
    state orientation2
    setvar tilenum 3583
    state rs
   }
  }
  else
  {
   ifvarg atm_button1timer 0 // Upper-Left Button Pressed
   {
    state pal0
    setvar digx 28 // 28
    setvar digy 48 // 48
    state digz49152
    state orientation2
    setvar tilenum 3476 // 3581
    state rs
   }

   ifvarg atm_button2timer 0 // MidUpper-Left Button Pressed
   {
    state pal0
    setvar digx 28 // 28
    setvar digy 82 // 82
    state digz49152
    state orientation2
    setvar tilenum 3477 // 3581
    state rs
   }

   ifvarg atm_button3timer 0 // MidLower-Left Button Pressed
   {
    state pal0
    setvar digx 28 // 28
    setvar digy 118 // 82
    state digz49152
    state orientation2
    setvar tilenum 3478 // 3581
    state rs
   }

   ifvarg atm_button4timer 0 // Lower-Left Button Pressed
   {
    state pal0
    setvar digx 28 // 28
    setvar digy 153 // 82
    state digz49152
    state orientation2
    setvar tilenum 3479 // 3581
    state rs
   }

   ifvarg atm_button5timer 0 // Upper-Right Button Pressed
   {
    state pal0
    setvar digx 292 // 292
    setvar digy 48 // 48
    state digz49152
    state orientation2
    setvar tilenum 3480 // 3581
    state rs
   }

   ifvarg atm_button6timer 0 // MidUpper-Right Button Pressed
   {
    state pal0
    setvar digx 292 // 292
    setvar digy 82 // 82
    state digz49152
    state orientation2
    setvar tilenum 3481 // 3581
    state rs
   }

   ifvarg atm_button7timer 0 // MidLower-Right Button Pressed
   {
    state pal0
    setvar digx 292 // 28
    setvar digy 118 // 82
    state digz49152
    state orientation2
    setvar tilenum 3482 // 3581
    state rs
   }

   ifvarg atm_button8timer 0 // Lower-Right Button Pressed
   {
    state pal0
    setvar digx 292 // 28
    setvar digy 153 // 82
    state digz49152
    state orientation2
    setvar tilenum 3483 // 3581
    state rs
   }
  }

  state shade0
  state setquote332

  state orientation3
  state settilealphanum
  setvar textscale 49152
  setvar digx 25 // 25
  setvar digy 10 // 44
  redefinequote 332 ACCT#
  state pal10
  state gtz

  state settile2837
  setvar digx 28 // 25
  setvar digy 16 // 44
  ifvare CHARACTERSELECTED? 1 setvar varname 132995
  ifvare CHARACTERSELECTED? 2 setvar varname 164702
  ifvare CHARACTERSELECTED? 3 setvar varname 171792
  ifvare CHARACTERSELECTED? 4 setvar varname 789152
  ifvare CHARACTERSELECTED? 5 setvar varname 171396
  ifvare CHARACTERSELECTED? 6 setvar varname 218479
  ifvare CHARACTERSELECTED? 7 setvar varname 195382
  ifvare CHARACTERSELECTED? 8 setvar varname 475394
  ifvare CHARACTERSELECTED? 9 setvar varname 363851
  ifvare CHARACTERSELECTED? 10 setvar varname 963246
  ifvare CHARACTERSELECTED? 11 setvar varname 180194
  ifvare CHARACTERSELECTED? 12 setvar varname 638192
  ifvare CHARACTERSELECTED? 13 setvar varname 512560
  ifvare CHARACTERSELECTED? 14 setvar varname 198255
  ifvare CHARACTERSELECTED? 15 setvar varname 918372
  state pal21
  state dnz

  state settilealphanum
  setvar digx 580 // 25
  setvar digy 10 // 44
  redefinequote 332 PIN#
  state pal10
  state gtz

  state settile2837
  setvar digx 301 // 25
  setvar digy 16 // 44
  ifvare CHARACTERSELECTED? 1 setvar varname 3110
  ifvare CHARACTERSELECTED? 2 setvar varname 7585
  ifvare CHARACTERSELECTED? 3 setvar varname 1310
  ifvare CHARACTERSELECTED? 4 setvar varname 4125
  ifvare CHARACTERSELECTED? 5 setvar varname 9254
  ifvare CHARACTERSELECTED? 6 setvar varname 4196
  ifvare CHARACTERSELECTED? 7 setvar varname 3735
  ifvare CHARACTERSELECTED? 8 setvar varname 8214
  ifvare CHARACTERSELECTED? 9 setvar varname 5288
  ifvare CHARACTERSELECTED? 10 setvar varname 1256
  ifvare CHARACTERSELECTED? 11 setvar varname 5007
  ifvare CHARACTERSELECTED? 12 setvar varname 6392
  ifvare CHARACTERSELECTED? 13 setvar varname 1895
  ifvare CHARACTERSELECTED? 14 setvar varname 7364
  ifvare CHARACTERSELECTED? 15 setvar varname 7873
  state pal21
  state dnz

  state orientation2
  setvar textscale 98304
  state settilealphanum
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 58
   setvar digy 55
  }
  else
  {
   setvar digx 51 // 25
   setvar digy 48 // 44
  }
  getkeyname 332 48 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 58
   setvar digy 86
  }
  else
  {
   setvar digx 51 // 25
   setvar digy 82
  }
  getkeyname 332 33 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 58
   setvar digy 117
  }
  else
  {
   setvar digx 51 // 25
   setvar digy 118
  }
  getkeyname 332 9 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 61
   setvar digy 147
  }
  else
  {
   setvar digx 53 // 25
   setvar digy 152
  }
  getkeyname 332 31 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 581 // 290
   setvar digy 55
  }
  else
  {
   setvar digx 581 // 290
   setvar digy 48 // 44
  }
  getkeyname 332 34 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

  // Middle-Top Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 581 // 290
   setvar digy 86
  }
  else
  {
   setvar digx 581 // 290
   setvar digy 82
  }
  getkeyname 332 32 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

  // Middle-Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 581 // 290
   setvar digy 117
  }
  else
  {
   setvar digx 581 // 290
   setvar digy 118
  }
  getkeyname 332 10 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 583 // 290
   setvar digy 147
  }
  else
  {
   setvar digx 583 // 290
   setvar digy 152
  }
  getkeyname 332 30 0
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 8 // 12
   subvarvar digx TEMPVAR
  }
  state pal16
  state gtz

 state settilealphanum
 setvar textscale 24576 // 16384
 // "Cubism Roper VT" Interlude
 ifvarand atm_type 4
 {
  redefinequote 332 "CUBISM  ROPER  VT:   PORTABLE"   V5.25.97
  setvarvar digx 223 // 228
 }
 else
 {
  redefinequote 332 "CUBISM  ROPER  VT"   V1.29.96
  setvarvar digx 250 // 254
 }
 setvar digy 34
 state pal22
 state gtz

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 0 // Welcome Screen
 {
  setvar textscale 65536
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 LOG-IN
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }
  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 499 // 453
   setvar digy 152
  }
  redefinequote 332 EXIT
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152 // 49152
  ifvare atm_wscreen 1
  {
   // Welcome Screen #1
   state digx320
   setvar digy 72
   redefinequote 332 "Welcome to the
   state pal22
   state gtz
   state digx320
   setvar digy 78
   redefinequote 332 Los Angeles ATM!"
   state pal22
   state gtz
  }
  ifvare atm_wscreen 2
  {
   // Welcome Screen #2
   state digx320
   setvar digy 69
   redefinequote 332 "Welcome to the
   state pal22
   state gtz
   state digx320
   setvar digy 75
   redefinequote 332 Federal Loan and
   state pal22
   state gtz
   state digx320
   setvar digy 81
   redefinequote 332 Trust ATM!"
   state pal22
   state gtz
  }
  ifvare atm_wscreen 3
  {
   // Welcome Screen #1
   state digx320
   setvar digy 69
   redefinequote 332 "Welcome to the
   state pal22
   state gtz
   state digx320
   setvar digy 75
   redefinequote 332 Washington D.C.
   state pal22
   state gtz
   state digx320
   setvar digy 81
   redefinequote 332 ATM!"
   state pal22
   state gtz
  }
  ifvare atm_wscreen 4
  {
   // Welcome Screen #1
   state digx320
   setvar digy 72
   redefinequote 332 "Welcome to the
   state pal22
   state gtz
   state digx320
   setvar digy 78
   redefinequote 332 Las Vegas ATM!"
   state pal22
   state gtz
  }

  state digx320
  setvar digy 134
  ifvare atm_extquote 0 redefinequote 332 
  ifvare atm_extquote 1 redefinequote 332 "Need cash?  :)"
  ifvare atm_extquote 2 redefinequote 332 "L.A.R.D. sucks!!  D:" 
  ifvare atm_extquote 3 redefinequote 332 "Feed me a stray cat!  :D"
  ifvare atm_extquote 4 redefinequote 332 "Eye Of Horned Solitude rocks!  ;D"
  ifvare atm_extquote 5 redefinequote 332 "'sup?  :D"
  ifvare atm_extquote 6
  {
   ifvare GENDER? 0 redefinequote 332 "Hey dude, you rock!  XD"
   else ifvare GENDER? 1 redefinequote 332 "Hey chicky, you're a cute one!  :)"
   else redefinequote 332 "What the hell are you?!  >_O"
  }
  ifvare atm_extquote 7 redefinequote 332 "This place sucks!  :("
  ifvare atm_extquote 8 redefinequote 332 "It's soooo boring here!  :\"
  ifvare atm_extquote 9 redefinequote 332 "Duke Nukem 3D rocks!  XD"
  ifvare atm_extquote 10 redefinequote 332 "http://crvt-atm.gov"
  ifvare atm_extquote 11 redefinequote 332 "I'm so lonely...  :("
  ifvare atm_extquote 12
  {
   ifvare GENDER? 0 redefinequote 332 "Just don't turn around, buddy!  :O"
   else ifvare GENDER? 1 redefinequote 332 "Just don't turn around, lady!  :O"
   else redefinequote 332 "Just don't turn around, you!  :O"
  }
  ifvare atm_extquote 13 redefinequote 332 "Got any food?  :O"
  ifvare atm_extquote 14 redefinequote 332 "Shadow Warrior rocks!  XD"
  ifvare atm_extquote 15 redefinequote 332 "That mysterious chick is hot!  :)"
  ifvare atm_extquote 16 redefinequote 332 "http://naferia.duke4.net"
  ifvare atm_extquote 17 redefinequote 332 "http://www.zxdware.net"
  ifvare atm_extquote 18 redefinequote 332 "http://www.fireball20xl.com"
  ifvare atm_extquote 19 redefinequote 332 "http://www.fetchquest.com"
  ifvare atm_extquote 20 redefinequote 332 "http://deeperthought.dukertcm.com"
  ifvare atm_extquote 21 redefinequote 332 "http://misfittechstudios.netii.net"
  state pal22
  state gtz
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 1 // Enter Account # Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 CONFIRM
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }

  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 489 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 489 // 453
   setvar digy 152
  }
  redefinequote 332 CANCEL
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152 // 49152
  state settile2837
  // Entering ACCT#
  state digx160
  setvar digy 100
  setvarvar varname atm_acctnum
  state pal22
  state dnz

  setvar textscale 49152
  state settilealphanum
  // Screen Text
  state digx320
  setvar digy 72
  redefinequote 332 Enter your account # below:
  state pal22
  state gtz
  // Screen Text
  state digx320
  setvar digy 78
  redefinequote 332 (ACCT # is 6 digits long)
  state pal22
  state gtz
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 2 // Enter Pin # Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 CONFIRM
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }
  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 489 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 489 // 453
   setvar digy 152
  }
  redefinequote 332 CANCEL
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152 // 49152
  state settile2837
  // Entering PIN#
  state digx160
  setvar digy 100
  setvarvar varname atm_pinnum
  state pal22
  state dnz

  setvar textscale 49152
  state settilealphanum
  // Screen Text
  state digx320
  setvar digy 72
  ifvare atm_acctnum 132995 redefinequote 332 Welcome Mr. Nukem. Please
  ifvare atm_acctnum 164702 redefinequote 332 Welcome Mr. Walker. Please
  ifvare atm_acctnum 171792 redefinequote 332 Welcome Mr. Bobcat. Please
  ifvare atm_acctnum 789152 redefinequote 332 Welcome Miss Mizuno. Please
  ifvare atm_acctnum 171396 redefinequote 332 Welcome Mr. Hakaisha. Please
  ifvare atm_acctnum 218479 redefinequote 332 Welcome Mr. Margalan. Please
  ifvare atm_acctnum 195382 redefinequote 332 Welcome Mr. Maldoras. Please
  ifvare atm_acctnum 475394 redefinequote 332 Welcome Miss Bates. Please
  ifvare atm_acctnum 363851 redefinequote 332 Welcome Mr. Morgandos. Please
  ifvare atm_acctnum 963246 redefinequote 332 Welcome Miss Mitchell. Please
  ifvare atm_acctnum 180194 redefinequote 332 Welcome Miss Polestar. Please
  ifvare atm_acctnum 638192 redefinequote 332 Welcome Miss Stephens. Please
  ifvare atm_acctnum 512560 redefinequote 332 Welcome Miss Aino. Please
  ifvare atm_acctnum 198255
  {
   ifvare PUBLICBETA? 0 redefinequote 332 Welcome Miss Maboroshi. Please
   else redefinequote 332 Welcome Miss Genkai. Please
  }
  ifvare atm_acctnum 918372 redefinequote 332 Welcome Miss Shinkara. Please
// Fill in more
  ifvare atm_acctnum 132092 redefinequote 332 Welcome Mr. Clinton. Please
  ifvare atm_acctnum 890143 redefinequote 332 Welcome Mr. Gore. Please
  ifvare atm_acctnum 436743 redefinequote 332 Welcome Mr. Broussard. Please
  ifvare atm_acctnum 787953 redefinequote 332 Welcome Mr. Hornback. Please
  ifvare atm_acctnum 636223 redefinequote 332 Welcome Mr. Norwood. Please
  ifvare atm_acctnum 742369 redefinequote 332 Welcome Mr. Maddin. Please
  ifvare atm_acctnum 569264 redefinequote 332 Welcome Mr. Cole. Please
  ifvare atm_acctnum 472669 redefinequote 332 Welcome Ms. Minella. Please
  ifvare atm_acctnum 122994 redefinequote 332 Welcome Mr. Siegler. Please
  ifvare atm_acctnum 782548 redefinequote 332 Welcome Mr. Jackson. Please
  ifvare atm_acctnum 385333 redefinequote 332 Welcome Mr. Jones. Please
  ifvare atm_acctnum 724264 redefinequote 332 Welcome Mr. Schuler. Please
  ifvare atm_acctnum 388256 redefinequote 332 Welcome Mr. Pitchford. Please
  ifvare atm_acctnum 267337 redefinequote 332 Welcome Mr. Martel. Please
  ifvare atm_acctnum 372273 redefinequote 332 Welcome Mr. Plissken. Please
  ifvare atm_acctnum 768439 redefinequote 332 Welcome Mr. Jones. Please
  ifvare atm_acctnum 249453 redefinequote 332 Welcome Mr. Graves. Please
  ifvare atm_acctnum 559294 redefinequote 332 Welcome Mr. Harrison. Please
  ifvare atm_acctnum 475137 redefinequote 332 Welcome Mr. Bates. Please
  ifvare atm_acctnum 916821 redefinequote 332 Welcome Mr. Shinkara. Please
  ifvare atm_acctnum 474241 redefinequote 332 Welcome Mrs. Bates. Please
  ifvare atm_acctnum 473744 redefinequote 332 Welcome Mr. Bates. Please
  ifvare atm_acctnum 10345 redefinequote 332 Welcome Mr. Blade. Please
  ifvare atm_acctnum 10333 redefinequote 332 Welcome Miss Sinclaire. Please
  ifvare atm_acctnum 473745 redefinequote 332 Welcome Mr. Bates. Please
  ifvare atm_acctnum 181595 redefinequote 332 Welcome Mr. Itoi. Please
  ifvare atm_acctnum 927487 redefinequote 332 Welcome Miss Herrera. Please
  ifvare atm_acctnum 22357 redefinequote 332 Welcome Mr. Monroe. Please
  ifvare atm_acctnum 486652 redefinequote 332 Welcome Mr. Gauthier. Please
  ifvare atm_acctnum 333737 redefinequote 332 Welcome Mr. Gaskill. Please
  ifvare atm_acctnum 732567 redefinequote 332 Welcome Mr. Gee. Please
  ifvare atm_acctnum 40987 redefinequote 332 Welcome Mr. Stanfield. Please
  ifvare atm_acctnum 131072 redefinequote 332 Welcome Mr. Gobeille. Please
  ifvare atm_acctnum 262144 redefinequote 332 Welcome Mr. Griffais. Please
  ifvare atm_acctnum 65536 redefinequote 332 Welcome Mr. Fowler. Please
  ifvare atm_acctnum 524288 redefinequote 332 Welcome Mr. Saettler. Please
  ifvare atm_acctnum 328436 redefinequote 332 Welcome Mr. Wolfe. Please
  ifvare atm_acctnum 646256 redefinequote 332 Welcome Miss Sundeen. Please
  ifvare atm_acctnum 666482 redefinequote 332 Welcome Mr. Sanderson. Please
  ifvare atm_acctnum 825332 redefinequote 332 Welcome Mr. Burton. Please
  ifvare atm_acctnum 359941 redefinequote 332 Welcome Mr. Lazar. Please
  ifvare atm_acctnum 140884 redefinequote 332 Welcome Mr. Van Oostrum. Please
  ifvare atm_acctnum 666208 redefinequote 332 Welcome Mr. Van Oostrum. Please
  ifvare atm_acctnum 382382 redefinequote 332 Welcome Mr. Dowdle. Please
  ifvare atm_acctnum 290400 redefinequote 332 Welcome Mr. Lawson. Please
  ifvare atm_acctnum 656371 redefinequote 332 Welcome Mr. Maldoras. Please
  ifvare atm_acctnum 656374 redefinequote 332 Welcome Mrs. Maldoras. Please
  ifvare atm_acctnum 645933 redefinequote 332 Welcome Mr. Shinkara. Please
  ifvare atm_acctnum 645931 redefinequote 332 Welcome Mrs. Shinkara. Please
  ifvare atm_acctnum 442795 redefinequote 332 Welcome Mr. Walker. Please
  ifvare atm_acctnum 577216 redefinequote 332 Welcome Mrs. Walker. Please
  ifvare atm_acctnum 132996 redefinequote 332 Welcome Miss Davis. Please
  ifvare atm_acctnum 272957 redefinequote 332 Welcome Mr. Davis. Please
  ifvare atm_acctnum 102464 redefinequote 332 Welcome Mrs. Davis. Please
  ifvare atm_acctnum 578341 redefinequote 332 Welcome Mr. Tyrell. Please
  ifvare atm_acctnum 372466 redefinequote 332 Welcome Mr. Hakaisha. Please
  ifvare atm_acctnum 669264 redefinequote 332 Welcome Miss Hakaisha. Please
  ifvare atm_acctnum 297581 redefinequote 332 Welcome Miss Tsukino. Please
  ifvare atm_acctnum 194882 redefinequote 332 Welcome Miss Hino. Please
  ifvare atm_acctnum 105526 redefinequote 332 Welcome Miss Kino. Please
  ifvare atm_acctnum 119358 redefinequote 332 Welcome Mr. Stevens. Please
  ifvare atm_acctnum 481692 redefinequote 332 Welcome Miss Morrison. Please
  ifvare atm_acctnum 373718 redefinequote 332 Welcome Mr. Cameron. Please
  ifvare atm_acctnum 290406 redefinequote 332 Welcome Mr. Reimos. Please
  ifvare atm_acctnum 562584 redefinequote 332 Welcome Miss Anderson. Please
  ifvare atm_acctnum 837373 redefinequote 332 Welcome Mr. Bobcat. Please
  ifvare atm_acctnum 837372 redefinequote 332 Welcome Miss Bobcat. Please
  ifvare atm_acctnum 60191 redefinequote 332 Welcome Mr. Elecmire. Please
  ifvare atm_acctnum 301040 redefinequote 332 Welcome Mr. Blazkowicz. Please
  ifvare atm_acctnum 301050 redefinequote 332 Welcome Mr. McMire. Please
  ifvare atm_acctnum 428350 redefinequote 332 Welcome Miss McMire. Please
  ifvare atm_acctnum 474312 redefinequote 332 Welcome Miss Bates. Please
  ifvare atm_acctnum 239647 redefinequote 332 Welcome Mr. Medina. Please
  ifvare atm_acctnum 627276 redefinequote 332 Welcome Mr. Collier. Please
  ifvare atm_acctnum 360744 redefinequote 332 Welcome Mr. Huggins. Please
  ifvare atm_acctnum 282488 redefinequote 332 Welcome Mr. Cox. Please
  ifvare atm_acctnum 942285 redefinequote 332 Welcome Mr. Jefferies. Please
  ifvare atm_acctnum 751072 redefinequote 332 Welcome Mr. Deggaris. Please
  ifvare atm_acctnum 162598 redefinequote 332 Welcome Mr. Blake. Please
  ifvare atm_acctnum 845423 redefinequote 332 Welcome Mr. Zilla. Please
  ifvare atm_acctnum 324731 redefinequote 332 Welcome Mr. Zilla. Please
  ifvare atm_acctnum 889154 redefinequote 332 Welcome Mr. Valiant. Please
  ifvare atm_acctnum 537369 redefinequote 332 Welcome Mr. Foster. Please
  ifvare atm_acctnum 178935 redefinequote 332 Welcome Mr. Zerman. Please
  ifvare atm_acctnum 938457 redefinequote 332 Welcome Mr. Fertang. Please
  ifvare atm_acctnum 27964 redefinequote 332 Welcome Mr. Stephens. Please
// Fill in more
  state pal22
  state gtz

  // Screen Text
  state digx320
  setvar digy 78
  setvar TEMPVAR4 0  
  switch atm_acctnum
  case 132995
  case 164702
  case 171792
  case 789152
  case 171396
  case 218479
  case 195382
  case 475394
  case 363851
  case 963246
  case 180194
  case 638192
  case 512560
  case 198255
  case 918372
// Fill in more
  case 132092
  case 890143
  case 436743
  case 787953
  case 636223
  case 742369
  case 569264
  case 472669
  case 122994
  case 782548
  case 385333
  case 724264
  case 388256
  case 267337
  case 372273
  case 768439
  case 249453
  case 559294
  case 475137
  case 916821
  case 474241
  case 473744
  case 10345
  case 10333
  case 473745
  case 181595
  case 927487
  case 22357
  case 486652
  case 333737
  case 732567
  case 40987
  case 131072
  case 262144
  case 65536
  case 524288
  case 328436
  case 646256
  case 666482
  case 825332
  case 359941
  case 140884
  case 666208
  case 382382
  case 290400
  case 656371
  case 656374
  case 645933
  case 645931
  case 442795
  case 577216
  case 132996
  case 272957
  case 102464
  case 578341
  case 372466
  case 669264
  case 297581
  case 194882
  case 105526
  case 119358
  case 481692
  case 373718
  case 290406
  case 562584
  case 837373
  case 837372
  case 60191
  case 301040
  case 301050
  case 428350
  case 474312
  case 239647
  case 627276
  case 360744
  case 282488
  case 942285
  case 751072
  case 162598
  case 845423
  case 324731
  case 889154
  case 537369
  case 178935
  case 938457
  case 27964
// Fill in Here
   setvar TEMPVAR4 1
  break
  endswitch
  ifvare TEMPVAR4 1 redefinequote 332 enter your PIN # below:
  state pal22
  state gtz
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 3 // Options Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 WITHDRAW
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 WIRE
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 496
   setvar digy 55
  }
  else
  {
   setvar digx 496
   setvar digy 48
  }
  redefinequote 332 DEPOSIT
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 491 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 491 // 453
   setvar digy 152
  }
  redefinequote 332 LOGOUT
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz



  setvar textscale 49152
  state settilealphanum
  // Screen Text
  ifvare atm_acctnum 132995 // Duke
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Nukem!  Aliens
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 Got you down? Maybe some
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 cash and chicks will cheer 
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 you right up!  :)"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 164702 // Jack
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Walker!  How is
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 'Playing Hero' going for you?
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 maybe you can use some extra
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 cash for help!  :P"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 171792 // Bubsy
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Bobcat!  Movie
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 business slow? Maybe you
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 need some new inspiration
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 in your life!  :P"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 789152 // Ami
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Mizuno!  Still
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 cramming at the books? An
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 adventure of large proportions
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 will loosen you up!  :)"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 171396 // Higa
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Hakaisha!  Zilla
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 pissing you off? Maybe you
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 need a new weapon with his
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 name on it!  >:D"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 218479 // ESSence
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Margalan!  If you
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 are feeling depressed, do not
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 worry, for there are 'true'
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 friends out there for you!  :D"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 195382 // Ted
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Maldoras!  How's
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 the battle going for you? If
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 you need help, cash can always
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 do you good!  ;)"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 475394 // Lisa
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Bates!  You're
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 still just as cute and lovely
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 as last time!  What brings you
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 here, baby? ;D"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 363851 // Cybanis
  {
   state digx320
   setvar digy 63
   redefinequote 332 "Welcome Mr. Morgandos!  Do
   state pal22
   state gtz

   state digx320
   setvar digy 69
   redefinequote 332 not let your quest for justice
   state pal22
   state gtz

   state digx320
   setvar digy 75
   redefinequote 332 become pure vengeance, or you 
   state pal22
   state gtz

   state digx320
   setvar digy 81
   redefinequote 332 will lose yourself in total
   state pal22
   state gtz

   state digx320
   setvar digy 87
   redefinequote 332 darkness!  :\"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 963246 // Christina/Nethra
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Mitchell!  The
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 future is bright like a star,
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 and your bright shines bright!
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 success will come soon!  :)"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 180194 // Paula
  {
   state digx320
   setvar digy 63
   redefinequote 332 "Welcome Miss Polestar!  On
   state pal22
   state gtz

   state digx320
   setvar digy 69
   redefinequote 332 another adventure to save the
   state pal22
   state gtz

   state digx320
   setvar digy 75
   redefinequote 332 world from aliens?!  Man, you
   state pal22
   state gtz

   state digx320
   setvar digy 81
   redefinequote 332 go through those like hot
   state pal22
   state gtz

   state digx320
   setvar digy 87
   redefinequote 332 cakes!  Need any cash? :P"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 638192 // Lori
  {
   state digx320
   setvar digy 63
   redefinequote 332 "Welcome Miss Stephens!  You
   state pal22
   state gtz

   state digx320
   setvar digy 69
   redefinequote 332 must remember you are quite
   state pal22
   state gtz

   state digx320
   setvar digy 75
   redefinequote 332 unique among most people in
   state pal22
   state gtz

   state digx320
   setvar digy 81
   redefinequote 332 the world!  Use that to your
   state pal22
   state gtz

   state digx320
   setvar digy 87
   redefinequote 332 advantage!  :D"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 512560 // Minako
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Aino!  You love
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 your friends, but don't allow
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 anger to take hold of you! Let
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 happiness do the talking! :)"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 198255 // Mystery Lady
  {
   state digx320
   setvar digy 66
   ifvare PUBLICBETA? 0 redefinequote 332 "Welcome Miss Maboroshi!  The
  redefinequote 332 "Welcome Miss Genkai!  The
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 world is a big place isn't it?
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 What you need is someone who
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 loves you much and always!  :)"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 918372 // Maken
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Shinkara!  Some
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 lessons take longer than others
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 to learn in life, and hopefully
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 you'll come to terms soon!  :\"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 132092 // President Bill Clinton
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Clinton!  So how's
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 time in office going, Mr. Pres-
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 ident? Don't feel bad about the
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 invasion, for all is good! :)"
   state pal22
   state gtz
  }

  ifvare atm_acctnum 890143 // Vice-President Al Gore
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Gore!  Keeping in
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 touch with nature lately? Keep
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 up the good work, Mr. Vice-

   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 President! ;)"
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 436743 // George Broussard
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Broussard!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 787953 // Stephen Hornback
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Hornback!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 636223 // Jim Norwood
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Norwood!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 742369 // Frank Maddin
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Maddin!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 569264 // Stephen Cole
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Cole!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 472669 // Lani Minella
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Ms. Minella!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 122994 // Joe Siegler
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Siegler!  Planning
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 on any more in-game roles for
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 3D Realms in the future? :)"
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 782548 // Lee Jackson
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Jackson!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 385333 // Chuck Jones
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Jones!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22

   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 724264 // Keith Schuler
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Schuler!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 388256 // Randy Pitchford II
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Pitchford!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 267337 // Brian Martel
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Martel!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 372273 // Snake Plissken
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Plissken!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 768439 // Indiana Jones
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Jones! Heading
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 out on another dig soon? Let
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 us give you some pointers,
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 eh? ;)"
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 249453 // Phil Graves
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Graves!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 559294 // Donald Harrison
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Harrison!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 475137 // Cameron Bates
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Bates!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 916821 // Kasey Shinkara
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. SHINKARA!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 474241 // Victoria Bates
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mrs. Bates!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 473744 // Harold Bates
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Bates!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 10345 // John R. Blade (Joke Cameo Account)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Blade! If you
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 seek Hardcorps recruits,
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 avoid LARD at all cost.
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 they're bad news, man! :("
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 10333 // Elexis Sinclaire (Joke Cameo Account)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Sinclaire! Sec-
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332 Forces been sucking lately?
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332 Hire members of EDF for max-
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332 imum security! ;D"
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 473745 // Jerold Bates
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Bates!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 181595 // Ness Itoi
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Itoi!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 927487 // Veronnica Herrera (Staff-Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Herrera!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 22357 // "Jason Monroe" (Staff-Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Monroe!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 486652 // Sean Gauthier (Staff-Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Gauthier!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 333737 // Daniel Gaskill (Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Gaskill!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 732567 // William Gee (Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Gee!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 40987 // James Stanfield (Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Stanfield!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 131072 // Richard Gobeille (Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Gobeille!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 262144 // Pierre-Loup Griffais (Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Griffais!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 65536 // Johnathon Fowler (Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Fowler!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 524288 // Matt Saettler (Cameo)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Saettler!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }

  ifvare atm_acctnum 328436 // David Wolfe (Staff Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Wolfe!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 646256 // Chantelle Sundeen (Staff Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Sundeen!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 666482 // Callum Sanderson (Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Sanderson!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 825332 // Ian Burton (Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Burton!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 359941 // Daniel Lazar (Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Lazar!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 140884 // Merlijn Van Oostrum (Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Van Oostrum!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 666208 // Maarten Van Oostrum (Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Van Oostrum!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 382382 // Cody Dowdle (Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Dowdle!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 290400 // Samuel Lawson (Staff Cameo NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Lawson!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 656371 // Edward Maldoras (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Maldoras!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 656374 // Jennifer Maldoras (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mrs. Maldoras!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 645933 // Todd Shinkara (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Shinkara!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 645931 // Rachel Shinkara (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mrs. Shinkara!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 442795 // David Walker (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Walker!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 577216 // Edwina Walker (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mrs. Walker!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 132996 // Daisy Davis (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Davis!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 272957 // Duke Davis Sr. (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Davis!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 102464 // Francine Davis (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mrs. Davis!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 578341 // Yahnzee Tyrell (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. TYRELL!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 372466 // Matei Hakaisha (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Hakaisha!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 669264 // Tensi-Yoko Hakaisha (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Hakaisha!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 297581 // Usagi Tsukino (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Tsukino!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 194882 // Rei Hino (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Hino!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 105526 // Makoto Kino (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Kino!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 119358 // Torian Stevens (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Stevens!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 481692 // Kristen Morrison (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Morrison!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 373718 // Larry Cameron (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Cameron!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 290406 // Anthony Reimos (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Reimos!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 562584 // Katrina Anderson (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Anderson!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 837373 // Terrance Bobcat (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Bobcat!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 837372 // Teresa Bobcat (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss Bobcat!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 60191 // Victor Elecmire (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Elecmire!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 301040 // William Blazkowicz II (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Blazkowicz!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 301050 // Mortimer McMire (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. McMire!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 428350 // Molly McMire (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Miss McMire!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 474312 // Merilyn Bates (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mrs. Bates!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 239647 // Jesus Medina (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Medina!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 627276 // Marcus Collier (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Collier!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 360744 // Larry Huggins (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Huggins!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 282488 // Glenn Cox (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Cox!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 942285 // Darius Jefferies (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Jefferies!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 751072 // Ramone Deggaris (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Deggaris!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 162598 // Dillard L. Blake (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Blake!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 845423 // Tankanori Zilla (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Zilla!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 324731 // Natsuken Zilla (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Zilla!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 889154 // Caleb Valiant (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Valiant!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 537369 // "John Robert Foster" (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Foster!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 178935 // Ion Zerman (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Zerman!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 938457 // Kenneth Fertang (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Fertang!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   

  ifvare atm_acctnum 27964 // Quenton Stephens (NPC)
  {
   state digx320
   setvar digy 66
   redefinequote 332 "Welcome Mr. Stephens!"
   state pal22
   state gtz

   state digx320
   setvar digy 72
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 78
   redefinequote 332  
   state pal22
   state gtz

   state digx320
   setvar digy 84
   redefinequote 332  
   state pal22
   state gtz
  }   
// Fill in more

  // Screen Text
  state digx320
  setvar digy 102
  redefinequote 332 Please select an option:
  state pal22
  state gtz

  state displayaccountinfo

  // Screen Text
  state digx320
  setvar digy 138
  setvarvar TEMP4 INTERESTINTERVAL2
  ifvare atm_acctnum 132995 ifvare DUKE? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 164702 ifvare JACK? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 171792 ifvare BUBSY? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 789152 ifvare AMI? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 171396 ifvare LOWANG? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 218479 ifvare ESSENCE? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 195382 ifvare TED? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 475394 ifvare LISA? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 363851 ifvare CYBANIS? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 963246 ifvare NETHRA? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 180194 ifvare PAULA? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 638192 ifvare LORI? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 512560 ifvare MINAKO? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 198255 ifvare MYSTERY1? 1 state safelockboxcheck_atmscreen
  ifvare atm_acctnum 918372 ifvare MAKEN? 1 state safelockboxcheck_atmscreen
  divvar TEMP4 1560
  state checkinterestrates
  setvarvar TEMP5 TEMP7
  divvar TEMP5 10
  setvarvar TEMP6 TEMP7
  modvar TEMP6 10
  redefinequote 332 Interest %: ^14%d.%d%^22 [Per ^20%d^22 Min]
  qsprintf 332 332 TEMP5 TEMP6 TEMP4
  state pal22
  state gtz

  setvar textscale 49152
  state settilealphanum
  // Error Messages
  ifvarg atm_serrortimer 0
  {
   state digx320
   setvar digy 162

   ifvare atm_serrortype 1 // Withdraw Error
    redefinequote 332 ERROR: No money in account!
   else ifvare atm_serrortype 2 // Deposit Error
    redefinequote 332 ERROR: You have no money!
   else ifvare atm_serrortype 3 // Wire Funds Error
    redefinequote 332 ERROR: No money in account!
   else // Unknown Error
    redefinequote 332 ERROR: !!UNKNOWN ERROR!!

   state pal22
   state gtz   
   subvar atm_serrortimer 1
  }
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 4 // Withdrawl Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 WITHDRAW CASH
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }
  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 489 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 489 // 453
   setvar digy 152
  }
  redefinequote 332 CANCEL
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152
  state settilealphanum
  state digx320
  setvar digy 72
  redefinequote 332 ENTER THE AMOUNT TO WITHDRAW:
  state pal22
  state gtz

  state displayaccountamountwithwire

  state showatmwdwinput

  setvar textscale 49152
  state settilealphanum
  // Error Messages
  ifvarg atm_serrortimer 0
  {
   state digx320
   setvar digy 162

   ifvare atm_serrortype 1 // No Amount Entered
    redefinequote 332 ERROR: No value entered!
   else ifvare atm_serrortype 2 // Overflow Error
    redefinequote 332 ERROR: Insufficiant fund amount!
   else // Unknown Error
    redefinequote 332 ERROR: !!UNKNOWN ERROR!!

   state pal22
   state gtz   
   subvar atm_serrortimer 1
  }
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 5 // Deposit Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 DEPOSIT CASH
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }
  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 489 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 489 // 453
   setvar digy 152
  }
  redefinequote 332 CANCEL
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152
  state settilealphanum
  state digx320
  setvar digy 72
  redefinequote 332 Enter the amount to deposit:
  state pal22
  state gtz

  state digx320
  setvar digy 78
  state pal22

  setvarvar TEMP DOLLARS
  setvarvar tempb CENTS

  redefinequote 332 Current Money: $0000000000.00
  ifvarg TEMP -1
  ifvarl TEMP 10
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $000000000%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $000000000%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 9
  ifvarl TEMP 100
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $00000000%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $00000000%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 99
  ifvarl TEMP 1000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $0000000%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $0000000%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 999
  ifvarl TEMP 10000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $000000%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $000000%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 9999
  ifvarl TEMP 100000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $00000%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $00000%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 99999
  ifvarl TEMP 1000000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $0000%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $0000%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 999999
  ifvarl TEMP 10000000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $000%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $000%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 9999999
  ifvarl TEMP 100000000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $00%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $00%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 99999999
  ifvarl TEMP 1000000000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $0%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $0%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 999999999
  ifvarl TEMP 2147483647
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 Current Money: $%ld.0%ld
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 Current Money: $%ld.%ld
    qsprintf 332 2002 TEMP tempb
   }
  }
  state gtz

  state showatmwdwinput

  setvar textscale 49152
  state settilealphanum
  // Error Messages
  ifvarg atm_serrortimer 0
  {
   state digx320
   setvar digy 162

   ifvare atm_serrortype 1 // No Amount Entered
    redefinequote 332 ERROR: No value entered!
   else ifvare atm_serrortype 2 // Not Enough Money
    redefinequote 332 ERROR: Amount too high to deposit!
   else // Unknown Error
    redefinequote 332 ERROR: !!UNKNOWN ERROR!!

   state pal22
   state gtz   
   subvar atm_serrortimer 1
  }
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 6 // "Please Take Cash" Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 OPTIONS
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }
  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 499 // 453
   setvar digy 152
  }
  redefinequote 332 EXIT
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152
  ifvare atm_action 0
  {
   // Screen Text
   state digx320
   setvar digy 72
   redefinequote 332 Your money has been dispensed.
   state pal22
   state gtz
   state digx320
   setvar digy 78
   redefinequote 332 More options or exit?
   state pal22
   state gtz
  }
  ifvare atm_action 1
  {
   // Screen Text
   state digx320
   setvar digy 72
   redefinequote 332 Your money has been deposited.
   state pal22
   state gtz
   state digx320
   setvar digy 78
   redefinequote 332 More options or exit?
   state pal22
   state gtz
  }
  ifvare atm_action 2
  {
   // Screen Text

  setvarvar TEMP atm_amount_dollars
  setvarvar tempb atm_amount_cents

  redefinequote 332 $0000000.00 has been wired to:
  ifvarg TEMP -1
  ifvarl TEMP 10
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 $000000%ld.0%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 $000000%ld.%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 9
  ifvarl TEMP 100
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 $00000%ld.0%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 $00000%ld.%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 99
  ifvarl TEMP 1000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 $0000%ld.0%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 $0000%ld.%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 999
  ifvarl TEMP 10000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 $000%ld.0%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 $000%ld.%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 9999
  ifvarl TEMP 100000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 $00%ld.0%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 $00%ld.%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 99999
  ifvarl TEMP 1000000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 $0%ld.0%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 $0%ld.%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
  }
  else
  ifvarg TEMP 999999
  ifvarl TEMP 10000000
  {
   ifvarg tempb -1
   ifvarl tempb 10
   {
    redefinequote 2002 $%ld.0%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
   else
   {
    redefinequote 2002 $%ld.%ld has been wired to:
    qsprintf 332 2002 TEMP tempb
   }
  }
   state digx320
   setvar digy 70
   state pal22
   state gtz

   // Show Receiver of Money
   state digx320
   setvar digy 76
   state atm_showwiretonames
   state pal14
   state gtz

   state digx320
   setvar digy 86
   redefinequote 332 More options or exit?
   state pal22
   state gtz
  }
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 7 // "Wire Funds Entry" Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 CONFIRM
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }
  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 489 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 489 // 453
   setvar digy 152
  }
  redefinequote 332 CANCEL
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152
  state settilealphanum
  state digx320
  setvar digy 72
  redefinequote 332 Enter the amount to wire:
  state pal22
  state gtz

  state displayaccountamountwithwire

  state showatmwdwinput

  setvar textscale 49152
  state settilealphanum
  // Error Messages
  ifvarg atm_serrortimer 0
  {
   state digx320
   setvar digy 162

   ifvare atm_serrortype 1 // No Amount Entered
    redefinequote 332 ERROR: No value entered!
   else ifvare atm_serrortype 2 // Overflow Error
    redefinequote 332 ERROR: In sufficant funds!
   else // Unknown Error
    redefinequote 332 ERROR: !!UNKNOWN ERROR!!

   state pal22
   state gtz   
   subvar atm_serrortimer 1
  }
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 8 // "Wire Funds To" Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 CONFIRM
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 499
   setvar digy 55
  }
  else
  {
   setvar digx 499
   setvar digy 48
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 489 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 489 // 453
   setvar digy 152
  }
  redefinequote 332 CANCEL
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152
  state settilealphanum
  state digx320
  setvar digy 72
  redefinequote 332 Enter the account # to wire to:
  state pal22
  state gtz

  ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS setvar textscale 65536 else setvar textscale 49152
  state settile2837
  // Entering Wire ACCT#
  state digx160
  setvar digy 100
  setvarvar varname atm_wacctnum
  ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS state paletteflasher else state pal22
  state dnz
  state pal22

  setvar textscale 49152
  state settilealphanum
  state digx320
  setvar digy 130
  state atm_showwiretonames
  state pal14
  state gtz

  setvar textscale 49152
  state settilealphanum
  // Error Messages
  ifvarg atm_serrortimer 0
  {
   state digx320
   setvar digy 162

   ifvare atm_serrortype 1 // No Amount Entered
    redefinequote 332 ERROR: Can't wire to own account!
   else ifvare atm_serrortype 2 // No Amount Entered
    redefinequote 332 ERROR: Can't wire to an invalid account!
   else // Unknown Error
    redefinequote 332 ERROR: !!UNKNOWN ERROR!!

   state pal22
   state gtz   
   subvar atm_serrortimer 1
  }
 }

 setvar textscale 65536
 state settilealphanum
 // Screen Displays
 ifvare atm_mode 9 // "ERROR" Screen
 {
  // Top Left Button (Steroids Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 55
  }
  else
  {
   setvar digx 133
   setvar digy 48
  }
  redefinequote 332 LOG-IN
  state pal22
  state gtz

  // Middle-Top Left Button (Jetpack Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 86
  }
  else
  {
   setvar digx 133
   setvar digy 82
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Middle-Bottom Left Button (Jump Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 117
  }
  else
  {
   setvar digx 133
   setvar digy 118
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Bottom Left Button (Inv_Right Button)
  ifvarand atm_type 4
  {
   setvar digx 133
   setvar digy 147
  }
  else
  {
   setvar digx 133
   setvar digy 152
  }
  redefinequote 332 -
  state pal22
  state gtz

  // Top Right Button (Night Vision Button)
  ifvarand atm_type 4
  {
   setvar digx 491
   setvar digy 55
  }
  else
  {
   setvar digx 491
   setvar digy 48
  }
  redefinequote 332 RETURN
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Middle Right Button (Holoduke Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 86
  }
  else
  {
   setvar digx 499
   setvar digy 82
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Crouch Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 117
  }
  else
  {
   setvar digx 499
   setvar digy 118
  }
  redefinequote 332 -
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  // Bottom Right Button (Inv_Left Button)
  ifvarand atm_type 4
  {
   setvar digx 499 // 453
   setvar digy 147
  }
  else
  {
   setvar digx 499 // 453
   setvar digy 152
  }
  redefinequote 332 EXIT
  qstrlen TEMPVAR 332
  ifvarg TEMPVAR 0
  {
   subvar TEMPVAR 1
   mulvar TEMPVAR 16
   subvarvar digx TEMPVAR
  }
  state pal22
  state gtz

  setvar textscale 49152
  state settilealphanum
  ifvare atm_errortype 1
  {
   // Screen Text
   state digx320
   setvar digy 69
   redefinequote 332 You have entered a bad
   state pal22
   state gtz
   state digx320
   setvar digy 75
   redefinequote 332 account number. Please try
   state pal22
   state gtz
   state digx320
   setvar digy 81
   redefinequote 332 and enter another number.
   state pal22
   state gtz
  }
  else
  ifvare atm_errortype 2
  {
   // Screen Text
   state digx320
   setvar digy 69
   redefinequote 332 You have entered the
   state pal22
   state gtz
   state digx320
   setvar digy 75
   redefinequote 332 wrong pin number. Please try
   state pal22
   state gtz
   state digx320
   setvar digy 81
   redefinequote 332 and enter another PIN number.
   state pal22
   state gtz
  }
 }
}
ends


state cmd_depositmoney
          getactorvar[CHARACTERARRAY].CHARACTERATMMONEYCENTS tempd
          getactorvar[CHARACTERARRAY].CHARACTERATMMONEYDOLLARS tempe
          addvarvar tempd atm_amount_cents
          ifvarg tempd 99 // checks for Cent overflow and corrects
          {
           addvar tempe 1
           subvar tempd 100
          }
          addvarvar tempe atm_amount_dollars
          ifvarg tempe 2000000000 // if total account after calculation is over 2 billion dollars, don't add
          {
           setvar atm_amount_all 0
           state randomatmbeeps sound MENU_ERROR
          }
          else
          {
           getactorvar[CHARACTERARRAY].CHARACTERATMMONEYCENTS tempb
           getactorvar[CHARACTERARRAY].CHARACTERATMMONEYDOLLARS tempc
           addvarvar tempb atm_amount_cents
           ifvarg tempb 99 { addvar tempc 1 subvar tempb 100 }
           ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar CENTS atm_amount_cents
           addvarvar tempc atm_amount_dollars
           ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar DOLLARS atm_amount_dollars
           setactorvar[CHARACTERARRAY].CHARACTERATMMONEYCENTS tempb
           setactorvar[CHARACTERARRAY].CHARACTERATMMONEYDOLLARS tempc
           ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar DISPLAYDOLLARS atm_amount_dollars
           ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar DISPLAYCENTS atm_amount_cents
           state displaymoney
           setvar atm_amount_all 0
           setvar atm_mode 6
           sound MONEYSOUND
           ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS state cheatersound
          }
ends

state cmd_depositmoney2
          ifvare atm_acctnum 132995 // Duke
          {
           setvar CHARACTERARRAY 1
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 164702 // Jack
          {
           setvar CHARACTERARRAY 2
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 171792 // Bubsy
          {
           setvar CHARACTERARRAY 3
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 789152 // Ami
          {
           setvar CHARACTERARRAY 4
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 171396 // Higa
          {
           setvar CHARACTERARRAY 5
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 218479 // ESSence
          {
           setvar CHARACTERARRAY 6
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 195382 // Ted
          {
           setvar CHARACTERARRAY 7
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 475394 // Lisa
          {
           setvar CHARACTERARRAY 8
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 363851 // Cybanis
          {
           setvar CHARACTERARRAY 9
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 963246 // Christina/Nethra
          {
           setvar CHARACTERARRAY 10
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 180194 // Paula
          {
           setvar CHARACTERARRAY 11
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 638192 // Lori
          {
           setvar CHARACTERARRAY 12
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 512560 // Minako
          {
           setvar CHARACTERARRAY 13
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 198255 // "Mystery Lady"
          {
           setvar CHARACTERARRAY 14
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 918372 // Maken
          {
           setvar CHARACTERARRAY 15
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 132092 // President Clinton (NPC)
          {
           setvar CHARACTERARRAY 257
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 890143 // Vice-President Gore (NPC)
          {
           setvar CHARACTERARRAY 258
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 436743 // George Broussard [3DR]
          {
           setvar CHARACTERARRAY 259
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 787953 // Stephen Hornback [3DR]
          {
           setvar CHARACTERARRAY 260
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 636223 // Jim Norwood [3DR]
          {
           setvar CHARACTERARRAY 261
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 742369 // Frank Maddin [3DR]
          {
           setvar CHARACTERARRAY 262
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 569264 // Stephen Cole [3DR]
          {
           setvar CHARACTERARRAY 263
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 472669 // Lani Minella [VOA]
          {
           setvar CHARACTERARRAY 264
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 122994 // Joe Siegler [3DR]
          {
           setvar CHARACTERARRAY 265
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 782548 // Lee Jackson [3DR]
          {
           setvar CHARACTERARRAY 266
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 385333 // Chuck Jones [3DR]
          {
           setvar CHARACTERARRAY 267
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 724264 // Keith Schuler [3DR]
          {
           setvar CHARACTERARRAY 268
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 388256 // Randy Pitchford II [3DR]
          {
           setvar CHARACTERARRAY 269
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 267337 // Brian Martel [3DR]
          {
           setvar CHARACTERARRAY 270
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 372273 // Snake Plissken [Cameo]
          {
           setvar CHARACTERARRAY 271
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 768439 // Indiana Jones [Cameo]
          {
           setvar CHARACTERARRAY 272
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 249453 // Phil Graves (NPC)
          {
           setvar CHARACTERARRAY 273
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 559294 // Donald Harrison (NPC)
          {
           setvar CHARACTERARRAY 274
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 475137 // Cameron Bates (NPC)
          {
           setvar CHARACTERARRAY 275
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 916821 // Kasey Shinkara (NPC)
          {
           setvar CHARACTERARRAY 276
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 474241 // Victoria Bates (NPC)
          {
           setvar CHARACTERARRAY 277
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 473744 // Harold Bates (NPC)
          {
           setvar CHARACTERARRAY 278
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 10345 // John R. Blade [Cameo]
          {
           setvar CHARACTERARRAY 279
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 10333 // Elexis Sinclaire [Cameo]
          {
           setvar CHARACTERARRAY 280
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 473745 // Jerold Bates (NPC)
          {
           setvar CHARACTERARRAY 281
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 181595 // Ness Itoi (NPC)
          {
           setvar CHARACTERARRAY 282
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 927487 // Veronnica Herrera (Staff Cameo)
          {
           setvar CHARACTERARRAY 283
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 22357 // "Jason Monroe" (Staff Cameo)
          {
           setvar CHARACTERARRAY 284
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 486652 // Sean Gauthier (Staff Cameo)
          {
           setvar CHARACTERARRAY 285
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 333737 // Daniel Gaskill (Cameo)
          {
           setvar CHARACTERARRAY 286
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 732567 // William Gee (Cameo)
          {
           setvar CHARACTERARRAY 287
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 40987 // James Stanfield (Cameo)
          {
           setvar CHARACTERARRAY 288
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 131072 // Richard Gobeille (Cameo)
          {
           setvar CHARACTERARRAY 289
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 262144 // Pierre-Loup Griffais (Cameo)
          {
           setvar CHARACTERARRAY 290
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 65536 // Johnathon Fowler (Cameo)
          {
           setvar CHARACTERARRAY 291
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 524288 // Matt Saettler (Cameo)
          {
           setvar CHARACTERARRAY 292
           state cmd_depositmoney
          }
          else
          ifvare atm_acctnum 328436 // David Wolfe (Staff Cameo NPC)
          {
           setvar CHARACTERARRAY 293
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 646256 // Chantelle Sundeen (Staff Cameo NPC)
          {
           setvar CHARACTERARRAY 294
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 666482 // Callum Sanderson (Cameo NPC)
          {
           setvar CHARACTERARRAY 295
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 825332 // Ian Burton (Cameo NPC)
          {
           setvar CHARACTERARRAY 296
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 359941 // Daniel Lazar (Cameo NPC)
          {
           setvar CHARACTERARRAY 297
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 140884 // Merlijn Van Oostrum (Cameo NPC)
          {
           setvar CHARACTERARRAY 298
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 666208 // Maarten Van Oostrum (Cameo NPC)
          {
           setvar CHARACTERARRAY 299
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 382382 // Cody Dowdle (Cameo NPC)
          {
           setvar CHARACTERARRAY 300
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 290400 // Samuel Lawson (Staff Cameo NPC)
          {
           setvar CHARACTERARRAY 301
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 656371 // Edward Maldoras (NPC)
          {
           setvar CHARACTERARRAY 302
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 656374 // Jennifer Maldoras (NPC)
          {
           setvar CHARACTERARRAY 303
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 645933 // Todd Shinkara (NPC)
          {
           setvar CHARACTERARRAY 304
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 645931 // Rachel Shinkara (NPC)
          {
           setvar CHARACTERARRAY 305
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 442795 // David Walker (NPC)
          {
           setvar CHARACTERARRAY 306
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 577216 // Edwina Walker (NPC)
          {
           setvar CHARACTERARRAY 307
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 132996 // Daisy Davis (NPC)
          {
           setvar CHARACTERARRAY 308
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 272957 // Duke Davis Sr. (NPC)
          {
           setvar CHARACTERARRAY 309
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 102464 // Francine Davis (NPC)
          {
           setvar CHARACTERARRAY 310
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 578341 // Yahnzee Tyrell (NPC)
          {
           setvar CHARACTERARRAY 311
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 372466 // Matei Hakaisha (NPC)
          {
           setvar CHARACTERARRAY 312
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 669264 // Tensi-Yoko Hakaisha (NPC)
          {
           setvar CHARACTERARRAY 313
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 297581 // Usagi Tsukino (NPC)
          {
           setvar CHARACTERARRAY 314
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 194882 // Rei Hino (NPC)
          {
           setvar CHARACTERARRAY 315
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 105526 // Makoto Kino (NPC)
          {
           setvar CHARACTERARRAY 316
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 119358 // Torian Stevens (NPC)
          {
           setvar CHARACTERARRAY 317
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 481692 // Kristen Morrison (NPC)
          {
           setvar CHARACTERARRAY 318
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 373718 // Larry Cameron (NPC)
          {
           setvar CHARACTERARRAY 319
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 290406 // Anthony Reimos (NPC)
          {
           setvar CHARACTERARRAY 320
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 562584 // Katrina Anderson (NPC)
          {
           setvar CHARACTERARRAY 321
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 837373 // Terrance Bobcat (NPC)
          {
           setvar CHARACTERARRAY 322
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 837372 // Teresa Bobcat (NPC)
          {
           setvar CHARACTERARRAY 323
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 60191 // Victor Elecmire (NPC)
          {
           setvar CHARACTERARRAY 324
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 301040 // William Blazkowicz II (NPC)
          {
           setvar CHARACTERARRAY 325
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 301050 // Mortimer McMire (NPC)
          {
           setvar CHARACTERARRAY 326
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 428350 // Molly Mcmire (NPC)
          {
           setvar CHARACTERARRAY 327
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 474312 // Merilyn Bates (NPC)
          {
           setvar CHARACTERARRAY 328
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 239647 // Jesus Medina (NPC)
          {
           setvar CHARACTERARRAY 329
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 627276 // Marcus Collier (NPC)
          {
           setvar CHARACTERARRAY 330
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 360744 // Larry Huggins (NPC)
          {
           setvar CHARACTERARRAY 331
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 282488 // Glenn Cox (NPC)
          {
           setvar CHARACTERARRAY 332
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 942285 // Darius Jefferies (NPC)
          {
           setvar CHARACTERARRAY 333
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 751072 // Ramone Deggaris (NPC)
          {
           setvar CHARACTERARRAY 334
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 162598 // Dillard L. Blake (NPC)
          {
           setvar CHARACTERARRAY 335
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 845423 // Tankanori Zilla (NPC)
          {
           setvar CHARACTERARRAY 336
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 324731 // Natsuken Zilla (NPC)
          {
           setvar CHARACTERARRAY 337
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 889154 // Caleb Valiant (NPC)
          {
           setvar CHARACTERARRAY 338
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 537369 // "John Robert Foster" (NPC)
          {
           setvar CHARACTERARRAY 339
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 178935 // Ion Zerman (NPC)
          {
           setvar CHARACTERARRAY 340
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 938457 // Kenneth Fertang (NPC)
          {
           setvar CHARACTERARRAY 341
           state cmd_depositmoney
          }   
          else
          ifvare atm_acctnum 27964 // Quenton Stephens (NPC)
          {
           setvar CHARACTERARRAY 342
           state cmd_depositmoney
          }   
// Fill in Here
          else // No one
          {
           setvar atm_amount_all 0
           setvar atm_mode 6
          }
ends

state cmd_withdrawmoney
          getactorvar[CHARACTERARRAY].CHARACTERATMMONEYDOLLARS TEMP
          getactorvar[CHARACTERARRAY].CHARACTERATMMONEYCENTS tempb
          ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar tempb atm_amount_cents
          ifvarl tempb 0
          {
           addvar tempb 100
           subvar TEMP 1
          }
          ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar TEMP atm_amount_dollars
          setactorvar[CHARACTERARRAY].CHARACTERATMMONEYDOLLARS TEMP
          setactorvar[CHARACTERARRAY].CHARACTERATMMONEYCENTS tempb
          addvarvar DISPLAYDOLLARS atm_amount_dollars
          addvarvar DISPLAYCENTS atm_amount_cents
          state displaymoney
          setvar atm_amount_all 0
          setvar atm_mode 6
          sound MONEYSOUND
          sound ATM_DISPENSE
          ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS state cheatersound
ends

state cmd_withdrawmoney2
          addvarvar CENTS atm_amount_cents
          addvarvar DOLLARS atm_amount_dollars
          ifvare atm_acctnum 132995 // Duke
          {
           setvar CHARACTERARRAY 1
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 164702 // Jack
          {
           setvar CHARACTERARRAY 2
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 171792 // Bubsy
          {
           setvar CHARACTERARRAY 3
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 789152 // Ami
          {
           setvar CHARACTERARRAY 4
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 171396 // Higa
          {
           setvar CHARACTERARRAY 5
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 218479 // ESSence
          {
           setvar CHARACTERARRAY 6
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 195382 // Ted
          {
           setvar CHARACTERARRAY 7
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 475394 // Lisa
          {
           setvar CHARACTERARRAY 8
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 363851 // Cybanis
          {
           setvar CHARACTERARRAY 9
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 963246 // Christina/Nethra
          {
           setvar CHARACTERARRAY 10
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 180194 // Paula
          {
           setvar CHARACTERARRAY 11
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 638192 // Lori
          {
           setvar CHARACTERARRAY 12
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 512560 // Minako
          {
           setvar CHARACTERARRAY 13
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 198255 // "Mystery Lady"
          {
           setvar CHARACTERARRAY 14
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 918372 // Maken
          {
           setvar CHARACTERARRAY 15
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 132092 // President Clinton (NPC)
          {
           setvar CHARACTERARRAY 257
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 890143 // Vice-President Gore (NPC)
          {
           setvar CHARACTERARRAY 258
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 436743 // George Broussard [3DR]
          {
           setvar CHARACTERARRAY 259
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 787953 // Stephen Hornback [3DR]
          {
           setvar CHARACTERARRAY 260
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 636223 // Jim Norwood [3DR]
          {
           setvar CHARACTERARRAY 261
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 742369 // Frank Maddin [3DR]
          {
           setvar CHARACTERARRAY 262
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 569264 // Stephen Cole [3DR]
          {
           setvar CHARACTERARRAY 263
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 472669 // Lani Minella [VOA]
          {
           setvar CHARACTERARRAY 264
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 122994 // Joe Siegler [3DR]
          {
           setvar CHARACTERARRAY 265
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 782548 // Lee Jackson [3DR]
          {
           setvar CHARACTERARRAY 266
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 385333 // Chuck Jones [3DR]
          {
           setvar CHARACTERARRAY 267
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 724264 // Keith Schuler [3DR]
          {
           setvar CHARACTERARRAY 268
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 388256 // Randy Pitchford II [3DR]
          {
           setvar CHARACTERARRAY 269
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 267337 // Brian Martel [3DR]
          {
           setvar CHARACTERARRAY 270
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 372273 // Snake Plissken [Cameo]
          {
           setvar CHARACTERARRAY 271
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 768439 // Indiana Jones [Cameo]
          {
           setvar CHARACTERARRAY 272
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 249453 // Phil Graves (NPC)
          {
           setvar CHARACTERARRAY 273
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 559294 // Donald Harrison (NPC)
          {
           setvar CHARACTERARRAY 274
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 475137 // Cameron Bates (NPC)
          {
           setvar CHARACTERARRAY 275
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 916821 // Kasey Shinkara (NPC)
          {
           setvar CHARACTERARRAY 276
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 474241 // Victoria Bates (NPC)
          {
           setvar CHARACTERARRAY 277
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 473744 // Harold Bates (NPC)
          {
           setvar CHARACTERARRAY 278
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 10345 // John R. Blade [Cameo]
          {
           setvar CHARACTERARRAY 279
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 10333 // Elexis Sinclaire [Cameo]
          {
           setvar CHARACTERARRAY 280
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 473745 // Jerold Bates (NPC)
          {
           setvar CHARACTERARRAY 281
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 181595 // Ness Itoi (NPC)
          {
           setvar CHARACTERARRAY 282
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 927487 // Veronnica Herrera (Staff Cameo)
          {
           setvar CHARACTERARRAY 283
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 22357 // "Jason Monroe" (Staff Cameo)
          {
           setvar CHARACTERARRAY 284
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 486652 // Sean Gauthier (Staff Cameo)
          {
           setvar CHARACTERARRAY 285
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 333737 // Daniel Gaskill (Cameo)
          {
           setvar CHARACTERARRAY 286
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 732567 // William Gee (Cameo)
          {
           setvar CHARACTERARRAY 287
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 40987 // James Stanfield (Cameo)
          {
           setvar CHARACTERARRAY 288
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 131072 // Richard Gobeille (Cameo)
          {
           setvar CHARACTERARRAY 289
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 262144 // Pierre-Loup Griffais (Cameo)
          {
           setvar CHARACTERARRAY 290
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 65536 // Johnathon Fowler (Cameo)
          {
           setvar CHARACTERARRAY 291
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 524288 // Matt Saettler (Cameo)
          {
           setvar CHARACTERARRAY 292
           state cmd_withdrawmoney
          }
          else
          ifvare atm_acctnum 328436 // David Wolfe (Staff Cameo NPC)
          {
           setvar CHARACTERARRAY 293
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 646256 // Chantelle Sundeen (Staff Cameo NPC)
          {
           setvar CHARACTERARRAY 294
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 666482 // Callum Sanderson (Cameo NPC)
          {
           setvar CHARACTERARRAY 295
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 825332 // Ian Burton (Cameo NPC)
          {
           setvar CHARACTERARRAY 296
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 359941 // Daniel Lazar (Cameo NPC)
          {
           setvar CHARACTERARRAY 297
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 140884 // Merlijn Van Oostrum (Cameo NPC)
          {
           setvar CHARACTERARRAY 298
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 666208 // Maarten Van Oostrum (Cameo NPC)
          {
           setvar CHARACTERARRAY 299
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 382382 // Cody Dowdle (Cameo NPC)
          {
           setvar CHARACTERARRAY 300
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 290400 // Samuel Lawson (Staff Cameo NPC)
          {
           setvar CHARACTERARRAY 301
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 656371 // Edward Maldoras (NPC)
          {
           setvar CHARACTERARRAY 302
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 656374 // Jennifer Maldoras (NPC)
          {
           setvar CHARACTERARRAY 303
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 645933 // Todd Shinkara (NPC)
          {
           setvar CHARACTERARRAY 304
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 645931 // Rachel Shinkara (NPC)
          {
           setvar CHARACTERARRAY 305
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 442795 // David Walker (NPC)
          {
           setvar CHARACTERARRAY 306
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 577216 // Edwina Walker (NPC)
          {
           setvar CHARACTERARRAY 307
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 132996 // Daisy Davis (NPC)
          {
           setvar CHARACTERARRAY 308
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 272957 // Duke Davis Sr. (NPC)
          {
           setvar CHARACTERARRAY 309
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 102464 // Francine Davis (NPC)
          {
           setvar CHARACTERARRAY 310
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 578341 // Yahnzee Tyrell (NPC)
          {
           setvar CHARACTERARRAY 311
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 372466 // Matei Hakaisha (NPC)
          {
           setvar CHARACTERARRAY 312
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 669264 // Tensi-Yoko Hakaisha (NPC)
          {
           setvar CHARACTERARRAY 313
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 297581 // Usagi Tsukino (NPC)
          {
           setvar CHARACTERARRAY 314
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 194882 // Rei Hino (NPC)
          {
           setvar CHARACTERARRAY 315
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 105526 // Makoto Kino (NPC)
          {
           setvar CHARACTERARRAY 316
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 119358 // Torian Stevens (NPC)
          {
           setvar CHARACTERARRAY 317
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 481692 // Kristen Morrison (NPC)
          {
           setvar CHARACTERARRAY 318
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 373718 // Larry Cameron (NPC)
          {
           setvar CHARACTERARRAY 319
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 290406 // Anthony Reimos (NPC)
          {
           setvar CHARACTERARRAY 320
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 562584 // Katrina Anderson (NPC)
          {
           setvar CHARACTERARRAY 321
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 837373 // Terrance Bobcat (NPC)
          {
           setvar CHARACTERARRAY 322
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 837372 // Teresa Bobcat (NPC)
          {
           setvar CHARACTERARRAY 323
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 60191 // Victor Elecmire (NPC)
          {
           setvar CHARACTERARRAY 324
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 301040 // William Blazkowicz II (NPC)
          {
           setvar CHARACTERARRAY 325
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 301050 // Mortimer McMire (NPC)
          {
           setvar CHARACTERARRAY 326
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 428350 // Molly Mcmire (NPC)
          {
           setvar CHARACTERARRAY 327
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 474312 // Merilyn Bates (NPC)
          {
           setvar CHARACTERARRAY 328
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 239647 // Jesus Medina (NPC)
          {
           setvar CHARACTERARRAY 329
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 627276 // Marcus Collier (NPC)
          {
           setvar CHARACTERARRAY 330
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 360744 // Larry Huggins (NPC)
          {
           setvar CHARACTERARRAY 331
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 282488 // Glenn Cox (NPC)
          {
           setvar CHARACTERARRAY 332
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 942285 // Darius Jefferies (NPC)
          {
           setvar CHARACTERARRAY 333
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 751072 // Ramone Deggaris (NPC)
          {
           setvar CHARACTERARRAY 334
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 162598 // Dillard L. Blake (NPC)
          {
           setvar CHARACTERARRAY 335
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 845423 // Tankanori Zilla (NPC)
          {
           setvar CHARACTERARRAY 336
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 324731 // Natsuken Zilla (NPC)
          {
           setvar CHARACTERARRAY 337
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 889154 // Caleb Valiant (NPC)
          {
           setvar CHARACTERARRAY 338
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 537369 // "John Robert Foster" (NPC)
          {
           setvar CHARACTERARRAY 339
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 178935 // Ion Zerman (NPC)
          {
           setvar CHARACTERARRAY 340
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 938457 // Kenneth Fertang (NPC)
          {
           setvar CHARACTERARRAY 341
           state cmd_withdrawmoney
          }   
          else
          ifvare atm_acctnum 27964 // Quenton Stephens (NPC)
          {
           setvar CHARACTERARRAY 342
           state cmd_withdrawmoney
          }   
// Fill in Here
          else // No one
          {
           setvar atm_amount_all 0
           setvar atm_mode 6
          }
ends

state cmd_wiremoney_receiver
       getactorvar[atm_wirereceivearray].CHARACTERATMMONEYDOLLARS tempc
       getactorvar[atm_wirereceivearray].CHARACTERATMMONEYCENTS tempd
       addvarvar tempd atm_amount_cents
       ifvarg tempd 99
       {
        subvar tempd 100
        addvar tempc 1
       }
       addvarvar tempc atm_amount_dollars
       setactorvar[atm_wirereceivearray].CHARACTERATMMONEYDOLLARS tempc
       setactorvar[atm_wirereceivearray].CHARACTERATMMONEYCENTS tempd

       ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar tempb atm_amount_cents
       ifvarl tempb 0
       {
        addvar tempb 100
        subvar TEMP 1
       }
       ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS nullop else subvarvar TEMP atm_amount_dollars
       setactorvar[atm_wiresendarray].CHARACTERATMMONEYDOLLARS TEMP
       setactorvar[atm_wiresendarray].CHARACTERATMMONEYCENTS tempb
       setvar atm_errortype 0
       // setvar atm_amount_all 0
       // setvar atm_amount_dollars 0
       // setvar atm_amount_cents 0
       setvar atm_mode 6
       state randomatmbeeps
ends

state cmd_wiremoney_sender
       getactorvar[atm_wiresendarray].CHARACTERATMMONEYDOLLARS TEMP
       getactorvar[atm_wiresendarray].CHARACTERATMMONEYCENTS tempb

       ifvarvare SHOPCHEATBITTOTAL SHOPCOMBOBITS state cheatersound
       // Receiving Accounts
       ifvare atm_wacctnum 132995 // Duke Nukem [Playable Character]
       {
        setvar atm_wirereceivearray 1
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 164702 // Jack Walker [Playable Character]
       {
        setvar atm_wirereceivearray 2
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 171792 // Bubsy Bobcat [Playable Character]
       {
        setvar atm_wirereceivearray 3
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 789152 // Ami Mizuno [Playable Character]
       {
        setvar atm_wirereceivearray 4
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 171396 // Higa Hakaisha [Playable Character]
       {
        setvar atm_wirereceivearray 5
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 218479 // ESSence Margalan [Playable Character]
       {
        setvar atm_wirereceivearray 6
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 195382 // Ted Maldoras [Playable Character]
       {
        setvar atm_wirereceivearray 7
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 475394 // Lisa Bates [Playable Character]
       {
        setvar atm_wirereceivearray 8
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 363851 // Cybanis Morgandos [Playable Character]
       {
        setvar atm_wirereceivearray 9
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 963246 // Christina Mitchell/Nethra Maboroshi [Playable Character]
       {
        setvar atm_wirereceivearray 10
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 180194 // Paula Polestar [Playable Character]
       {
        setvar atm_wirereceivearray 11
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 638192 // Lori Stephens [Playable Character]
       {
        setvar atm_wirereceivearray 12
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 512560 // Minako Aino [Playable Character]
       {
        setvar atm_wirereceivearray 13
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 198255 // "Mystery Lady" [Playable Character]
       {
        setvar atm_wirereceivearray 14
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 918372 // Maken Shinkara [Playable Character]
       {
        setvar atm_wirereceivearray 15
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 132092 // President Clinton (NPC)
       {
        setvar atm_wirereceivearray 257
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 890143 // Vice-President Gore (NPC)
       {
        setvar atm_wirereceivearray 258
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 436743 // George Broussard [3DR]
       {
        setvar atm_wirereceivearray 259
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 787953 // Stephen Hornback [3DR]
       {
        setvar atm_wirereceivearray 260
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 636223 // Jim Norwood [3DR]
       {
        setvar atm_wirereceivearray 261
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 742369 // Frank Maddin [3DR]
       {
        setvar atm_wirereceivearray 262
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 569264 // Stephen Cole [3DR]
       {
        setvar atm_wirereceivearray 263
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 472669 // Lani Minella [VOA]
       {
        setvar atm_wirereceivearray 264
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 122994 // Joe Siegler [3DR]
       {
        setvar atm_wirereceivearray 265
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 782548 // Lee Jackson [3DR]
       {
        setvar atm_wirereceivearray 266
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 385333 // Chuck Jones [3DR]
       {
        setvar atm_wirereceivearray 267
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 724264 // Keith Schuler [3DR]
       {
        setvar atm_wirereceivearray 268
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 388256 // Randy Pitchford II [3DR]
       {
        setvar atm_wirereceivearray 269
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 267337 // Brian Martel [3DR]
       {
        setvar atm_wirereceivearray 270
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 372273 // Snake Plissken [Cameo]
       {
        setvar atm_wirereceivearray 271
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 768439 // Indiana Jones [Cameo]
       {
        setvar atm_wirereceivearray 272
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 249453 // Phil Graves (NPC)
       {
        setvar atm_wirereceivearray 273
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 559294 // Donald Harrison (NPC)
       {
        setvar atm_wirereceivearray 274
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 475137 // Cameron Bates (NPC)
       {
        setvar atm_wirereceivearray 275
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 916821 // Kasey Shinkara (NPC)
       {
        setvar atm_wirereceivearray 276
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 474241 // Victoria Bates (NPC)
       {
        setvar atm_wirereceivearray 277
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 473744 // Harold Bates (NPC)
       {
        setvar atm_wirereceivearray 278
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 10345 // John R. Blade [Joke Cameo]
       {
        setvar atm_wirereceivearray 279
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 10333 // Elexis Sinclaire [Joke Cameo]
       {
        setvar atm_wirereceivearray 280
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 473745 // Jerold Bates (NPC)
       {
        setvar atm_wirereceivearray 281
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 181595 // Ness Itoi (NPC)
       {
        setvar atm_wirereceivearray 282
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 927487 // Veronnica Herrera (Staff Cameo)
       {
        setvar atm_wirereceivearray 283
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 22357 // "Jason Monroe" (Staff Cameo)
       {
        setvar atm_wirereceivearray 284
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 486652 // Sean Gauthier (Staff Cameo)
       {
        setvar atm_wirereceivearray 285
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 333737 // Daniel Gaskill (Cameo)
       {
        setvar atm_wirereceivearray 286
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 732567 // William Gee (Cameo)
       {
        setvar atm_wirereceivearray 287
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 40987 // James Stanfield (Cameo)
       {
        setvar atm_wirereceivearray 288
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 131072 // Richard Gobeille (Cameo)
       {
        setvar atm_wirereceivearray 289
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 262144 // Pierre-Loup Griffais (Cameo)
       {
        setvar atm_wirereceivearray 290
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 65536 // Johnathon Fowler (Cameo)
       {
        setvar atm_wirereceivearray 291
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 524288 // Matt Saettler (Cameo)
       {
        setvar atm_wirereceivearray 292
        state cmd_wiremoney_receiver
       }
       else
       ifvare atm_wacctnum 328436 // David Wolfe (Staff Cameo NPC)
       {
        setvar atm_wirereceivearray 293
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 646256 // Chantelle Sundeen (Staff Cameo NPC)
       {
        setvar atm_wirereceivearray 294
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 666482 // Callum Sanderson (Cameo NPC)
       {
        setvar atm_wirereceivearray 295
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 825332 // Ian Burton (Cameo NPC)
       {
        setvar atm_wirereceivearray 296
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 359941 // Daniel Lazar (Cameo NPC)
       {
        setvar atm_wirereceivearray 297
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 140884 // Merlijn Van Oostrum (Cameo NPC)
       {
        setvar atm_wirereceivearray 298
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 666208 // Maarten Van Oostrum (Cameo NPC)
       {
        setvar atm_wirereceivearray 299
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 382382 // Cody Dowdle (Cameo NPC)
       {
        setvar atm_wirereceivearray 300
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 290400 // Samuel Lawson (Staff Cameo NPC)
       {
        setvar atm_wirereceivearray 301
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 656371 // Edward Maldoras (NPC)
       {
        setvar atm_wirereceivearray 302
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 656374 // Jennifer Maldoras (NPC)
       {
        setvar atm_wirereceivearray 303
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 645933 // Todd Shinkara (NPC)
       {
        setvar atm_wirereceivearray 304
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 645931 // Rachel Shinkara (NPC)
       {
        setvar atm_wirereceivearray 305
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 442795 // David Walker (NPC)
       {
        setvar atm_wirereceivearray 306
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 577216 // Edwina Walker (NPC)
       {
        setvar atm_wirereceivearray 307
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 132996 // Daisy Davis (NPC)
       {
        setvar atm_wirereceivearray 308
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 272957 // Duke Davis Sr. (NPC)
       {
        setvar atm_wirereceivearray 309
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 102464 // Francine Davis (NPC)
       {
        setvar atm_wirereceivearray 310
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 578341 // Yahnzee Tyrell (NPC)
       {
        setvar atm_wirereceivearray 311
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 372466 // Matei Hakaisha (NPC)
       {
        setvar atm_wirereceivearray 312
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 669264 // Tensi-Yoko Hakaisha (NPC)
       {
        setvar atm_wirereceivearray 313
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 297581 // Usagi Tsukino (NPC)
       {
        setvar atm_wirereceivearray 314
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 194882 // Rei Hino (NPC)
       {
        setvar atm_wirereceivearray 315
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 105526 // Makoto Kino (NPC)
       {
        setvar atm_wirereceivearray 316
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 119358 // Torian Stevens (NPC)
       {
        setvar atm_wirereceivearray 317
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 481692 // Kristen Morrison (NPC)
       {
        setvar atm_wirereceivearray 318
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 373718 // Larry Cameron (NPC)
       {
        setvar atm_wirereceivearray 319
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 290406 // Anthony Reimos (NPC)
       {
        setvar atm_wirereceivearray 320
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 562584 // Katrina Anderson (NPC)
       {
        setvar atm_wirereceivearray 321
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 837373 // Terrance Bobcat (NPC)
       {
        setvar atm_wirereceivearray 322
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 837372 // Teresa Bobcat (NPC)
       {
        setvar atm_wirereceivearray 323
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 60191 // Victor Elecmire (NPC)
       {
        setvar atm_wirereceivearray 324
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 301040 // William Blazkowicz II (NPC)
       {
        setvar atm_wirereceivearray 325
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 301050 // Mortimer McMire (NPC)
       {
        setvar atm_wirereceivearray 326
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 428350 // Molly Mcmire (NPC)
       {
        setvar atm_wirereceivearray 327
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 474312 // Merilyn Bates (NPC)
       {
        setvar atm_wirereceivearray 328
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 239647 // Jesus Medina (NPC)
       {
        setvar atm_wirereceivearray 329
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 627276 // Marcus Collier (NPC)
       {
        setvar atm_wirereceivearray 330
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 360744 // Larry Huggins (NPC)
       {
        setvar atm_wirereceivearray 331
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 282488 // Glenn Cox (NPC)
       {
        setvar atm_wirereceivearray 332
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 942285 // Darius Jefferies (NPC)
       {
        setvar atm_wirereceivearray 333
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 751072 // Ramone Deggaris (NPC)
       {
        setvar atm_wirereceivearray 334
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 162598 // Dillard L. Blake (NPC)
       {
        setvar atm_wirereceivearray 335
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 845423 // Tankanori Zilla (NPC)
       {
        setvar atm_wirereceivearray 336
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 324731 // Natsuken Zilla (NPC)
       {
        setvar atm_wirereceivearray 337
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 889154 // Caleb Valiant (NPC)
       {
        setvar atm_wirereceivearray 338
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 537369 // "John Robert Foster" (NPC)
       {
        setvar atm_wirereceivearray 339
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 178935 // Ion Zerman (NPC)
       {
        setvar atm_wirereceivearray 340
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 938457 // Kenneth Fertang (NPC)
       {
        setvar atm_wirereceivearray 341
        state cmd_wiremoney_receiver
       }   
       else
       ifvare atm_wacctnum 27964 // Quenton Stephens (NPC)
       {
        setvar atm_wirereceivearray 342
        state cmd_wiremoney_receiver
       }   
// Fill in Here
       else
       {
        setvar atm_wacctnum 0 setvar atm_serrortimer 26 setvar atm_serrortype 2
        state randomatmbeeps sound MENU_ERROR
       }
ends

//*************************
//*************************
//**ATM BUTTON-PRESS CODE**
//*************************
//*************************

state atm-upperleftbutton
    ifvare atm_mode 0 // Welcome Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_mode 1
      setvar atm_amount_all 0
      setvar atm_errortype 0
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      state randomatmbeeps
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 1 // Enter Acct#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      ifvare atm_acctnum 132995 { setvar atm_mode 2 state randomatmbeeps } // Duke's ID
      else ifvare atm_acctnum 164702 { setvar atm_mode 2 state randomatmbeeps } // Jack's ID
      else ifvare atm_acctnum 171792 { setvar atm_mode 2 state randomatmbeeps } // Bubsy's ID
      else ifvare atm_acctnum 789152 { setvar atm_mode 2 state randomatmbeeps } // Ami's ID
      else ifvare atm_acctnum 171396 { setvar atm_mode 2 state randomatmbeeps } // Higa's ID
      else ifvare atm_acctnum 218479 { setvar atm_mode 2 state randomatmbeeps } // ESSence's ID
      else ifvare atm_acctnum 195382 { setvar atm_mode 2 state randomatmbeeps } // Ted's ID
      else ifvare atm_acctnum 475394 { setvar atm_mode 2 state randomatmbeeps } // Lisa's ID
      else ifvare atm_acctnum 363851 { setvar atm_mode 2 state randomatmbeeps } // Cybanis's ID
      else ifvare atm_acctnum 963246 { setvar atm_mode 2 state randomatmbeeps } // Nethra's ID
      else ifvare atm_acctnum 180194 { setvar atm_mode 2 state randomatmbeeps } // Paula's ID
      else ifvare atm_acctnum 638192 { setvar atm_mode 2 state randomatmbeeps } // Lori's ID
      else ifvare atm_acctnum 512560 { setvar atm_mode 2 state randomatmbeeps } // Minako's ID
      else ifvare atm_acctnum 198255 { setvar atm_mode 2 state randomatmbeeps } // Mystery Lady's ID
      else ifvare atm_acctnum 918372 { setvar atm_mode 2 state randomatmbeeps } // Maken's ID
// Fill in Here
      else ifvare atm_acctnum 132092 { setvar atm_mode 2 state randomatmbeeps } // President Clinton's ID [NPC]
      else ifvare atm_acctnum 890143 { setvar atm_mode 2 state randomatmbeeps } // Vice-President Gore's ID [NPC]
      else ifvare atm_acctnum 436743 { setvar atm_mode 2 state randomatmbeeps } // George Broussard's ID [NPC]
      else ifvare atm_acctnum 787953 { setvar atm_mode 2 state randomatmbeeps } // Stephen Hornback's ID [NPC]
      else ifvare atm_acctnum 636223 { setvar atm_mode 2 state randomatmbeeps } // Jim Norwood's ID [NPC]
      else ifvare atm_acctnum 742369 { setvar atm_mode 2 state randomatmbeeps } // Frank Maddin's ID [NPC]
      else ifvare atm_acctnum 569264 { setvar atm_mode 2 state randomatmbeeps } // Stephen Cole's ID [NPC]
      else ifvare atm_acctnum 472669 { setvar atm_mode 2 state randomatmbeeps } // Lani Minella's ID [NPC]
      else ifvare atm_acctnum 122994 { setvar atm_mode 2 state randomatmbeeps } // Joe Siegler's ID [NPC]
      else ifvare atm_acctnum 782548 { setvar atm_mode 2 state randomatmbeeps } // Lee Jackson's ID (NPC)
      else ifvare atm_acctnum 385333 { setvar atm_mode 2 state randomatmbeeps } // Chuck Jones's ID (NPC)
      else ifvare atm_acctnum 724264 { setvar atm_mode 2 state randomatmbeeps } // Keith Schuler's ID (NPC)
      else ifvare atm_acctnum 388256 { setvar atm_mode 2 state randomatmbeeps } // Randy Pitchford II's ID (NPC)
      else ifvare atm_acctnum 267337 { setvar atm_mode 2 state randomatmbeeps } // Brian Martel's ID (NPC)
      else ifvare atm_acctnum 372273 { setvar atm_mode 2 state randomatmbeeps } // Snake Plissken's ID (NPC)
      else ifvare atm_acctnum 768439 { setvar atm_mode 2 state randomatmbeeps } // Indiana Jone's ID (NPC)
      else ifvare atm_acctnum 249453 { setvar atm_mode 2 state randomatmbeeps } // Phil Graves's ID (NPC)
      else ifvare atm_acctnum 559294 { setvar atm_mode 2 state randomatmbeeps } // Donald Harrison's ID (NPC)
      else ifvare atm_acctnum 475137 { setvar atm_mode 2 state randomatmbeeps } // Cameron Bates's ID (NPC)
      else ifvare atm_acctnum 916821 { setvar atm_mode 2 state randomatmbeeps } // Kasey Shinkara's ID (NPC)
      else ifvare atm_acctnum 474241 { setvar atm_mode 2 state randomatmbeeps } // Victoria Bates's ID (NPC)
      else ifvare atm_acctnum 473744 { setvar atm_mode 2 state randomatmbeeps } // Harold Bates's ID (NPC)
      else ifvare atm_acctnum 10345 { setvar atm_mode 2 state randomatmbeeps } // John R. Blade's ID [Cameo]
      else ifvare atm_acctnum 10333 { setvar atm_mode 2 state randomatmbeeps } // Elexis Sinclaire's ID [Cameo]
      else ifvare atm_acctnum 473745 { setvar atm_mode 2 state randomatmbeeps } // Jerold Bates's ID (NPC)
      else ifvare atm_acctnum 181595 { setvar atm_mode 2 state randomatmbeeps } // Ness Itoi's ID (NPC)
      else ifvare atm_acctnum 927487 { setvar atm_mode 2 state randomatmbeeps } // Veronnica Herrera's ID (Staff Cameo)
      else ifvare atm_acctnum 22357 { setvar atm_mode 2 state randomatmbeeps } // "Jason Monroe"'s ID (Staff Cameo)
      else ifvare atm_acctnum 486652 { setvar atm_mode 2 state randomatmbeeps } // Sean Gauthier's ID (Staff Cameo)
      else ifvare atm_acctnum 333737 { setvar atm_mode 2 state randomatmbeeps } // Daniel Gaskill's ID (Cameo)
      else ifvare atm_acctnum 732567 { setvar atm_mode 2 state randomatmbeeps } // William Gee's ID (Cameo)
      else ifvare atm_acctnum 40987 { setvar atm_mode 2 state randomatmbeeps } // James Stanfield's ID (Cameo)
      else ifvare atm_acctnum 131072 { setvar atm_mode 2 state randomatmbeeps } // Richard Gobeille's ID (Cameo)
      else ifvare atm_acctnum 262144 { setvar atm_mode 2 state randomatmbeeps } // Pierre-Loup Griffais's ID (Cameo)
      else ifvare atm_acctnum 65536 { setvar atm_mode 2 state randomatmbeeps } // Johnathon Fowler's ID (Cameo)
      else ifvare atm_acctnum 524288 { setvar atm_mode 2 state randomatmbeeps } // Matt Saettler's ID (Cameo)
      else ifvare atm_acctnum 328436 { setvar atm_mode 2 state randomatmbeeps } // David Wolfe's ID (Staff Cameo NPC)
      else ifvare atm_acctnum 646256 { setvar atm_mode 2 state randomatmbeeps } // Chantelle Sundeen's ID (Staff Cameo NPC)
      else ifvare atm_acctnum 666482 { setvar atm_mode 2 state randomatmbeeps } // Callum Sanderson's ID (Cameo NPC)
      else ifvare atm_acctnum 825332 { setvar atm_mode 2 state randomatmbeeps } // Ian Burton's ID (Cameo NPC)
      else ifvare atm_acctnum 359941 { setvar atm_mode 2 state randomatmbeeps } // Daniel Lazar's ID (Cameo NPC)
      else ifvare atm_acctnum 140884 { setvar atm_mode 2 state randomatmbeeps } // Merlijn Van Oostrum's ID (Cameo NPC)
      else ifvare atm_acctnum 666208 { setvar atm_mode 2 state randomatmbeeps } // Maarten Van Oostrum's ID (Cameo NPC)
      else ifvare atm_acctnum 382382 { setvar atm_mode 2 state randomatmbeeps } // Cody Dowdle's ID (Cameo NPC)
      else ifvare atm_acctnum 290400 { setvar atm_mode 2 state randomatmbeeps } // Samuel Lawson's ID (Staff Cameo NPC)
      else ifvare atm_acctnum 656371 { setvar atm_mode 2 state randomatmbeeps } // Edward Maldoras's ID (NPC)
      else ifvare atm_acctnum 656374 { setvar atm_mode 2 state randomatmbeeps } // Jennifer Maldoras's ID (NPC)
      else ifvare atm_acctnum 645933 { setvar atm_mode 2 state randomatmbeeps } // Todd Shinkara's ID (NPC)
      else ifvare atm_acctnum 645931 { setvar atm_mode 2 state randomatmbeeps } // Rachel Shinkara's ID (NPC)
      else ifvare atm_acctnum 442795 { setvar atm_mode 2 state randomatmbeeps } // David Walker's ID (NPC)
      else ifvare atm_acctnum 577216 { setvar atm_mode 2 state randomatmbeeps } // Edwina Walker's ID (NPC)
      else ifvare atm_acctnum 132996 { setvar atm_mode 2 state randomatmbeeps } // Daisy Davis's ID (NPC)
      else ifvare atm_acctnum 272957 { setvar atm_mode 2 state randomatmbeeps } // Duke Davis Sr.'s ID (NPC)
      else ifvare atm_acctnum 102464 { setvar atm_mode 2 state randomatmbeeps } // Francine Davis's ID (NPC)
      else ifvare atm_acctnum 578341 { setvar atm_mode 2 state randomatmbeeps } // Yahnzee Tyrell's ID (NPC)
      else ifvare atm_acctnum 372466 { setvar atm_mode 2 state randomatmbeeps } // Matei Hakaisha's ID (NPC)
      else ifvare atm_acctnum 669264 { setvar atm_mode 2 state randomatmbeeps } // Tensi-Yoko Hakaisha's ID (NPC)
      else ifvare atm_acctnum 297581 { setvar atm_mode 2 state randomatmbeeps } // Usagi Tsukino's ID (NPC)
      else ifvare atm_acctnum 194882 { setvar atm_mode 2 state randomatmbeeps } // Rei Hino's ID (NPC)
      else ifvare atm_acctnum 105526 { setvar atm_mode 2 state randomatmbeeps } // Makoto Kino's ID (NPC)
      else ifvare atm_acctnum 119358 { setvar atm_mode 2 state randomatmbeeps } // Torian Stevens's ID (NPC)
      else ifvare atm_acctnum 481692 { setvar atm_mode 2 state randomatmbeeps } // Kristen Morrison's ID (NPC)
      else ifvare atm_acctnum 373718 { setvar atm_mode 2 state randomatmbeeps } // Larry Cameron's ID (NPC)
      else ifvare atm_acctnum 290406 { setvar atm_mode 2 state randomatmbeeps } // Anthony Reimo's ID (NPC)
      else ifvare atm_acctnum 562584 { setvar atm_mode 2 state randomatmbeeps } // Katrina Anderson's ID (NPC)
      else ifvare atm_acctnum 837373 { setvar atm_mode 2 state randomatmbeeps } // Terrance Bobcat's ID (NPC)
      else ifvare atm_acctnum 837372 { setvar atm_mode 2 state randomatmbeeps } // Teresa Bobcat's ID (NPC)
      else ifvare atm_acctnum 60191 { setvar atm_mode 2 state randomatmbeeps } // Victor Elecmire's ID (NPC)
      else ifvare atm_acctnum 301040 { setvar atm_mode 2 state randomatmbeeps } // William Blazkowicz II's ID (NPC)
      else ifvare atm_acctnum 301050 { setvar atm_mode 2 state randomatmbeeps } // Mortimer McMire's ID (NPC)
      else ifvare atm_acctnum 428350 { setvar atm_mode 2 state randomatmbeeps } // Molly McMire's ID (NPC)
      else ifvare atm_acctnum 474312 { setvar atm_mode 2 state randomatmbeeps } // Merilyn Bates's ID (NPC)
      else ifvare atm_acctnum 239647 { setvar atm_mode 2 state randomatmbeeps } // Jesus Medina's ID (NPC)
      else ifvare atm_acctnum 627276 { setvar atm_mode 2 state randomatmbeeps } // Marcus Collier's ID (NPC)
      else ifvare atm_acctnum 360744 { setvar atm_mode 2 state randomatmbeeps } // Larry Huggins's ID (NPC)
      else ifvare atm_acctnum 282488 { setvar atm_mode 2 state randomatmbeeps } // Glenn Cox's ID (NPC)
      else ifvare atm_acctnum 942285 { setvar atm_mode 2 state randomatmbeeps } // Darius Jefferies's ID (NPC)
      else ifvare atm_acctnum 751072 { setvar atm_mode 2 state randomatmbeeps } // Ramone Deggaris's ID (NPC)
      else ifvare atm_acctnum 162598 { setvar atm_mode 2 state randomatmbeeps } // Dillard L. Blake's ID (NPC)
      else ifvare atm_acctnum 845423 { setvar atm_mode 2 state randomatmbeeps } // Tankanori Zilla's ID (NPC)
      else ifvare atm_acctnum 324731 { setvar atm_mode 2 state randomatmbeeps } // Natsuken Zilla's ID (NPC)
      else ifvare atm_acctnum 889154 { setvar atm_mode 2 state randomatmbeeps } // Caleb Valiant's ID (NPC)
      else ifvare atm_acctnum 537369 { setvar atm_mode 2 state randomatmbeeps } // "John Robert Foster"'s ID (NPC)
      else ifvare atm_acctnum 178935 { setvar atm_mode 2 state randomatmbeeps } // Ion Zerman's ID (NPC)
      else ifvare atm_acctnum 938457 { setvar atm_mode 2 state randomatmbeeps } // Kenneth Fertang's ID (NPC)
      else ifvare atm_acctnum 27964 { setvar atm_mode 2 state randomatmbeeps } // Quenton Stephens's ID (NPC)
// Fill in Here
      else // Incorrect ACCT#
      {
       setvar atm_acctnum 0
       setvar atm_pinnum 0
       setvar atm_mode 9
       setvar atm_errortype 1
       state randomatmbeeps
       sound MENU_ERROR
      }
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 2 // Enter PIN#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      ifvare atm_acctnum 132995 ifvare atm_pinnum 3110 { setvar atm_mode 3 state randomatmbeeps } // Duke's PIN
      else ifvare atm_acctnum 164702 ifvare atm_pinnum 7585 { setvar atm_mode 3 state randomatmbeeps } // Jack's PIN
      else ifvare atm_acctnum 171792 ifvare atm_pinnum 1310 { setvar atm_mode 3 state randomatmbeeps } // Bubsy's PIN
      else ifvare atm_acctnum 789152 ifvare atm_pinnum 4125 { setvar atm_mode 3 state randomatmbeeps } // Ami's PIN
      else ifvare atm_acctnum 171396 ifvare atm_pinnum 9254 { setvar atm_mode 3 state randomatmbeeps } // Higa's PIN
      else ifvare atm_acctnum 218479 ifvare atm_pinnum 4196 { setvar atm_mode 3 state randomatmbeeps } // ESSence's PIN
      else ifvare atm_acctnum 195382 ifvare atm_pinnum 3735 { setvar atm_mode 3 state randomatmbeeps } // Ted's PIN
      else ifvare atm_acctnum 475394 ifvare atm_pinnum 8214 { setvar atm_mode 3 state randomatmbeeps } // Lisa's PIN
      else ifvare atm_acctnum 363851 ifvare atm_pinnum 5288 { setvar atm_mode 3 state randomatmbeeps } // Cybanis's PIN
      else ifvare atm_acctnum 963246 ifvare atm_pinnum 1256 { setvar atm_mode 3 state randomatmbeeps } // Nethra's PIN
      else ifvare atm_acctnum 180194 ifvare atm_pinnum 5007 { setvar atm_mode 3 state randomatmbeeps } // Paula's PIN
      else ifvare atm_acctnum 638192 ifvare atm_pinnum 6392 { setvar atm_mode 3 state randomatmbeeps } // Lori's PIN
      else ifvare atm_acctnum 512560 ifvare atm_pinnum 1895 { setvar atm_mode 3 state randomatmbeeps } // Minako's PIN
      else ifvare atm_acctnum 198255 ifvare atm_pinnum 7364 { setvar atm_mode 3 state randomatmbeeps } // Mystery Lady's PIN
      else ifvare atm_acctnum 918372 ifvare atm_pinnum 7873 { setvar atm_mode 3 state randomatmbeeps } // Maken's PIN
// Fill in Here
      else ifvare atm_acctnum 132092 ifvare atm_pinnum 1310 { setvar atm_mode 3 state randomatmbeeps } // President Clinton's PIN [NPC]
      else ifvare atm_acctnum 890143 ifvare atm_pinnum 9613 { setvar atm_mode 3 state randomatmbeeps } // Vice-President Gore's PIN [NPC]
      else ifvare atm_acctnum 436743 ifvare atm_pinnum 5464 { setvar atm_mode 3 state randomatmbeeps } // George Broussard's PIN [NPC]
      else ifvare atm_acctnum 787953 ifvare atm_pinnum 9277 { setvar atm_mode 3 state randomatmbeeps } // Stephen Hornback's PIN [NPC]
      else ifvare atm_acctnum 636223 ifvare atm_pinnum 1987 { setvar atm_mode 3 state randomatmbeeps } // Jim Norwood's PIN [NPC]
      else ifvare atm_acctnum 742369 ifvare atm_pinnum 1993 { setvar atm_mode 3 state randomatmbeeps } // Frank Maddin's PIN [NPC]
      else ifvare atm_acctnum 569264 ifvare atm_pinnum 6532 { setvar atm_mode 3 state randomatmbeeps } // Stephen Cole's PIN [NPC]
      else ifvare atm_acctnum 472669 ifvare atm_pinnum 1996 { setvar atm_mode 3 state randomatmbeeps } // Lani Minella's PIN [NPC]
      else ifvare atm_acctnum 122994 ifvare atm_pinnum 2035 { setvar atm_mode 3 state randomatmbeeps } // Joe Siegler's PIN [NPC]
      else ifvare atm_acctnum 782548 ifvare atm_pinnum 3696 { setvar atm_mode 3 state randomatmbeeps } // Lee Jackson's PIN (NPC)
      else ifvare atm_acctnum 385333 ifvare atm_pinnum 7688 { setvar atm_mode 3 state randomatmbeeps } // Chuck Jones's PIN (NPC)
      else ifvare atm_acctnum 724264 ifvare atm_pinnum 1991 { setvar atm_mode 3 state randomatmbeeps } // Keith Schuler's PIN (NPC)
      else ifvare atm_acctnum 388256 ifvare atm_pinnum 4327 { setvar atm_mode 3 state randomatmbeeps } // Randy Pitchford II's PIN (NPC)
      else ifvare atm_acctnum 267337 ifvare atm_pinnum 5263 { setvar atm_mode 3 state randomatmbeeps } // Brian Martel's PIN (NPC)
      else ifvare atm_acctnum 372273 ifvare atm_pinnum 3766 { setvar atm_mode 3 state randomatmbeeps } // Snake Plissken's PIN (NPC)
      else ifvare atm_acctnum 768439 ifvare atm_pinnum 4639 { setvar atm_mode 3 state randomatmbeeps } // Indiana Jone's PIN (NPC)
      else ifvare atm_acctnum 249453 ifvare atm_pinnum 8279 { setvar atm_mode 3 state randomatmbeeps } // Phil Graves's PIN (NPC)
      else ifvare atm_acctnum 559294 ifvare atm_pinnum 1891 { setvar atm_mode 3 state randomatmbeeps } // Donald Harrison's PIN (NPC)
      else ifvare atm_acctnum 475137 ifvare atm_pinnum 8723 { setvar atm_mode 3 state randomatmbeeps } // Cameron Bates's PIN (NPC)
      else ifvare atm_acctnum 916821 ifvare atm_pinnum 8784 { setvar atm_mode 3 state randomatmbeeps } // Kasey Shinkara's PIN (NPC)
      else ifvare atm_acctnum 474241 ifvare atm_pinnum 5472 { setvar atm_mode 3 state randomatmbeeps } // Victoria Bates's PIN (NPC)
      else ifvare atm_acctnum 473744 ifvare atm_pinnum 4737 { setvar atm_mode 3 state randomatmbeeps } // Harold Bates's PIN (NPC)
      else ifvare atm_acctnum 10345 ifvare atm_pinnum 2019 { setvar atm_mode 3 state randomatmbeeps } // John R. Blade's PIN [Cameo]
      else ifvare atm_acctnum 10333 ifvare atm_pinnum 6969 { setvar atm_mode 3 state randomatmbeeps } // Elexis Sinclaire 's PIN[Cameo]
      else ifvare atm_acctnum 473745 ifvare atm_pinnum 7473 { setvar atm_mode 3 state randomatmbeeps } // Jerold Bates's PIN (NPC)
      else ifvare atm_acctnum 181595 ifvare atm_pinnum 4864 { setvar atm_mode 3 state randomatmbeeps } // Ness Itoi's PIN (NPC)
      else ifvare atm_acctnum 927487 ifvare atm_pinnum 8376 { setvar atm_mode 3 state randomatmbeeps } // Veronnica Herrera's PIN (Staff Cameo)
      else ifvare atm_acctnum 22357 ifvare atm_pinnum 1089 { setvar atm_mode 3 state randomatmbeeps } // "Jason Monroe"'s PIN (Staff Cameo)
      else ifvare atm_acctnum 486652 ifvare atm_pinnum 2316 { setvar atm_mode 3 state randomatmbeeps } // Sean Gauthier's PIN (Staff Cameo)
      else ifvare atm_acctnum 333737 ifvare atm_pinnum 3264 { setvar atm_mode 3 state randomatmbeeps } // Daniel Gaskill's PIN (Cameo)
      else ifvare atm_acctnum 732567 ifvare atm_pinnum 9472 { setvar atm_mode 3 state randomatmbeeps } // William Gee's PIN (Cameo)
      else ifvare atm_acctnum 40987 ifvare atm_pinnum 1801 { setvar atm_mode 3 state randomatmbeeps } // James Stanfield's PIN (Cameo)
      else ifvare atm_acctnum 131072 ifvare atm_pinnum 4096 { setvar atm_mode 3 state randomatmbeeps } // Richard Gobeille's PIN (Cameo)
      else ifvare atm_acctnum 262144 ifvare atm_pinnum 2048 { setvar atm_mode 3 state randomatmbeeps } // Pierre-Loup Griffais's PIN (Cameo)
      else ifvare atm_acctnum 65536 ifvare atm_pinnum 1024 { setvar atm_mode 3 state randomatmbeeps } // Johnathon Fowler's PIN (Cameo)
      else ifvare atm_acctnum 524288 ifvare atm_pinnum 8192 { setvar atm_mode 3 state randomatmbeeps } // Matt Saettler's PIN (Cameo)
      else ifvare atm_acctnum 328436 ifvare atm_pinnum 7372 { setvar atm_mode 3 state randomatmbeeps } // David Wolfe's PIN (Staff Cameo NPC)
      else ifvare atm_acctnum 646256 ifvare atm_pinnum 2466 { setvar atm_mode 3 state randomatmbeeps } // Chantelle Sundeen's PIN (Staff Cameo NPC)
      else ifvare atm_acctnum 666482 ifvare atm_pinnum 4642 { setvar atm_mode 3 state randomatmbeeps } // Callum Sanderson's PIN (Cameo NPC)
      else ifvare atm_acctnum 825332 ifvare atm_pinnum 9376 { setvar atm_mode 3 state randomatmbeeps } // Ian Burton's PIN (Cameo NPC)
      else ifvare atm_acctnum 359941 ifvare atm_pinnum 4598 { setvar atm_mode 3 state randomatmbeeps } // Daniel Lazar's PIN (Cameo NPC)
      else ifvare atm_acctnum 140884 ifvare atm_pinnum 2012 { setvar atm_mode 3 state randomatmbeeps } // Merlijn Van Oostrum's PIN (Cameo NPC)
      else ifvare atm_acctnum 666208 ifvare atm_pinnum 6766 { setvar atm_mode 3 state randomatmbeeps } // Maarten Van Oostrum's PIN (Cameo NPC)
      else ifvare atm_acctnum 382382 ifvare atm_pinnum 4821 { setvar atm_mode 3 state randomatmbeeps } // Cody Dowdle's PIN (Cameo NPC)
      else ifvare atm_acctnum 290400 ifvare atm_pinnum 1442 { setvar atm_mode 3 state randomatmbeeps } // Samuel Lawson's PIN (Staff Cameo NPC)
      else ifvare atm_acctnum 656371 ifvare atm_pinnum 9437 { setvar atm_mode 3 state randomatmbeeps } // Edward Maldoras's PIN (NPC)
      else ifvare atm_acctnum 656374 ifvare atm_pinnum 6365 { setvar atm_mode 3 state randomatmbeeps } // Jennifer Maldoras's PIN (NPC)
      else ifvare atm_acctnum 645933 ifvare atm_pinnum 3728 { setvar atm_mode 3 state randomatmbeeps } // Todd Shinkara's PIN (NPC)
      else ifvare atm_acctnum 645931 ifvare atm_pinnum 8902 { setvar atm_mode 3 state randomatmbeeps } // Rachel Shinkara's PIN (NPC)
      else ifvare atm_acctnum 442795 ifvare atm_pinnum 6127 { setvar atm_mode 3 state randomatmbeeps } // David Walker's PIN (NPC)
      else ifvare atm_acctnum 577216 ifvare atm_pinnum 5972 { setvar atm_mode 3 state randomatmbeeps } // Edwina Walker's PIN (NPC)
      else ifvare atm_acctnum 132996 ifvare atm_pinnum 3101 { setvar atm_mode 3 state randomatmbeeps } // Daisy Davis's PIN (NPC)
      else ifvare atm_acctnum 272957 ifvare atm_pinnum 3853 { setvar atm_mode 3 state randomatmbeeps } // Duke Davis Sr.'s PIN (NPC)
      else ifvare atm_acctnum 102464 ifvare atm_pinnum 3762 { setvar atm_mode 3 state randomatmbeeps } // Francine Davis's PIN (NPC)
      else ifvare atm_acctnum 578341 ifvare atm_pinnum 9871 { setvar atm_mode 3 state randomatmbeeps } // Yahnzee Tyrell's PIN (NPC)
      else ifvare atm_acctnum 372466 ifvare atm_pinnum 8946 { setvar atm_mode 3 state randomatmbeeps } // Matei Hakaisha's PIN (NPC)
      else ifvare atm_acctnum 669264 ifvare atm_pinnum 2922 { setvar atm_mode 3 state randomatmbeeps } // Tensi-Yoko Hakaisha's PIN (NPC)
      else ifvare atm_acctnum 297581 ifvare atm_pinnum 9999 { setvar atm_mode 3 state randomatmbeeps } // Usagi Tsukino's PIN (NPC)
      else ifvare atm_acctnum 194882 ifvare atm_pinnum 5905 { setvar atm_mode 3 state randomatmbeeps } // Rei Hino's PIN (NPC)
      else ifvare atm_acctnum 105526 ifvare atm_pinnum 3454 { setvar atm_mode 3 state randomatmbeeps } // Makoto Kino's PIN (NPC)
      else ifvare atm_acctnum 119358 ifvare atm_pinnum 7664 { setvar atm_mode 3 state randomatmbeeps } // Torian Stevens's PIN (NPC)
      else ifvare atm_acctnum 481692 ifvare atm_pinnum 6553 { setvar atm_mode 3 state randomatmbeeps } // Kristen Morrison's PIN (NPC)
      else ifvare atm_acctnum 373718 ifvare atm_pinnum 9776 { setvar atm_mode 3 state randomatmbeeps } // Larry Cameron's PIN (NPC)
      else ifvare atm_acctnum 290406 ifvare atm_pinnum 2963 { setvar atm_mode 3 state randomatmbeeps } // Anthony Reimo's PIN (NPC)
      else ifvare atm_acctnum 562584 ifvare atm_pinnum 4885 { setvar atm_mode 3 state randomatmbeeps } // Katrina Anderson's PIN (NPC)
      else ifvare atm_acctnum 837373 ifvare atm_pinnum 3859 { setvar atm_mode 3 state randomatmbeeps } // Terrance Bobcat's PIN (NPC)
      else ifvare atm_acctnum 837372 ifvare atm_pinnum 5893 { setvar atm_mode 3 state randomatmbeeps } // Teresa Bobcat's PIN (NPC)
      else ifvare atm_acctnum 60191 ifvare atm_pinnum 1997 { setvar atm_mode 3 state randomatmbeeps } // Victor Elecmire's PIN (NPC)
      else ifvare atm_acctnum 301040 ifvare atm_pinnum 6335 { setvar atm_mode 3 state randomatmbeeps } // William Blazkowicz II's PIN (NPC)
      else ifvare atm_acctnum 301050 ifvare atm_pinnum 8766 { setvar atm_mode 3 state randomatmbeeps } // Mortimer McMire's PIN (NPC)
      else ifvare atm_acctnum 428350 ifvare atm_pinnum 1991 { setvar atm_mode 3 state randomatmbeeps } // Molly McMire's PIN (NPC)
      else ifvare atm_acctnum 474312 ifvare atm_pinnum 8387 { setvar atm_mode 3 state randomatmbeeps } // Merilyn Bates's PIN (NPC)
      else ifvare atm_acctnum 239647 ifvare atm_pinnum 3490 { setvar atm_mode 3 state randomatmbeeps } // Jesus Medina's PIN (NPC)
      else ifvare atm_acctnum 627276 ifvare atm_pinnum 7631 { setvar atm_mode 3 state randomatmbeeps } // Marcus Collier's PIN (NPC)
      else ifvare atm_acctnum 360744 ifvare atm_pinnum 9256 { setvar atm_mode 3 state randomatmbeeps } // Larry Huggins's PIN (NPC)
      else ifvare atm_acctnum 282488 ifvare atm_pinnum 2889 { setvar atm_mode 3 state randomatmbeeps } // Glenn Cox's PIN (NPC)
      else ifvare atm_acctnum 942285 ifvare atm_pinnum 7422 { setvar atm_mode 3 state randomatmbeeps } // Darius Jefferies's PIN (NPC)
      else ifvare atm_acctnum 751072 ifvare atm_pinnum 3731 { setvar atm_mode 3 state randomatmbeeps } // Ramone Deggaris's PIN (NPC)
      else ifvare atm_acctnum 162598 ifvare atm_pinnum 1077 { setvar atm_mode 3 state randomatmbeeps } // Dillard L. Blake's PIN (NPC)
      else ifvare atm_acctnum 845423 ifvare atm_pinnum 4455 { setvar atm_mode 3 state randomatmbeeps } // Tankanori Zilla's PIN (NPC)
      else ifvare atm_acctnum 324731 ifvare atm_pinnum 7743 { setvar atm_mode 3 state randomatmbeeps } // Natsuken Zilla's PIN (NPC)
      else ifvare atm_acctnum 889154 ifvare atm_pinnum 9728 { setvar atm_mode 3 state randomatmbeeps } // Caleb Valiant's PIN (NPC)
      else ifvare atm_acctnum 537369 ifvare atm_pinnum 2143 { setvar atm_mode 3 state randomatmbeeps } // "John Robert Foster"'s PIN (NPC)
      else ifvare atm_acctnum 178935 ifvare atm_pinnum 9385 { setvar atm_mode 3 state randomatmbeeps } // Ion Zerman's PIN (NPC)
      else ifvare atm_acctnum 938457 ifvare atm_pinnum 1537 { setvar atm_mode 3 state randomatmbeeps } // Kenneth Fertang's PIN (NPC)
      else ifvare atm_acctnum 27964 ifvare atm_pinnum 6407 { setvar atm_mode 3 state randomatmbeeps } // Quenton Stephens's PIN (NPC)
// Fill in Here
      else 
      {
       setvar atm_acctnum 0
       setvar atm_pinnum 0
       setvar atm_mode 9
       setvar atm_errortype 2
       state randomatmbeeps
       sound MENU_ERROR
      }
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 3 // Options Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {      
      state checkdollarcents
      ifvarg TEMPDOLLARS 0
      {
       setvar atm_mode 4
       setvar atm_amount_all 0
       setvar atm_action 0 
       setvar atm_errortype 0
       setvar atm_serrortimer 0
       setvar atm_serrortype 0
       state randomatmbeeps
      }
      else
      {
       ifvarg TEMPCENTS 0
       {
        setvar atm_mode 4
        setvar atm_amount_all 0
        setvar atm_action 0 
        setvar atm_errortype 0
        setvar atm_serrortimer 0
        setvar atm_serrortype 0
        state randomatmbeeps
       }
       else
       {
        setvar atm_errortype 0
        setvar atm_serrortimer 26
        setvar atm_serrortype 1
        state randomatmbeeps sound MENU_ERROR
       }
      }
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 4 // Withdraw Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
//***************************
//*Insert Withdraw Code Here*
//***************************
      ifvare atm_amount_all 0 // if any amount isn't entered
      {
       setvar atm_amount_all 0
       setvar atm_serrortimer 26
       setvar atm_serrortype 1
       state randomatmbeeps sound MENU_ERROR
      }
      else // if any amount IS entered
      {
       state getatmdollarcents

       ifvarvarg atm_amount_dollars TEMPDOLLARS // too much dollars
       {
        setvar atm_amount_all 0
        setvar atm_serrortimer 26
        setvar atm_serrortype 2
        state randomatmbeeps sound MENU_ERROR
       }
       else
       {
        ifvarvarg atm_amount_cents TEMPCENTS // too much cents
        {
         ifvarg TEMPDOLLARS 0
         {
          subvarvar TEMPCENTS atm_amount_cents
          ifvarl TEMPCENTS 0
          {
           ifvarg TEMPDOLLARS 0
           {
            addvar TEMPCENTS 100
            subvar TEMPDOLLARS 1
            subvarvar TEMPDOLLARS atm_amount_dollars
            ifvarg TEMPDOLLARS -1 state cmd_withdrawmoney2
            else
            {
             setvar atm_amount_all 0
             setvar atm_serrortimer 26
             setvar atm_serrortype 2
             state randomatmbeeps sound MENU_ERROR
            }
           }
          }
          else state cmd_withdrawmoney2
         }
         else
         {
          setvar atm_amount_all 0
          setvar atm_serrortimer 26
          setvar atm_serrortype 2
          state randomatmbeeps sound MENU_ERROR
         }
        }
        else state cmd_withdrawmoney2
       }
      }
//************************
//*End Withdraw Code Here*
//************************
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 5 // Deposit Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
//**************************
//*Insert Deposit Code Here*
//**************************
      ifvare atm_amount_all 0 // if any amount isn't entered
      {
       setvar atm_amount_all 0
       setvar atm_serrortimer 26
       setvar atm_serrortype 1
       state randomatmbeeps sound MENU_ERROR
      }
      else // if any amount IS entered
      {
       setvarvar TEMPDOLLARS DOLLARS
       ifvarvarg atm_amount_dollars TEMPDOLLARS // too much dollars
       {
        setvar atm_amount_all 0
        setvar atm_serrortimer 26
        setvar atm_serrortype 2
        state randomatmbeeps sound MENU_ERROR
       }
       else
       {
        setvarvar TEMPCENTS CENTS
        ifvarvarg atm_amount_cents TEMPCENTS // too much cents
        {
         ifvarg TEMPDOLLARS 0
         {
          setvarvar TEMPCENTS CENTS
          subvarvar TEMPCENTS atm_amount_cents
          ifvarl TEMPCENTS 0
          {
           setvarvar TEMPDOLLARS DOLLARS
           ifvarg TEMPDOLLARS 0
           {
            addvar TEMPCENTS 100
            subvar TEMPDOLLARS 1
            subvarvar TEMPDOLLARS atm_amount_dollars
            ifvarg TEMPDOLLARS -1 state cmd_depositmoney2
            else
            {
             setvar atm_amount_all 0
             setvar atm_serrortimer 26
             setvar atm_serrortype 2
             state randomatmbeeps sound MENU_ERROR
            }
           }
          }
          else state cmd_depositmoney2
         }
         else
         {
          setvar atm_amount_all 0
          setvar atm_serrortimer 26
          setvar atm_serrortype 2
          state randomatmbeeps sound MENU_ERROR
         }
        }
        else state cmd_depositmoney2
       }
      }
//***********************
//*End Deposit Code Here*
//***********************
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 6 // "Transaction Finished" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_mode 3
      setvar atm_action 0 
      setvar atm_amount_all 0
      setvar atm_wacctnum 0
      setvar atm_errortype 0
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      state randomatmbeeps
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 7 // "Wire Amount" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
//*****************************
//*Insert Wire Funds Code Here*
//*****************************
      ifvare atm_amount_all 0 // if any amount isn't entered
      {
       setvar atm_amount_all 0
       setvar atm_serrortimer 26
       setvar atm_serrortype 1
       state randomatmbeeps sound MENU_ERROR
      }
      else // if any amount IS entered
      {
       state getatmdollarcents

       ifvarvarg atm_amount_dollars TEMPDOLLARS // too much dollars
       {
        setvar atm_amount_all 0
        setvar atm_serrortimer 26
        setvar atm_serrortype 2
        state randomatmbeeps sound MENU_ERROR
       }
       else
       {
        ifvarvarg atm_amount_cents TEMPCENTS // too much cents
        {
         ifvarg TEMPDOLLARS 0
         {
          subvarvar TEMPCENTS atm_amount_cents
          ifvarl TEMPCENTS 0
          {
           ifvarg TEMPDOLLARS 0
           {
            addvar TEMPCENTS 100
            subvar TEMPDOLLARS 1
            subvarvar TEMPDOLLARS atm_amount_dollars
            ifvarg TEMPDOLLARS -1
            {
             setvar atm_mode 8
             setvar atm_wacctnum 0
             setvar atm_errortype 0
             setvar atm_serrortimer 0
             setvar atm_serrortype 0
             state randomatmbeeps
            }
            else
            {
             setvar atm_amount_all 0
             setvar atm_serrortimer 26
             setvar atm_serrortype 2
             state randomatmbeeps sound MENU_ERROR
            }
           }
          }
          else
          {
           setvar atm_mode 8
           setvar atm_wacctnum 0
           setvar atm_errortype 0
           setvar atm_serrortimer 0
           setvar atm_serrortype 0
           state randomatmbeeps
          }
         }
         else
         {
          setvar atm_amount_all 0
          setvar atm_serrortimer 26
          setvar atm_serrortype 2
          state randomatmbeeps sound MENU_ERROR
         }
        }
        else
        {       
         setvar atm_mode 8
         setvar atm_wacctnum 0
         setvar atm_errortype 0
         setvar atm_serrortimer 0
         setvar atm_serrortype 0
         state randomatmbeeps
        }      
       }
      }
//**************************
//*End Wire Funds Code Here*
//**************************
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 8 // "Wire To" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
//*****************************
//*Insert Wire Funds Code Here*
//*****************************
      ifvarvare atm_wacctnum atm_acctnum // Wiring money to yourself is pointless :P
      {
       setvar atm_wacctnum 0
       setvar atm_errortype 0
       setvar atm_serrortimer 26
       setvar atm_serrortype 1
       state randomatmbeeps sound MENU_ERROR
      }
      else
      {
       // Sending Accounts
       ifvare atm_acctnum 132995 // Duke Nukem [Playable Character]
       {
        setvar atm_wiresendarray 1
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 164702 // Jack Walker [Playable Character]
       {
        setvar atm_wiresendarray 2
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 171792 // Bubsy Bobcat [Playable Character]
       {
        setvar atm_wiresendarray 3
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 789152 // Ami Mizuno [Playable Character]
       {
        setvar atm_wiresendarray 4
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 171396 // Higa Hakaisha [Playable Character]
       {
        setvar atm_wiresendarray 5
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 218479 // ESSence Margalan [Playable Character]
       {
        setvar atm_wiresendarray 6
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 195382 // Ted Maldoras [Playable Character]
       {
        setvar atm_wiresendarray 7
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 475394 // Lisa Bates [Playable Character]
       {
        setvar atm_wiresendarray 8
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 363851 // Cybanis Morgandos [Playable Character]
       {
        setvar atm_wiresendarray 9
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 963246 // Christina Mitchell/Nethra Maboroshi [Playable Character]
       {
        setvar atm_wiresendarray 10
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 180194 // Paula Polestar [Playable Character]
       {
        setvar atm_wiresendarray 11
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 638192 // Lori Stephens [Playable Character]
       {
        setvar atm_wiresendarray 12
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 512560 // Minako Aino [Playable Character]
       {
        setvar atm_wiresendarray 13
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 198255 // "Mystery Lady" [Playable Character]
       {
        setvar atm_wiresendarray 14
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 918372 // Maken Shinkara [Playable Character]
       {
        setvar atm_wiresendarray 15
        state cmd_wiremoney_sender
       }
// Fill in Here
       else
       ifvare atm_acctnum 132092 // President Clinton (NPC)
       {
        setvar atm_wiresendarray 257
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 890143 // Vice-President Gore (NPC)
       {
        setvar atm_wiresendarray 258
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 436743 // George Broussard [3DR]
       {
        setvar atm_wiresendarray 259
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 787953 // Stephen Hornback [3DR]
       {
        setvar atm_wiresendarray 260
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 636223 // Jim Norwood [3DR]
       {
        setvar atm_wiresendarray 261
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 742369 // Frank Maddin [3DR]
       {
        setvar atm_wiresendarray 262
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 569264 // Stephen Cole [3DR]
       {
        setvar atm_wiresendarray 263
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 472669 // Lani Minella [VOA]
       {
        setvar atm_wiresendarray 264
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 122994 // Joe Siegler [3DR]
       {
        setvar atm_wiresendarray 265
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 782548 // Lee Jackson [3DR]
       {
        setvar atm_wiresendarray 266
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 385333 // Chuck Jones [3DR]
       {
        setvar atm_wiresendarray 267
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 724264 // Keith Schuler [3DR]
       {
        setvar atm_wiresendarray 268
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 388256 // Randy Pitchford II [3DR]
       {
        setvar atm_wiresendarray 269
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 267337 // Brian Martel [3DR]
       {
        setvar atm_wiresendarray 270
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 372273 // Snake Plissken [Cameo]
       {
        setvar atm_wiresendarray 271
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 768439 // Indiana Jones [Cameo]
       {
        setvar atm_wiresendarray 272
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 249453 // Phil Graves (NPC)
       {
        setvar atm_wiresendarray 273
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 559294 // Donald Harrison (NPC)
       {
        setvar atm_wiresendarray 274
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 475137 // Cameron Bates (NPC)
       {
        setvar atm_wiresendarray 275
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 916821 // Kasey Shinkara (NPC)
       {
        setvar atm_wiresendarray 276
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 474241 // Victoria Bates (NPC)
       {
        setvar atm_wiresendarray 277
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 473744 // Harold Bates (NPC)
       {
        setvar atm_wiresendarray 278
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 10345 // John R. Blade [Joke Cameo]
       {
        setvar atm_wiresendarray 279
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 10333 // Elexis Sinclaire [Joke Cameo]
       {
        setvar atm_wiresendarray 280
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 473745 // Jerold Bates (NPC)
       {
        setvar atm_wiresendarray 281
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 181595 // Ness Itoi (NPC)
       {
        setvar atm_wiresendarray 282
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 927487 // Veronnica Herrera (Staff Cameo)
       {
        setvar atm_wiresendarray 283
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 22357 // "Jason Monroe" (Staff Cameo)
       {
        setvar atm_wiresendarray 284
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 486652 // Sean Gauthier (Staff Cameo)
       {
        setvar atm_wiresendarray 285
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 333737 // Daniel Gaskill (Cameo)
       {
        setvar atm_wiresendarray 286
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 732567 // William Gee (Cameo)
       {
        setvar atm_wiresendarray 287
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 40987 // James Stanfield (Cameo)
       {
        setvar atm_wiresendarray 288
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 131072 // Richard Gobeille (Cameo)
       {
        setvar atm_wiresendarray 289
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 262144 // Pierre-Loup Griffais (Cameo)
       {
        setvar atm_wiresendarray 290
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 65536 // Johnathon Fowler (Cameo)
       {
        setvar atm_wiresendarray 291
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 524288 // Matt Saettler (Cameo)
       {
        setvar atm_wiresendarray 292
        state cmd_wiremoney_sender
       }
       else
       ifvare atm_acctnum 328436 // David Wolfe (Staff Cameo NPC)
       {
        setvar atm_wiresendarray 293
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 646256 // Chantelle Sundeen (Staff Cameo NPC)
       {
        setvar atm_wiresendarray 294
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 666482 // Callum Sanderson (Cameo NPC)
       {
        setvar atm_wiresendarray 295
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 825332 // Ian Burton (Cameo NPC)
       {
        setvar atm_wiresendarray 296
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 359941 // Daniel Lazar (Cameo NPC)
       {
        setvar atm_wiresendarray 297
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 140884 // Merlijn Van Oostrum (Cameo NPC)
       {
        setvar atm_wiresendarray 298
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 666208 // Maarten Van Oostrum (Cameo NPC)
       {
        setvar atm_wiresendarray 299
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 382382 // Cody Dowdle (Cameo NPC)
       {
        setvar atm_wiresendarray 300
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 290400 // Samuel Lawson (Cameo NPC)
       {
        setvar atm_wiresendarray 301
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 656371 // Edward Maldoras (NPC)
       {
        setvar atm_wiresendarray 302
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 656374 // Jennifer Maldoras (NPC)
       {
        setvar atm_wiresendarray 303
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 645933 // Todd Shinkara (NPC)
       {
        setvar atm_wiresendarray 304
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 645931 // Rachel Shinkara (NPC)
       {
        setvar atm_wiresendarray 305
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 442795 // David Walker (NPC)
       {
        setvar atm_wiresendarray 306
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 577216 // Edwina Walker (NPC)
       {
        setvar atm_wiresendarray 307
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 132996 // Daisy Davis (NPC)
       {
        setvar atm_wiresendarray 308
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 272957 // Duke Davis Sr. (NPC)
       {
        setvar atm_wiresendarray 309
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 102464 // Francine Davis (NPC)
       {
        setvar atm_wiresendarray 310
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 578341 // Yahnzee Tyrell (NPC)
       {
        setvar atm_wiresendarray 311
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 372466 // Matei Hakaisha (NPC)
       {
        setvar atm_wiresendarray 312
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 669264 // Tensi-Yoko Hakaisha (NPC)
       {
        setvar atm_wiresendarray 313
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 297581 // Usagi Tsukino (NPC)
       {
        setvar atm_wiresendarray 314
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 194882 // Rei Hino (NPC)
       {
        setvar atm_wiresendarray 315
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 105526 // Makoto Kino (NPC)
       {
        setvar atm_wiresendarray 316
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 119358 // Torian Stevens (NPC)
       {
        setvar atm_wiresendarray 317
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 481692 // Kristen Morrison (NPC)
       {
        setvar atm_wiresendarray 318
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 373718 // Larry Cameron (NPC)
       {
        setvar atm_wiresendarray 319
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 290406 // Anthony Reimos (NPC)
       {
        setvar atm_wiresendarray 320
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 562584 // Katrina Anderson (NPC)
       {
        setvar atm_wiresendarray 321
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 837373 // Terrance Bobcat (NPC)
       {
        setvar atm_wiresendarray 322
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 837372 // Teresa Bobcat (NPC)
       {
        setvar atm_wiresendarray 323
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 60191 // Victor Elecmire (NPC)
       {
        setvar atm_wiresendarray 324
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 301040 // William Blazkowicz II (NPC)
       {
        setvar atm_wiresendarray 325
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 301050 // Mortimer McMire (NPC)
       {
        setvar atm_wiresendarray 326
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 428350 // Molly Mcmire (NPC)
       {
        setvar atm_wiresendarray 327
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 474312 // Merilyn Bates (NPC)
       {
        setvar atm_wiresendarray 328
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 239647 // Jesus Medina (NPC)
       {
        setvar atm_wiresendarray 329
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 627276 // Marcus Collier (NPC)
       {
        setvar atm_wiresendarray 330
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 360744 // Larry Huggins (NPC)
       {
        setvar atm_wiresendarray 331
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 282488 // Glenn Cox (NPC)
       {
        setvar atm_wiresendarray 332
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 942285 // Darius Jefferies (NPC)
       {
        setvar atm_wiresendarray 333
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 751072 // Ramone Deggaris (NPC)
       {
        setvar atm_wiresendarray 334
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 162598 // Dillard L. Blake (NPC)
       {
        setvar atm_wiresendarray 335
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 845423 // Tankanori Zilla (NPC)
       {
        setvar atm_wiresendarray 336
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 324731 // Natsuken Zilla (NPC)
       {
        setvar atm_wiresendarray 337
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 889154 // Caleb Valiant (NPC)
       {
        setvar atm_wiresendarray 338
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 537369 // "John Robert Foster" (NPC)
       {
        setvar atm_wiresendarray 339
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 178935 // Ion Zerman (NPC)
       {
        setvar atm_wiresendarray 340
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 938457 // Kenneth Fertang (NPC)
       {
        setvar atm_wiresendarray 341
        state cmd_wiremoney_sender
       }   
       else
       ifvare atm_acctnum 27964 // Quenton Stephens (NPC)
       {
        setvar atm_wiresendarray 342
        state cmd_wiremoney_sender
       }   
// Fill in Here
      }
//**************************
//*End Wire Funds Code Here*
//**************************
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 9 // "ERROR" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_mode 1
      setvar atm_amount_all 0
      setvar atm_wacctnum 0
      setvar atm_errortype 0
      setvar atm_action 0 
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      state randomatmbeeps
     }
     setvar atm_button1timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
ends

state atm-midupperleftbutton
    ifvare atm_mode 0 // Welcome Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvarvar mpresstime temppartime
     setvar atm_button2timer 13
     state setreturn-1
    }
    else
    ifvare atm_mode 1 // Enter Acct#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 2 // Enter PIN#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 3 // Options Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 4 // Withdraw Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 5 // Deposit Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 6 // "Take Cash" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 7 // Wire Amount Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 8 // Wire To Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 9 // "ERROR" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button2timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
ends

state atm-midlowerleftbutton
    ifvare atm_mode 0 // Welcome Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 1 // Enter Acct#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 2 // Enter PIN#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 3 // Options Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 4 // Withdraw Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 5 // Deposit Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 6 // "Take Cash" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 7 // Wire Amount Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 8 // Wire To Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 9 // "ERROR" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button3timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
ends

state atm-lowerleftbutton
          ifvare atm_mode 0 // Welcome Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 1 // Enter Acct#
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 2 // Enter PIN#
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 3 // Options Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state getatmdollarcents
            ifvarg TEMPDOLLARS 0
            {
             setvar atm_mode 7
             setvar atm_action 2
             setvar atm_amount_all 0
             setvar atm_errortype 0
             setvar atm_serrortimer 0
             setvar atm_serrortype 0
             state randomatmbeeps
            }
            else
            {
             ifvarg TEMPCENTS 0
             {
              setvar atm_mode 7
              setvar atm_action 2
              setvar atm_amount_all 0
              setvar atm_errortype 0
              setvar atm_serrortimer 0
              setvar atm_serrortype 0
              state randomatmbeeps
             }
             else
             {
              setvar atm_errortype 0
              setvar atm_serrortimer 26
              setvar atm_serrortype 3
              state randomatmbeeps sound MENU_ERROR
             }
            }
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 4 // Withdraw Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 5 // Deposit Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 6 // "Take Cash" Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 7 // Wire Amount Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 8 // Wire To Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
          else
          ifvare atm_mode 9 // "ERROR" Screen
          {
           state getpartime
           addvar mpresstime 1
           ifvarvare temppartime mpresstime nullop else
           {
            state randomatmbeeps sound MENU_ERROR
           }
           setvar atm_button4timer 13
           setvarvar mpresstime temppartime
           state setreturn-1
          }
ends

state atm-upperrightbutton
ifvare atm_mode 0 // Welcome Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_errortype 0
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 1 // Enter Acct#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      setvar atm_errortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 2 // Enter PIN#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      setvar atm_errortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 3 // Options Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      ifvarg DOLLARS 0
      {
       setvar atm_mode 5
       setvar atm_action 1
       setvar atm_amount_all 0
       setvar atm_errortype 0
       setvar atm_serrortimer 0
       setvar atm_serrortype 0
       state randomatmbeeps
      }
      else
      {
       ifvarg CENTS 0
       {
        setvar atm_mode 5
        setvar atm_action 1
        setvar atm_amount_all 0
        setvar atm_errortype 0
        setvar atm_serrortimer 0
        setvar atm_serrortype 0
        state randomatmbeeps
       }
       else
       {
        setvar atm_errortype 0
        setvar atm_serrortimer 26
        setvar atm_serrortype 2
        state randomatmbeeps sound MENU_ERROR
       }
      }
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 4 // Withdraw Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      setvar atm_errortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 5 // Deposit Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      setvar atm_errortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 6 // "Take Cash" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      setvar atm_errortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 7 // "Wire Amount" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      setvar atm_errortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 8 // "Wire To" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      setvar atm_errortype 0
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 9 // "ERROR" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      setvar atm_errortype 0
      setvar atm_amount_all 0
      setvar atm_mode 0
      setvar atm_action 0
      setvar atm_serrortimer 0
      setvar atm_serrortype 0
      state randomatmbeeps
     }
     setvar atm_button5timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
ends

state atm-midupperrightbutton
    ifvare atm_mode 0 // Welcome Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 1 // Enter Acct#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 2 // Enter PIN#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 3 // Options Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 4 // Withdraw Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 5 // Deposit Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 6 // "Take Cash" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 7 // Wire Amount Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 8 // Wire To Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 9 // "ERROR" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button6timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
ends

state atm-midlowerrightbutton
    ifvare atm_mode 0 // Welcome Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 1 // Enter Acct#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 2 // Enter PIN#
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 3 // Options Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 4 // Withdraw Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 5 // Deposit Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 6 // "Take Cash" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 7 // Wire Amount Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 8 // Wire To Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
    else
    ifvare atm_mode 9 // "ERROR" Screen
    {
     state getpartime
     addvar mpresstime 1
     ifvarvare temppartime mpresstime nullop else
     {
      state randomatmbeeps sound MENU_ERROR
     }
     setvar atm_button7timer 13
     setvarvar mpresstime temppartime
     state setreturn-1
    }
ends

state atm-lowerrightbutton
ifvare atm_mode 0 // Welcome Screen
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_id -1 
          setvar atm_type 0
          setvar atm_mode 0
          setvar atm_action 0 
          setvar atm_acctnum 0
          setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps sound MENU_EXIT 
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 1 // Enter Acct#
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_mode 0
          setvar atm_action 0 
          setvar atm_acctnum 0
          setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 2 // Enter PIN#
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_mode 0
          setvar atm_action 0 
          setvar atm_acctnum 0
          setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 3 // Options Screen [Logged In]
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_mode 0
          setvar atm_action 0 
          setvar atm_acctnum 0
          setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 4 // Withdraw Screen [Logged In]
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_mode 3 // 0
          setvar atm_action 0 
          // setvar atm_acctnum 0
          // setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 5 // Deposit Screen [Logged In]
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_mode 3 // 0
          setvar atm_action 0 
          // setvar atm_acctnum 0
          // setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 6 // "Take Cash" Screen [Logged In]
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_id -1 
          setvar atm_type 0
          setvar atm_mode 0
          setvar atm_action 0 
          setvar atm_acctnum 0
          setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps sound MENU_EXIT 
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 7 // "Wire To" Screen [Logged In]
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_mode 3 // 0
          setvar atm_action 0 
          // setvar atm_acctnum 0
          // setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps sound MENU_EXIT 
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 8 // "Wire Amount" Screen [Logged In]
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_mode 7 // 0
          setvar atm_action 0 
          // setvar atm_acctnum 0
          // setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps sound MENU_EXIT 
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
        else
        ifvare atm_mode 9 // "ERROR" Screen
        {
         state getpartime
         addvar mpresstime 1
         ifvarvare temppartime mpresstime nullop else
         {
          setvar atm_id -1
          setvar atm_type 0
          setvar atm_mode 0
          setvar atm_action 0 
          setvar atm_acctnum 0
          setvar atm_pinnum 0
          setvar atm_amount_all 0
          setvar atm_errortype 0
          setvar atm_serrortimer 0
          setvar atm_serrortype 0
          state randomatmbeeps sound MENU_EXIT 
         }
         setvar atm_button8timer 13
         setvarvar mpresstime temppartime
         state setreturn-1
        }
ends

state atm-backspacekey
ifvare atm_mode 1 // Account Number
         {
          ifvare atm_acctnum 0 // If you hit backspace when the code is 0, you cancel out of the ACCT#
          {
           setvar atm_mode 0
           setvar atm_action 0
          }
          else
          ifvarg atm_acctnum 0 // Else if it's above 0, you divide by 10 to emulate a backspace key
          {
           divvar atm_acctnum 10
           ifvarl atm_acctnum 0 setvar atm_acctnum 0
          }
          state randomatmbeeps
          state setreturn-1
         }
         else
         ifvare atm_mode 2 // PIN#
         {
          ifvare atm_pinnum 0 // If you hit backspace when the code is 0, you cancel out of the PIN#
          {
           setvar atm_mode 1
           setvar atm_action 0
          }
          else
          ifvarg atm_pinnum 0 // Else if it's above 0, you divide by 10 to emulate a backspace key
          {
           divvar atm_pinnum 10
           ifvarl atm_pinnum 0 setvar atm_pinnum 0
          }
          state randomatmbeeps
          state setreturn-1
         }
         else
         ifvare atm_mode 4 // Withdraw
         {
          ifvarg atm_amount_all 0 // divide by 10 to emulate a backspace key
          {
           divvar atm_amount_all 10
           ifvarl atm_amount_all 0 setvar atm_amount_all 0
          }
          state randomatmbeeps
          state setreturn-1
         }
         else
         ifvare atm_mode 5 // Deposit
         {
          ifvarg atm_amount_all 0 // divide by 10 to emulate a backspace key
          {
           divvar atm_amount_all 10
           ifvarl atm_amount_all 0 setvar atm_amount_all 0
          }
          state randomatmbeeps
          state setreturn-1
         }
         else
         ifvare atm_mode 7 // Wire Funds
         {
          ifvarg atm_amount_all 0 // divide by 10 to emulate a backspace key
          {
           divvar atm_amount_all 10
           ifvarl atm_amount_all 0 setvar atm_amount_all 0
          }
          state randomatmbeeps
          state setreturn-1
         }
         else
         ifvare atm_mode 8 // Wire To
         {
          ifvarg atm_wacctnum 0 // divide by 10 to emulate a backspace key
          {
           divvar atm_wacctnum 10
           ifvarl atm_wacctnum 0 setvar atm_wacctnum 0
          }
          state randomatmbeeps
          state setreturn-1
         }
ends

//******************
//***END ATM CODE***
//******************

