Advertisement
Guest User

Untitled

a guest
May 2nd, 2016
956
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.74 KB | None | 0 0
  1. {
  2. "name": "Questing v0.6.2 verybeta
  3. From Start to Victory Road
  4. Behaviour of the script:
  5. - Picks Charmander
  6. - Catch NidoranM route 22
  7. - Farm route 22 until NidoranM is 14
  8. - Farm route 2 after the forest until NidoranM is 16
  9. - Fight Brock
  10. - Pick the moon stone
  11. - Evolves Nidorino
  12. - Farm to the MtMoon until Nidoking is 28
  13. - Pick the Helix fossil
  14. - Farm to the Route 24 until Nidoking is 38
  15. - Talk to Bill (and always do that once to check if it's already done)
  16. - Fight Misty
  17. - Fight the Team Rocket guy
  18. - Goes in the stupidly written vision
  19. - Talk to Surge
  20. - Enter SSAnne and pass the identification room
  21. - Pick the berry
  22. - Fight Jackso
  23. - Talk to all NPCs required to reach the Captain
  24. - Get the HM01
  25. - Teach HM01 to Charmeleon
  26. - Goes in the Gym
  27. - [HUMAN ACTION] Buy enough balls to catch 5 pokemons for HM05 and clear Surge's puzzle.
  28. - Fights Surge
  29. - Picks up Thunderbolt
  30. - Farm Nidoking in Digletts cave till 65
  31. - Go look for the HM05 and catch pokemons if needed
  32. - Go back to Cerulean and take the Rock Tunnel
  33. - Go from Lavender to Celadon
  34. - Teaches Thunderbolt to Nidoking
  35. - Goes to the top of Celadon Mart waiting for you to buy Lemonade
  36. - [HUMAN ACTION] Buy lemonade, Clear the Casino, Enter Gym
  37. - Fights Erika
  38. - Goes from Celadon to Lavender to take the Poke Flute
  39. - Goes from Lavender to Fuchsia
  40. - Fights Koga, fights Victor (route 19)
  41. - Picks up Surf in Safari Zone
  42. - Teach Surf to Nidoking
  43. - Farm Nidoking in Route 15 until Nidoking is 85
  44. - Waits in Route 8 Stop House for the player to enter Saffron (bot unable to interact with the guard)
  45. - [HUMAN ACTION] Enter Saffron
  46. - If in Saffron, clears Silph Co and fights Sabrina
  47. - Goes from Saffron to Cinnabar Island
  48. - Picks up Cinnabar Key and fights Blaine
  49. - Goes from Cinnabar to Viridian
  50. - Fights Giovanni
  51. - Fights Red
  52. - Enters Victory Road
  53. - [The End, currently waiting for a new version of the bot]
  54. Bugs:
  55. - When leveling in route 24 the bot can end up in an infinity loop trying to run away constantly: log out
  56. - Due to current limitations, the bot is unable to progress through Stop Houses leading to Saffron if the guards stop you.
  57. - Sometimes the bot will fall in the wrong hole in Cinnabar mansion, it will try again by itself till it gets it right
  58. Report bugs to: https://proshine-bot.ml/viewtopic.php?pid=491
  59. Contributors: c0pper",
  60. "author": "g0ld",
  61. "path": [
  62. {
  63. "condition": ["all",
  64. ["any",
  65. ["map", "Start"],
  66. ["map", "Player Bedroom Pallet"],
  67. ["map", "Player House Pallet"],
  68. ["map", "Pallet Town"],
  69. ["map", "Oaks Lab"]
  70. ],
  71. ["!hasItem", "Boulder Badge"]
  72. ],
  73. "actions": [
  74. {
  75. "condition": ["map", "Start"],
  76. "actions": [
  77. {
  78. "condition": ["isNpcOnCell", [21,38]],
  79. "action": ["talkToNpcOnCell", [21,38]]
  80. },
  81. {
  82. "action": ["moveToCell", [26,87]]
  83. }
  84. ]
  85. },
  86. {
  87. "condition": ["teamSize", "=", 0],
  88. "actions": [
  89. {
  90. "condition": ["map", "Player Bedroom Pallet"],
  91. "action": ["moveToMap", "Player House Pallet"]
  92. },
  93. {
  94. "condition": ["map", "Player House Pallet"],
  95. "action": ["moveToMap", "Link"]
  96. },
  97. {
  98. "condition": ["map", "Pallet Town"],
  99. "action": ["moveToMap", "Oaks Lab"]
  100. },
  101. {
  102. "condition": ["map", "Oaks Lab"],
  103. "actions": [
  104. {
  105. "condition": ["!isset", "OAK"],
  106. "action": ["talkToNpcOnCell", [7,4]],
  107. },
  108. {
  109. "action": ["talkToNpcOnCell", [10,6]],
  110. }
  111. ]
  112. }
  113. ]
  114. },
  115. {
  116. "condition": ["all",
  117. ["teamSize", ">", 0],
  118. ["!hasItem", "Pokeball"]
  119. ],
  120. "actions": [
  121. {
  122. "condition": ["map", "Oaks Lab"],
  123. "actions": [
  124. {
  125. "condition": ["!hasItem", "Pokedex"],
  126. "action": ["talkToNpcOnCell", [7,4]],
  127. },
  128. {
  129. "action": ["moveToMap", "Link"],
  130. }
  131. ]
  132. },
  133. {
  134. "condition": ["map", "Pallet Town"],
  135. "action": ["moveToMap", "Player House Pallet"]
  136. },
  137. {
  138. "condition": ["map", "Player House Pallet"],
  139. "actions": [
  140. {
  141. "condition": ["!isset", "MOM"],
  142. "action": ["talkToNpcOnCell", [7,6]]
  143. },
  144. {
  145. "action": ["moveToMap", "Player Bedroom Pallet"],
  146. }
  147. ]
  148. },
  149. {
  150. "condition": ["map", "Player Bedroom Pallet"],
  151. "actions": [
  152. {
  153. "condition": ["isNpcOnCell", [7,3]],
  154. "action": ["talkToNpcOnCell", [7,3]]
  155. },
  156. {
  157. "condition": ["isNpcOnCell", [6,3]],
  158. "action": ["talkToNpcOnCell", [6,3]]
  159. }
  160. ]
  161. }
  162. ]
  163. },
  164. {
  165. "condition": ["hasItem", "Pokeball"],
  166. "actions": [
  167. {
  168. "condition": ["map", "Player Bedroom Pallet"],
  169. "action": ["moveToMap", "Player House Pallet"]
  170. },
  171. {
  172. "condition": ["map", "Player House Pallet"],
  173. "action": ["moveToMap", "Link"]
  174. },
  175. {
  176. "condition": ["map", "Pallet Town"],
  177. "actions": [
  178. {
  179. "condition": ["npcExists", "#133"],
  180. "action": ["talkToNpc", "#133"]
  181. },
  182. {
  183. "condition": ["npcExists", "Jackson"],
  184. "action": ["talkToNpc", "Jackson"]
  185. },
  186. {
  187. "action": ["moveToMap", "Route 1"]
  188. }
  189. ]
  190. }
  191. ]
  192. },
  193.  
  194. ]
  195. },
  196.  
  197. {
  198. "condition": ["all",
  199. ["map", "Pallet Town"],
  200. ["hasItem", "Volcano Badge"]
  201. ],
  202. "action": ["moveToMap", "Route 1"]
  203. },
  204.  
  205. {
  206. "condition": ["map", "Route 1"],
  207. "action": ["moveToMap", "Route 1 Stop House"]
  208. },
  209. {
  210. "condition": ["map", "Route 1 Stop House"],
  211. "action": ["moveToMap", "Viridian City"]
  212. },
  213.  
  214. {
  215. "condition": ["map", "Viridian City"],
  216. "actions": [
  217. {
  218. "condition": ["any",
  219. ["isPokemon1Usable", "=", false],
  220. ["all",
  221. ["teamSize", ">=", 2],
  222. ["isPokemon2Usable", "=", false]
  223. ]
  224. ],
  225. "action": ["moveToMap", "Pokecenter Viridian"]
  226. },
  227. {
  228. "condition": ["all",
  229. ["hasItem", "Earth Badge"],
  230. ["isPokemon1Usable"]
  231. ],
  232. "action": ["moveToMap", "Route 22"]
  233. },
  234. {
  235. "condition": ["!isSet", "Pokecenter Viridian"],
  236. "action": ["moveToMap", "Pokecenter Viridian"]
  237. },
  238. {
  239. "condition": ["all",
  240. ["hasItem", "Volcano Badge"],
  241. ["!hasItem", "Earth Badge"]
  242. ],
  243. "action": ["moveToCell", [60, 22]]
  244. },
  245. {
  246. "condition": ["isSet", "Viridian Jackson defeated"],
  247. "action": ["moveToMap", "Route 2"]
  248. },
  249. {
  250. "condition": ["!isSet", "Viridian Jackson checked"],
  251. "action": ["moveToMap", "Viridian City School"]
  252. },
  253.  
  254. {
  255. "condition": ["all",
  256. ["!isSet", "hasNidoranM"],
  257. ["!hasItem", "Pokeball"]
  258. ],
  259. "action": ["moveToMap", "Viridian Pokemart"]
  260. },
  261. {
  262. "condition": ["!isSet", "hasNidoranM"],
  263. "action": ["moveToMap", "Route 22"]
  264. },
  265. {
  266. "condition": ["!isSet", "NidoranM ready for Viridian Jackson"],
  267. "action": ["moveToMap", "Route 22"]
  268. },
  269. {
  270. "condition": ["!isSet", "Viridian Jackson defeated"],
  271. "action": ["moveToMap", "Viridian City School"]
  272. }
  273. ]
  274. },
  275.  
  276. {
  277. "condition": ["map", "Viridian Gym 2"],
  278. "actions": [
  279. {
  280. "condition": ["isNpcOnCell", [10, 26]],
  281. "action": ["talkToNpcOnCell", [10, 26]]
  282. },
  283. {
  284. "condition": ["!hasItem", "Earth Badge"],
  285. "action": ["talkToNpcOnCell", [10, 8]]
  286. },
  287. {
  288. "action": ["moveToMap", "Viridian City"]
  289. },
  290. ]
  291. },
  292.  
  293.  
  294.  
  295. {
  296. "condition": ["map", "Viridian City School"],
  297. "actions": [
  298. {
  299. "condition": ["isSet", "Viridian Jackson defeated"],
  300. "action": ["moveToMap", "Viridian City"]
  301. },
  302. {
  303. "condition": ["!isSet", "Viridian Jackson checked"],
  304. "action": ["moveToMap", "Viridian City School Underground"]
  305. },
  306. {
  307. "condition": ["!isSet", "NidoranM ready for Viridian Jackson"],
  308. "action": ["moveToMap", "Viridian City"],
  309. },
  310. {
  311. "action": ["moveToMap", "Viridian City School Underground"]
  312. }
  313. ]
  314. },
  315.  
  316. {
  317. "condition": ["map", "Viridian City School Underground"],
  318. "actions": [
  319. {
  320. "condition": ["isSet", "Viridian Jackson defeated"],
  321. "action": ["moveToMap", "Viridian City School"]
  322. },
  323. {
  324. "condition": ["all",
  325. ["any",
  326. ["isSet", "NidoranM ready for Viridian Jackson"],
  327. ["!isSet", "Viridian Jackson checked"]
  328. ],
  329. ["isNpcOnCell", [7, 6]]
  330. ],
  331. "action": ["talkToNpcOnCell", [7, 6]]
  332. },
  333. {
  334. "condition": ["isSet", "NidoranM ready for Viridian Jackson"],
  335. "action": ["talkToNpc", "Jackson"]
  336. },
  337. {
  338. "condition": ["!isSet", "NidoranM ready for Viridian Jackson"],
  339. "action": ["moveToMap", "Viridian City School"],
  340. "set": "Viridian Jackson checked"
  341. }
  342. ]
  343. },
  344.  
  345. {
  346. "condition": ["map", "Pokecenter Viridian"],
  347. "actions": [
  348. {
  349. "condition": ["any",
  350. ["isPokemon1Usable", "=", false],
  351. ["all",
  352. ["teamSize", ">=", 2],
  353. ["isPokemon2Usable", "=", false]
  354. ]
  355. ],
  356. "action": ["usePokecenter"],
  357. },
  358. {
  359. "action": ["moveToMap", "Viridian City"],
  360. },
  361. ],
  362. "set": "Pokecenter Viridian"
  363. },
  364.  
  365. {
  366. "condition": ["all",
  367. ["map", "Viridian Pokemart"],
  368. ["!isSet", "hasNidoranM"],
  369. ["hasItem", "Pokeball"]
  370. ],
  371. "action": ["moveToMap", "Viridian City"],
  372. "set": "Waiting for you to buy pokeballs [HUMAN ACTION]"
  373. },
  374.  
  375. {
  376. "condition": ["map", "Route 22"],
  377. "actions": [
  378. {
  379. "condition": ["all",
  380. ["hasItem", "Earth Badge"],
  381. ["isPokemon1Usable"]
  382. ],
  383. "actions": [
  384. {
  385. "condition": ["isNpcOnCell", [10, 8]],
  386. "action": ["talkToNpcOnCell", [10, 8]]
  387. },
  388. {
  389. "action": ["moveToMap", "Pokemon League Reception Gate"]
  390. }
  391. ]
  392. },
  393. {
  394. "condition": ["pokemon2", "Nidoran M"],
  395. "action": ["SwapPokemonWithLeader", "Nidoran M"]
  396. },
  397. {
  398. "condition": ["all",
  399. ["isPokemon1Usable"],
  400. ["any",
  401. ["!isSet", "NidoranM ready for Viridian Jackson"],
  402. ["!isSet", "hasNidoranM"],
  403. ]
  404. ],
  405. "action": ["moveToRectangle", [50, 11], [52, 20]]
  406. },
  407. {
  408. "action": ["moveToMap", "Viridian City"]
  409. }
  410. ]
  411. },
  412.  
  413.  
  414. {
  415. "condition": ["all",
  416. ["map", "Route 2"],
  417. ["inRectangle", [0, 90], [24, 130]]
  418. ],
  419. "action": ["moveToMap", "Route 2 Stop"]
  420. },
  421.  
  422. {
  423. "condition": ["map", "Route 2 Stop"],
  424. "action": ["moveToMap", "Viridian Forest"]
  425. },
  426. {
  427. "condition": ["map", "Viridian Forest"],
  428. "action": ["moveToMap", "Route 2 Stop2"]
  429. },
  430. {
  431. "condition": ["map", "Route 2 Stop2"],
  432. "action": ["moveToMap", "Route 2"]
  433. },
  434.  
  435. {
  436. "condition": ["all",
  437. ["map", "Route 2"],
  438. ["inRectangle", [0, 0], [28, 42]]
  439. ],
  440. "actions": [
  441. {
  442. "condition": ["all",
  443. ["!isSet", "First pokemon ready for Brock"],
  444. ["isPokemon1Usable"],
  445. ["isSet", "Pokecenter Pewter"]
  446. ],
  447. "action": ["moveToRectangle", [19, 10], [21, 14]]
  448. },
  449. {
  450. "action": ["moveToMap", "Pewter City"]
  451. }
  452. ]
  453. },
  454.  
  455. {
  456. "condition": ["map", "Pewter City"],
  457. "actions": [
  458. {
  459. "condition": ["all",
  460. ["cell", [23, 21]],
  461. ["isNpcOnCell", [23, 22]]
  462. ],
  463. "action": ["talkToNpcOnCell", [23, 22]]
  464. },
  465. {
  466. "condition": ["hasItem", "Boulder Badge"],
  467. "action": ["moveToMap", "Route 3"]
  468. },
  469. {
  470. "condition": ["any",
  471. ["isPokemon1Usable", "=", false],
  472. ["!isSet", "Pokecenter Pewter"]
  473. ],
  474. "action": ["moveToMap", "Pokecenter Pewter"]
  475. },
  476. {
  477. "condition": ["!isSet", "First pokemon ready for Brock"],
  478. "action": ["moveToMap", "Route 2"]
  479. },
  480. {
  481. "action": ["moveToMap", "Pewter Gym"]
  482. }
  483. ]
  484. },
  485.  
  486. {
  487. "condition": ["map", "Pokecenter Pewter"],
  488. "actions": [
  489. {
  490. "condition": ["isPokemon1Usable", "=", false],
  491. "action": ["usePokecenter"],
  492. },
  493. {
  494. "action": ["moveToMap", "Pewter City"],
  495. }
  496. ],
  497. "set": "Pokecenter Pewter"
  498. },
  499.  
  500. {
  501. "condition": ["map", "Pewter Gym"],
  502. "actions": [
  503. {
  504. "condition": ["hasItem", "Boulder Badge"],
  505. "action": ["moveToMap", "Pewter City"]
  506. },
  507. {
  508. "action": ["talkToNpcOnCell", [7, 5]]
  509. }
  510. ]
  511. },
  512.  
  513. {
  514. "condition": ["map", "Route 3"],
  515. "actions": [
  516. {
  517. "condition": ["any",
  518. ["isPokemon1Usable", "=", false],
  519. ["!isSet", "Pokecenter Route 3"]
  520. ],
  521. "action": ["moveToMap", "Pokecenter Route 3"]
  522. },
  523. {
  524. "action": ["moveToMap", "Mt. Moon 1F"]
  525. }
  526. ]
  527. },
  528.  
  529. {
  530. "condition": ["map", "Pokecenter Route 3"],
  531. "actions": [
  532. {
  533. "condition": ["isPokemon1Usable", "=", false],
  534. "action": ["usePokecenter"],
  535. },
  536. {
  537. "action": ["moveToMap", "Route 3"],
  538. }
  539. ],
  540. "set": "Pokecenter Route 3"
  541. },
  542.  
  543. {
  544. "condition": ["map", "Mt. Moon 1F"],
  545. "actions": [
  546. {
  547. "condition": ["isPokemon1Usable", "=", false],
  548. "action": ["moveToMap", "Route 3"]
  549. },
  550. {
  551. "condition": ["all",
  552. ["isSet", "First pokemon ready for Moon Stone"],
  553. ["isNpcOnCell", [19, 16]],
  554. ["pokemon1", "=", "Nidorino"]
  555. ],
  556. "action": ["talkToNpcOnCell", [19, 16]]
  557. },
  558. {
  559. "condition": ["all",
  560. ["hasItem", "Moon Stone"],
  561. ["pokemon1", "=", "Nidorino"],
  562. ["isSet", "First pokemon ready for Moon Stone"]
  563. ],
  564. "action": ["UseItemOnPokemon","Moon Stone",1]
  565. },
  566. {
  567. "condition": ["!isSet", "First pokemon ready for Mt.Moon"],
  568. "action": ["moveToRectangle", [37, 60], [40, 62]]
  569. },
  570. {
  571. "action": ["moveToCell", [21, 20]]
  572. }
  573. ]
  574. },
  575.  
  576. {
  577. "condition": ["all",
  578. ["map", "Mt. Moon B1F"],
  579. ["inRectangle", [55, 14], [76, 35]]],
  580. "action": ["moveToCell", [56, 34]]
  581. },
  582.  
  583. {
  584. "condition": ["all",
  585. ["map", "Mt. Moon B2F"],
  586. ["inRectangle", [10, 22], [63, 64]]
  587. ],
  588. "actions": [
  589. {
  590. "condition": ["isNpcOnCell", [25, 29]],
  591. "actions": [
  592. {
  593. "condition": ["any",
  594. ["all",
  595. ["!isSet", "MtMoon go talk to fossil guy"],
  596. ["!isSet", "MtMoon talked to fossil guy"]
  597. ],
  598. ["all",
  599. ["isSet", "MtMoon go talk to fossil guy"],
  600. ["isSet", "MtMoon talked to fossil guy"]
  601. ]
  602. ],
  603. "action": ["talkToNpcOnCell", [25, 29]]
  604. },
  605. {
  606. "action": ["talkToNpcOnCell", [23, 31]]
  607. }
  608. ]
  609. },
  610. {
  611. "condition": ["isNpcOnCell", [26, 23]],
  612. "action": ["talkToNpcOnCell", [26, 23]]
  613. },
  614. {
  615. "action": ["moveToCell", [17, 27]]
  616. }
  617. ]
  618. },
  619.  
  620. {
  621. "condition": ["all",
  622. ["map", "Mt. Moon B1F"],
  623. ["inRectangle", [32, 19], [42, 22]]],
  624. "action": ["moveToCell", [41, 20]]
  625. },
  626. {
  627. "condition": ["map", "Mt. Moon Exit"],
  628. "action": ["moveToMap", "Route 4"]
  629. },
  630. {
  631. "condition": ["all",
  632. ["map", "Route 4"],
  633. ["cell", [91,21]]
  634. ],
  635. "action": ["moveToMap", "Cerulean City"]
  636. },
  637. {
  638. "condition": ["map", "Route 4"],
  639. "action": ["moveToCell", [91,21]]
  640. },
  641.  
  642. {
  643. "condition": ["map", "Cerulean City"],
  644. "actions": [
  645. {
  646. "condition": ["any",
  647. ["all",
  648. ["isPokemon1Usable", "=", false],
  649. ["pokemon1", "=", "Nidoking"]
  650. ],
  651. ["all",
  652. ["isPokemon2Usable", "=", false],
  653. ["pokemon2", "=", "Nidoking"]
  654. ],
  655. ["!isSet", "Pokecenter Cerulean"]
  656. ],
  657. "action": ["moveToMap", "Pokecenter Cerulean"]
  658. },
  659. {
  660. "condition": ["all",
  661. ["hasItem", "Cascade Badge"],
  662. ["isNpcOnCell", [47, 27]]
  663. ],
  664. "action": ["talkToNpcOnCell", [47, 27]]
  665. },
  666. {
  667. "condition": ["all",
  668. ["hasItem", "HM05 - FLash"],
  669. ["!hasItem", "Rainbow Badge"]
  670. ],
  671. "action": ["moveToMap", "Route 9"]
  672. },
  673. {
  674. "condition": ["hasItem", "Cascade Badge"],
  675. "action": ["moveToMap", "Route 5"]
  676. },
  677. {
  678. "condition": ["any",
  679. ["!isSet", "First pokemon ready for Misty"],
  680. ["!isSet", "Bill has book"]
  681. ],
  682. "action": ["moveToCell", [39, 0]]
  683. },
  684. {
  685. "condition": ["all",
  686. ["isSet", "First pokemon ready for Misty"],
  687. ["isSet", "Bill has book"],
  688. ["!hasItem", "Cascade Badge"]
  689. ],
  690. "action": ["moveToMap", "Cerulean Gym"]
  691. }
  692. ]
  693. },
  694.  
  695. {
  696. "condition": ["map", "Pokecenter Cerulean"],
  697. "actions": [
  698. {
  699. "condition": ["isPokemon1Usable", "=", false],
  700. "action": ["usePokecenter"],
  701. },
  702. {
  703. "action": ["moveToMap", "Cerulean City"],
  704. }
  705. ],
  706. "set": "Pokecenter Cerulean"
  707. },
  708.  
  709. {
  710. "condition": ["all",
  711. ["map", "Route 24"],
  712. ["inRectangle", [14, 1], [15, 30]]
  713. ],
  714. "actions": [
  715. {
  716. "condition": ["all",
  717. ["isPokemon1Usable"],
  718. ["any",
  719. ["!isSet", "First pokemon ready for Misty"],
  720. ["!isSet", "Bill has book"]
  721. ]
  722. ],
  723. "action": ["moveToMap", "Route 25"]
  724. },
  725. {
  726. "action": ["moveToMap", "Cerulean City"]
  727. }
  728. ]
  729. },
  730.  
  731. {
  732. "condition": ["map", "Route 25"],
  733. "actions": [
  734. {
  735. "condition": ["!isSet", "Bill has book"],
  736. "action": ["moveToMap", "Bills House"]
  737. },
  738. {
  739. "condition": ["all",
  740. ["isPokemon1Usable"],
  741. ["!isSet", "First pokemon ready for Misty"]
  742. ],
  743. "action": ["moveToCell", [9, 30]]
  744. },
  745. {
  746. "action": ["moveToCell", [14, 30]]
  747. }
  748. ]
  749. },
  750.  
  751. {
  752. "condition": ["all",
  753. ["map", "Route 24"],
  754. ["inRectangle", [6, 0], [9, 16]]
  755. ],
  756. "actions": [
  757. {
  758. "condition": ["all",
  759. ["!isSet", "First pokemon ready for Misty"],
  760. ["isPokemon1Usable"]
  761. ],
  762. "action": ["moveToRectangle", [6,2], [9, 16]]
  763. },
  764. {
  765. "action": ["moveToMap", "Route 25"]
  766. }
  767. ]
  768. },
  769.  
  770. {
  771. "condition": ["map", "Bills House"],
  772. "actions": [
  773. {
  774. "condition": ["!isSet", "Bill found book"],
  775. "action": ["talkToNpcOnCell", [18,2]]
  776. },
  777. {
  778. "condition": ["!isSet", "Bill has book"],
  779. "action": ["talkToNpc", "Bill"]
  780. },
  781. {
  782. "action": ["moveToMap", "Route 25"]
  783. }
  784. ]
  785. },
  786.  
  787. {
  788. "condition": ["map", "Cerulean Gym"],
  789. "actions": [
  790. {
  791. "condition": ["!hasItem", "Cascade Badge"],
  792. "action": ["talkToNpcOnCell", [10, 6]]
  793. },
  794. {
  795. "action": ["moveToMap", "Cerulean City"]
  796. }
  797. ]
  798. },
  799.  
  800. {
  801. "condition": ["map", "Route 9"],
  802. "actions": [
  803. {
  804. "condition": ["isNpcOnCell", [11,29]],
  805. "action": ["talkToNpcOnCell", [11,29]]
  806. },
  807. {
  808. "condition": ["isNpcOnCell", [24,13]],
  809. "action": ["talkToNpcOnCell", [24,13]]
  810. },
  811. {
  812. "condition": ["isNpcOnCell", [25,13]],
  813. "action": ["talkToNpcOnCell", [25,13]]
  814. },
  815. {
  816. "condition": ["isNpcOnCell", [26,13]],
  817. "action": ["talkToNpcOnCell", [26,13]]
  818. },
  819. {
  820. "condition": ["all",
  821. ["hasItem", "HM05 - Flash"],
  822. ["!hasItem", "Rainbow Badge"]
  823. ],
  824. "action": ["moveToMap", "Route 10"]
  825. },
  826. {
  827. "action": ["moveToMap", "Cerulean City"]
  828. }
  829. ]
  830. },
  831.  
  832. {
  833. "condition": ["all",
  834. ["map", "Route 10"],
  835. ["inRectangle", [10,0], [23,8]]
  836. ],
  837. "actions": [
  838. {
  839. "condition": ["all",
  840. ["hasItem", "HM05 - Flash"],
  841. ["!hasItem", "Rainbow Badge"]
  842. ],
  843. "action": ["moveToMap", "Rock Tunnel 1"]
  844. },
  845. {
  846. "action": ["moveToMap", "Route 9"]
  847. }
  848. ]
  849. },
  850.  
  851. {
  852. "condition": ["all",
  853. ["map", "Rock Tunnel 1"],
  854. ["any",
  855. ["inRectangle", [40, 8], [44, 10]],
  856. ["inRectangle", [34, 8], [38, 9]],
  857. ["inRectangle", [34, 8], [36, 16]],
  858. ]
  859. ],
  860. "action": ["moveToCell", [35, 16]]
  861. },
  862. {
  863. "condition": ["all",
  864. ["map", "Rock Tunnel 2"],
  865. ["any",
  866. ["inRectangle", [36, 9], [37, 17]],
  867. ["inRectangle", [38, 8], [45, 10]],
  868. ["inRectangle", [37, 5], [45, 7]],
  869. ["inRectangle", [35, 5], [37, 5]],
  870. ["inRectangle", [27, 4], [45, 6]],
  871. ["inRectangle", [29, 7], [26, 9]],
  872. ["inRectangle", [29, 5], [35, 6]],
  873. ["inRectangle", [29, 5], [29, 6]],
  874. ["inRectangle", [26, 6], [29, 6 ]],
  875. ["inRectangle", [26, 6], [26,9]],
  876. ["inRectangle", [18, 9], [26, 9]],
  877. ["inRectangle", [15, 10], [18, 9]],
  878. ["inRectangle", [13, 9], [15, 10]],
  879. ["inRectangle", [11, 8], [12, 10]],
  880. ["inRectangle", [9, 8], [11, 9]],
  881. ["inRectangle", [8, 6], [9, 8]],
  882. ["inRectangle", [6, 5], [8, 6]]
  883. ]
  884. ],
  885. "action": ["moveToCell", [7, 5]]
  886. },
  887. {
  888. "condition": ["all",
  889. ["map", "Rock Tunnel 1"],
  890. ["any",
  891. ["inRectangle", [6, 6], [10, 9]],
  892. ["inRectangle", [10, 7], [12,8]],
  893. ["inRectangle",[12, 5], [16, 8]],
  894. ["inRectangle", [17, 8], [20, 8]],
  895. ["inRectangle", [20, 8], [23, 9]],
  896. ["inRectangle", [23, 9], [23, 13]],
  897. ["inRectangle", [6, 13], [23, 13]],
  898. ["inRectangle", [6, 13], [10, 16]]
  899. ]
  900. ],
  901. "action": ["moveToCell", [8, 15]]
  902. },
  903. {
  904. "condition": ["all",
  905. ["map", "Rock Tunnel 2"],
  906. ["any",
  907. ["inRectangle", [9, 13], [26, 21]],
  908. ["inRectangle", [12, 21], [26, 22]],
  909. ["inRectangle", [9, 22], [12, 22]],
  910. ["inRectangle", [9, 13], [26, 21]],
  911. ["inRectangle", [9, 22], [10, 27]],
  912. ["inRectangle", [7, 25], [10, 27]]
  913. ]
  914. ],
  915. "action": ["moveToCell", [8, 26]]
  916. },
  917. {
  918. "condition": ["all",
  919. ["map", "Rock Tunnel 1"],
  920. ["any",
  921. ["inRectangle", [6, 28], [9, 31]],
  922. ["inRectangle", [8, 27], [9, 31]],
  923. ["inRectangle", [8, 27], [22, 32]]
  924. ]
  925. ],
  926. "action": ["moveToCell", [21, 32]]
  927. },
  928. {
  929. "condition": ["all",
  930. ["map", "Route 10"],
  931. ["inRectangle", [2, 44], [7, 47]],
  932. ],
  933. "action": ["moveToMap", "Lavender Town"]
  934. },
  935. {
  936. "condition": ["map", "Lavender Town"],
  937. "actions": [
  938. {
  939. "condition": ["any",
  940. ["all",
  941. ["isPokemon1Usable", "=", false],
  942. ["pokemon1", "=", "Nidoking"]
  943. ],
  944. ["all",
  945. ["isPokemon2Usable", "=", false],
  946. ["pokemon2", "=", "Nidoking"]
  947. ],
  948. ["!isSet", "Pokecenter Lavender"]
  949. ],
  950. "action": ["moveToMap", "Pokecenter Lavender"]
  951. },
  952. {
  953. "condition": ["all",
  954. ["!hasItem", "Poke Flute"],
  955. ["!isSet", "Checked Mr. Fuji Notes"],
  956. ["hasItem", "Rainbow Badge"]
  957. ],
  958. "action": ["moveToMap", "Lavender Town Volunteer House"]
  959. },
  960. {
  961. "condition": ["all",
  962. ["!hasItem", "Poke Flute"],
  963. ["hasItem", "Rainbow Badge"],
  964. ["isSet", "Checked Mr. Fuji Notes"]
  965. ],
  966. "action": ["moveToMap", "Pokemon Tower 1F"]
  967. },
  968. {
  969. "condition": ["any",
  970. ["all",
  971. ["hasItem", "Poke Flute"],
  972. ["!hasItem", "Soul Badge"]
  973. ],
  974. ["hasItem", "Marsh Badge"]
  975. ],
  976. "action": ["moveToMap", "Route 12"]
  977. },
  978. {
  979. "condition": ["any",
  980. ["!hasItem", "Rainbow Badge"],
  981. ["!hasItem", "Marsh Badge"]
  982. ],
  983. "action": ["moveToMap", "Route 8"]
  984. }
  985. ]
  986. },
  987.  
  988. {
  989. "condition": ["map", "Pokecenter Lavender"],
  990. "actions": [
  991. {
  992. "condition": ["isPokemon1Usable", "=", false],
  993. "action": ["usePokecenter"],
  994. },
  995. {
  996. "action": ["moveToMap", "Lavender Town"],
  997. }
  998. ],
  999. "set": "Pokecenter Lavender"
  1000. },
  1001.  
  1002. {
  1003. "condition": ["map", "Lavender Town Volunteer House"],
  1004. "actions": [
  1005. {
  1006. "condition": ["!isSet", "Checked Mr. Fuji Notes"],
  1007. "action": ["talkToNpc", "Mr. Fujis Notes"],
  1008. "set": "Checked Mr. Fuji Notes"
  1009. },
  1010. {
  1011. "action": ["moveToMap", "Lavender Town"]
  1012. }
  1013. ]
  1014. },
  1015.  
  1016. {
  1017. "condition": ["map", "Pokemon Tower 1F"],
  1018. "actions": [
  1019. {
  1020. "condition": ["!hasItem", "Poke Flute"],
  1021. "action": ["moveToMap", "Pokemon Tower 2F"]
  1022. },
  1023. {
  1024. "action": ["moveToMap", "Lavender Town"]
  1025. }
  1026. ]
  1027. },
  1028. {
  1029. "condition": ["map", "Pokemon Tower 2F"],
  1030. "actions": [
  1031. {
  1032. "condition": ["!hasItem", "Poke Flute"],
  1033. "action": ["moveToMap", "Pokemon Tower 3F"]
  1034. },
  1035. {
  1036. "action": ["moveToMap", "Pokemon Tower 1F"]
  1037. }
  1038. ]
  1039. },
  1040. {
  1041. "condition": ["map", "Pokemon Tower 3F"],
  1042. "actions": [
  1043. {
  1044. "condition": ["!hasItem", "Poke Flute"],
  1045. "action": ["moveToMap", "Pokemon Tower 4F"]
  1046. },
  1047. {
  1048. "action": ["moveToMap", "Pokemon Tower 2F"]
  1049. }
  1050. ]
  1051. },
  1052. {
  1053. "condition": ["map", "Pokemon Tower 4F"],
  1054. "actions": [
  1055. {
  1056. "condition": ["!hasItem", "Poke Flute"],
  1057. "action": ["moveToMap", "Pokemon Tower 5F"]
  1058. },
  1059. {
  1060. "action": ["moveToMap", "Pokemon Tower 3F"]
  1061. }
  1062. ]
  1063. },
  1064. {
  1065. "condition": ["map", "Pokemon Tower 5F"],
  1066. "actions": [
  1067. {
  1068. "condition": ["!hasItem", "Poke Flute"],
  1069. "action": ["moveToMap", "Pokemon Tower 6F"]
  1070. },
  1071. {
  1072. "action": ["moveToMap", "Pokemon Tower 4F"]
  1073. }
  1074. ]
  1075. },
  1076. {
  1077. "condition": ["all",
  1078. ["map", "Pokemon Tower 6F"],
  1079. ["isNpcOnCell", [9, 19]]
  1080. ],
  1081. "actions": [
  1082. {
  1083. "condition": ["!hasItem", "Poke Flute"],
  1084. "action": ["talkToNpcOnCell", [9, 19]]
  1085. },
  1086. {
  1087. "action": ["moveToMap", "Pokemon Tower 7F"]
  1088. }
  1089. ]
  1090. },
  1091. {
  1092. "condition": ["map", "Pokemon Tower 6F"],
  1093. "actions": [
  1094. {
  1095. "condition": ["!hasItem", "Poke Flute"],
  1096. "action": ["moveToMap", "Pokemon Tower 7F"]
  1097. },
  1098. {
  1099. "action": ["moveToMap", "Pokemon Tower 5F"]
  1100. }
  1101. ]
  1102. },
  1103. {
  1104. "condition": ["map", "Pokemon Tower 7F"],
  1105. "actions": [
  1106. {
  1107. "condition": ["all",
  1108. ["isNpcOnCell", [9, 5]],
  1109. ["!hasItem", "Poke Flute"]
  1110. ],
  1111. "action": ["talkToNpcOnCell", [9, 5]]
  1112. },
  1113. {
  1114. "action": ["moveToMap", "Pokemon Tower 6F"]
  1115. }
  1116. ]
  1117. },
  1118.  
  1119. {
  1120. "condition": ["map", "Saffron City"],
  1121. "actions": [
  1122. {
  1123. "condition": ["any",
  1124. ["all",
  1125. ["isPokemon1Usable", "=", false],
  1126. ["pokemon1", "=", "Nidoking"]
  1127. ],
  1128. ["all",
  1129. ["isPokemon2Usable", "=", false],
  1130. ["pokemon2", "=", "Nidoking"]
  1131. ],
  1132. ["!isSet", "Pokecenter Saffron"]
  1133. ],
  1134. "action": ["moveToMap", "Pokecenter Saffron"]
  1135. },
  1136. {
  1137. "condition": ["all",
  1138. ["!isSet", "Silph Co Cleared"],
  1139. ["!hasItem", "Marsh Badge"]
  1140. ],
  1141. "action": ["moveToMap", "Silph Co 1F"]
  1142. },
  1143. {
  1144. "condition": ["!hasItem", "Marsh Badge"],
  1145. "action": ["moveToMap", "Saffron Gym"]
  1146. },
  1147. {
  1148. "condition": ["hasItem", "Marsh Badge"],
  1149. "action": ["moveToMap", "Route 8 Stop House"]
  1150. }
  1151. ]
  1152. },
  1153.  
  1154. {
  1155. "condition": ["map", "Silph Co 1F"],
  1156. "actions": [
  1157. {
  1158. "condition": ["!isSet", "Silph Co Cleared"],
  1159. "action": ["moveToMap", "Silph Co 2F"]
  1160. },
  1161. {
  1162. "action": ["moveToMap", "Saffron City"]
  1163. }
  1164. ]
  1165. },
  1166. {
  1167. "condition": ["map", "Silph Co 2F"],
  1168. "actions": [
  1169. {
  1170. "condition": ["!isSet", "Silph Co Cleared"],
  1171. "action": ["moveToMap", "Silph Co 3F"]
  1172. },
  1173. {
  1174. "action": ["moveToMap", "Silph Co 1F"]
  1175. }
  1176. ]
  1177. },
  1178. {
  1179. "condition": ["map", "Silph Co 3F"],
  1180. "actions": [
  1181. {
  1182. "condition": ["!isSet", "Silph Co Cleared"],
  1183. "action": ["moveToCell", [16,18]]
  1184. },
  1185. {
  1186. "action": ["moveToMap", "Silph Co 2F"]
  1187. }
  1188. ]
  1189. },
  1190. {
  1191. "condition": ["map", "Silph Co 7F"],
  1192. "actions": [
  1193. {
  1194. "condition": ["isSet", "Silph Co Cleared"],
  1195. "action": ["moveToCell", [6,6]]
  1196. },
  1197. {
  1198. "condition": ["!isSet", "Silph Co Cleared"],
  1199. "action": ["moveToCell", [6,11]]
  1200. }
  1201. ]
  1202. },
  1203. {
  1204. "condition": ["map", "Silph Co 11F"],
  1205. "actions": [
  1206. {
  1207. "condition": ["isNpcOnCell", [3,13]],
  1208. "action": ["talkToNpcOnCell", [3,13]]
  1209. },
  1210. {
  1211. "condition": ["isNpcOnCell", [6,15]],
  1212. "action": ["talkToNpcOnCell", [6,15]]
  1213. },
  1214. {
  1215. "action": ["moveToCell", [3,7]]
  1216. }
  1217. ]
  1218. },
  1219.  
  1220. {
  1221. "condition": ["map", "Saffron Gym"],
  1222. "actions": [
  1223. {
  1224. "condition": ["cell", [12,21]],
  1225. "action": ["moveToCell", [15,17]]
  1226. },
  1227. {
  1228. "condition": ["cell", [22,20]],
  1229. "action": ["moveToCell", [22,17]]
  1230. },
  1231. {
  1232. "condition": ["cell", [22,10]],
  1233. "action": ["moveToCell", [18,13]]
  1234. },
  1235. {
  1236. "condition": ["cell", [10,3]],
  1237. "action": ["moveToCell", [10,6]]
  1238. },
  1239. {
  1240. "condition": ["cell", [6,10]],
  1241. "action": ["moveToCell", [6,13]]
  1242. },
  1243. {
  1244. "condition": ["cell", [6,20]],
  1245. "action": ["moveToCell", [2,17]]
  1246. },
  1247. {
  1248. "condition": ["cell", [22,6]],
  1249. "action": ["moveToCell", [18,6]]
  1250. },
  1251. {
  1252. "condition": ["cell", [18,3]],
  1253. "action": ["moveToCell", [18,6]]
  1254. },
  1255. {
  1256. "condition": ["cell", [2,3]],
  1257. "action": ["moveToCell", [2,6]]
  1258. },
  1259. {
  1260. "condition": ["all",
  1261. ["!hasItem", "Marsh Badge"],
  1262. ["cell", [14,13]]
  1263. ],
  1264. "action": ["talkToNpcOnCell", [12,10]]
  1265. },
  1266. {
  1267. "condition": ["all",
  1268. ["!hasItem", "Marsh Badge"],
  1269. ["cell", [13,10]]
  1270. ],
  1271. "action": ["talkToNpcOnCell", [12,10]]
  1272. },
  1273. {
  1274. "condition": ["all",
  1275. ["!hasItem", "Marsh Badge"],
  1276. ["cell", [12,11]]
  1277. ],
  1278. "action": ["talkToNpcOnCell", [12,10]]
  1279. },
  1280. {
  1281. "condition": ["all",
  1282. ["!hasItem", "Marsh Badge"],
  1283. ["cell", [11,10]]
  1284. ],
  1285. "action": ["talkToNpcOnCell", [12,10]]
  1286. },
  1287. {
  1288. "condition": ["all",
  1289. ["!hasItem", "Marsh Badge"],
  1290. ["cell", [12,9]]
  1291. ],
  1292. "action": ["talkToNpcOnCell", [12,10]]
  1293. },
  1294. {
  1295. "condition": ["all",
  1296. ["hasItem", "Marsh Badge"],
  1297. ["inRectangle", [9, 9], [14, 13]]
  1298. ],
  1299. "action": ["moveToCell", [10,13]]
  1300. },
  1301. {
  1302. "condition": ["all",
  1303. ["hasItem", "Marsh Badge"],
  1304. ["cell", [12,18]]
  1305. ],
  1306. "action": ["moveToCell", [12,22]]
  1307. },
  1308. ]
  1309. },
  1310.  
  1311. {
  1312. "condition": ["map", "Pokecenter Saffron"],
  1313. "actions": [
  1314. {
  1315. "condition": ["isPokemon1Usable", "=", false],
  1316. "action": ["usePokecenter"],
  1317. },
  1318. {
  1319. "action": ["moveToMap", "Saffron City"],
  1320. }
  1321. ],
  1322. "set": "Pokecenter Saffron"
  1323. },
  1324.  
  1325. {
  1326. "condition": ["map", "Route 8"],
  1327. "actions": [
  1328. {
  1329. "condition": ["any",
  1330. ["all",
  1331. ["hasItem", "Rainbow Badge"],
  1332. ["!hasItem", "Poke Flute"]
  1333. ],
  1334. ["hasItem", "Marsh Badge"]
  1335. ],
  1336. "action": ["moveToMap", "Lavender Town"]
  1337. },
  1338. {
  1339. "condition": ["all",
  1340. ["hasItem", "Soul Badge"],
  1341. ["!hasItem", "Marsh Badge"]
  1342. ],
  1343. "action": ["moveToMap", "Route 8 Stop House"]
  1344. },
  1345. {
  1346. "action": ["moveToMap", "Underground House 4"]
  1347. }
  1348. ]
  1349. },
  1350.  
  1351. {
  1352. "condition": ["map", "Route 8 Stop House"],
  1353. "actions": [
  1354. {
  1355. "condition": ["!hasItem", "Marsh Badge"],
  1356. "action": ["moveToCell", [7,6]]
  1357. },
  1358. {
  1359. "condition": ["hasItem", "Rainbow Badge"],
  1360. "action": ["moveToMap", "Route 8"]
  1361. }
  1362. ]
  1363. },
  1364.  
  1365. {
  1366. "condition": ["map", "Underground House 4"],
  1367. "actions": [
  1368. {
  1369. "condition": ["all",
  1370. ["hasItem", "Rainbow Badge"],
  1371. ["!hasItem", "Poke Flute"]
  1372. ],
  1373. "action": ["moveToMap", "Route 8"]
  1374. },
  1375. {
  1376. "action": ["moveToMap", "Underground1"]
  1377. }
  1378. ]
  1379. },
  1380. {
  1381. "condition": ["map", "Underground1"],
  1382. "actions": [
  1383. {
  1384. "condition": ["all",
  1385. ["hasItem", "Rainbow Badge"],
  1386. ["!hasItem", "Poke Flute"]
  1387. ],
  1388. "action": ["moveToMap", "Underground House 4"]
  1389. },
  1390. {
  1391. "action": ["moveToMap", "Underground House 3"]
  1392. }
  1393. ]
  1394. },
  1395. {
  1396. "condition": ["map", "Underground House 3"],
  1397. "actions": [
  1398. {
  1399. "condition": ["all",
  1400. ["hasItem", "Rainbow Badge"],
  1401. ["!hasItem", "Poke Flute"]
  1402. ],
  1403. "action": ["moveToMap", "Underground1"]
  1404. },
  1405. {
  1406. "action": ["moveToMap", "Route 7"]
  1407. }
  1408. ]
  1409. },
  1410. {
  1411. "condition": ["map", "Route 7"],
  1412. "actions": [
  1413. {
  1414. "condition": ["all",
  1415. ["hasItem", "Rainbow Badge"],
  1416. ["!hasItem", "Poke Flute"]
  1417. ],
  1418. "action": ["moveToMap", "Underground House 3"]
  1419. },
  1420. {
  1421. "condition": ["hasItem", "Soul Badge"],
  1422. "action": ["moveToMap", "Route 7 Stop House"]
  1423. },
  1424. {
  1425. "action": ["moveToMap", "Celadon City"]
  1426. }
  1427. ]
  1428. },
  1429.  
  1430. {
  1431. "condition": ["map", "Route 7 Stop House"],
  1432. "action": ["moveToMap", "Saffron City"]
  1433. },
  1434.  
  1435. {
  1436. "condition": ["map", "Celadon City"],
  1437. "actions": [
  1438. {
  1439. "condition": ["all",
  1440. ["isNpcOnCell", [21, 51]],
  1441. ["hasItem", "Rainbow Badge"]
  1442. ],
  1443. "action": ["talkToNpcOnCell", [21, 51]]
  1444. },
  1445. {
  1446. "condition": ["any",
  1447. ["all",
  1448. ["isPokemon1Usable", "=", false],
  1449. ["pokemon1", "=", "Nidoking"]
  1450. ],
  1451. ["all",
  1452. ["isPokemon2Usable", "=", false],
  1453. ["pokemon2", "=", "Nidoking"]
  1454. ],
  1455. ["!isSet", "Pokecenter Celadon"]
  1456. ],
  1457. "action": ["moveToMap", "Pokecenter Celadon"]
  1458. },
  1459. {
  1460. "condition": ["all",
  1461. ["!PokemonHasMove", 1,"Thunderbolt"],
  1462. ["pokemon1", "=", "Nidoking"]
  1463. ],
  1464. "action": ["UseItemOnPokemon","TM24", 1]
  1465. },
  1466. {
  1467. "condition": ["all",
  1468. ["!PokemonHasMove", 2,"Thunderbolt"],
  1469. ["pokemon2", "=", "Nidoking"]
  1470. ],
  1471. "action": ["UseItemOnPokemon","TM24", 2]
  1472. },
  1473. {
  1474. "condition": ["!hasItem", "Silph Scope"],
  1475. "action": ["moveToMap", "Celadon Mart 1"]
  1476. },
  1477. {
  1478. "condition": ["all",
  1479. ["isNpcOnCell", [46, 49]],
  1480. ["!hasItem", "Rainbow Badge"]
  1481. ],
  1482. "action": ["talkToNpcOnCell", [46, 49]]
  1483. },
  1484. {
  1485. "condition": ["!hasItem", "Rainbow Badge"],
  1486. "action": ["moveToCell", [21,51]]
  1487. },
  1488. {
  1489. "condition": ["all",
  1490. ["hasItem", "Silph Scope"],
  1491. ["hasItem", "Rainbow Badge"]
  1492. ],
  1493. "action": ["moveToMap", "Route 7"]
  1494. },
  1495. ]
  1496. },
  1497.  
  1498. {
  1499. "condition": ["map", "Celadon Mart 1"],
  1500. "action": ["moveToMap", "Celadon Mart Elevator"]
  1501. },
  1502.  
  1503. {
  1504. "condition": ["map", "Rocket Hideout B1F"],
  1505. "action": ["moveToCell", [9,4]]
  1506. },
  1507. {
  1508. "condition": ["map", "Celadon Gamecorner Stairs"],
  1509. "action": ["moveToMap", "Celadon City"]
  1510. },
  1511.  
  1512. {
  1513. "condition": ["map", "CeladonGym"],
  1514. "actions": [
  1515. {
  1516. "condition": ["!hasItem", "Rainbow Badge"],
  1517. "action": ["talkToNpcOnCell", [8, 4]]
  1518. },
  1519. {
  1520. "action": ["moveToMap", "Celadon City"]
  1521. }
  1522. ]
  1523. },
  1524.  
  1525. {
  1526. "condition": ["map", "Pokecenter Celadon"],
  1527. "actions": [
  1528. {
  1529. "condition": ["isPokemon1Usable", "=", false],
  1530. "action": ["usePokecenter"],
  1531. },
  1532. {
  1533. "action": ["moveToMap", "Celadon City"],
  1534. }
  1535. ],
  1536. "set": "Pokecenter Celadon"
  1537. },
  1538.  
  1539. {
  1540. "condition": ["map", "Route 5"],
  1541. "actions": [
  1542. {
  1543. "condition": ["all",
  1544. ["hasItem", "HM05 - Flash"],
  1545. ["!hasItem", "Rainbow Badge"]
  1546. ],
  1547. "action": ["moveToMap", "Cerulean City"]
  1548. },
  1549. {
  1550. "action": ["moveToMap", "Underground House 1"]
  1551. }
  1552. ]
  1553. },
  1554. {
  1555. "condition": ["map", "Underground House 1"],
  1556. "actions": [
  1557. {
  1558. "condition": ["all",
  1559. ["hasItem", "HM05 - Flash"],
  1560. ["!hasItem", "Rainbow Badge"]
  1561. ],
  1562. "action": ["moveToMap", "Route 5"]
  1563. },
  1564. {
  1565. "action": ["moveToMap", "Underground2"]
  1566. }
  1567. ]
  1568. },
  1569. {
  1570. "condition": ["map", "Underground2"],
  1571. "actions": [
  1572. {
  1573. "condition": ["all",
  1574. ["hasItem", "HM05 - Flash"],
  1575. ["!hasItem", "Rainbow Badge"]
  1576. ],
  1577. "action": ["moveToMap", "Underground House 1"]
  1578. },
  1579. {
  1580. "action": ["moveToMap", "Underground House 2"]
  1581. }
  1582. ]
  1583. },
  1584. {
  1585. "condition": ["map", "Underground House 2"],
  1586. "actions": [
  1587. {
  1588. "condition": ["all",
  1589. ["hasItem", "HM05 - Flash"],
  1590. ["!hasItem", "Rainbow Badge"]
  1591. ],
  1592. "action": ["moveToMap", "Underground2"]
  1593. },
  1594. {
  1595. "action": ["moveToMap", "Route 6"]
  1596. }
  1597. ]
  1598. },
  1599.  
  1600.  
  1601. {
  1602. "condition": ["map", "Route 6"],
  1603. "actions": [
  1604. {
  1605. "condition": ["any",
  1606. ["all",
  1607. ["isPokemon1Usable", "=", false],
  1608. ["pokemon1", "=", "Nidoking"]
  1609. ],
  1610. ["all",
  1611. ["isPokemon2Usable", "=", false],
  1612. ["pokemon2", "=", "Nidoking"]
  1613. ],
  1614. ],
  1615. "action": ["moveToMap", "Vermilion City"]
  1616. },
  1617. {
  1618. "condition": ["all",
  1619. ["hasItem", "HM01 - Cut"],
  1620. ["!PokemonHasMove", 2,"Cut"]
  1621. ],
  1622. "action": ["UseItemOnPokemon","HM01 - Cut", 2]
  1623. },
  1624. {
  1625. "condition": ["all",
  1626. ["isNpcOnCell", [24, 54]],
  1627. ["!isSet", "Psychic Wade explained"]
  1628. ],
  1629. "action": ["talkToNpcOnCell", [24, 54]]
  1630. },
  1631. {
  1632. "condition": ["all",
  1633. ["isNpcOnCell", [24, 54]],
  1634. ["isSet", "Surge talked"],
  1635. ["!isSet", "Psychic Wade congrated"]
  1636. ],
  1637. "action": ["talkToNpcOnCell", [24, 54]]
  1638. },
  1639. {
  1640. "condition": ["all",
  1641. ["isSet", "Surge talked"],
  1642. ["!isSet", "Psychic Wade congrated"]
  1643. ],
  1644. "action": ["moveToMap", "Vermilion City"],
  1645. "set": "Surge talked",
  1646. "set": "Psychic Wade congrated"
  1647. },
  1648. {
  1649. "condition": ["all",
  1650. ["hasItem", "HM01 - Cut"],
  1651. ["!isSet", "First pokemon ready for Surge"]
  1652. ],
  1653. "action": ["moveToRectangle", [24,47], [28,53]]
  1654. },
  1655. {
  1656. "condition": ["!hasItem", "HM05 - Flash"],
  1657. "action": ["moveToMap", "Vermilion City"]
  1658. },
  1659. {
  1660. "action": ["moveToMap", "Underground House 2"]
  1661. }
  1662. ]
  1663. },
  1664.  
  1665. {
  1666. "condition": ["map", "Vermilion City 2"],
  1667. "action": ["talkToNpcOnCell", [44, 30]]
  1668. },
  1669.  
  1670. {
  1671. "condition": ["map", "Pokecenter Vermilion"],
  1672. "actions": [
  1673. {
  1674. "condition": ["isPokemon1Usable", "=", false],
  1675. "action": ["usePokecenter"],
  1676. },
  1677. {
  1678. "action": ["moveToMap", "Vermilion City"],
  1679. }
  1680. ],
  1681. "set": "Pokecenter Vermilion"
  1682. },
  1683.  
  1684. {
  1685. "condition": ["map", "Vermilion City"],
  1686. "actions": [
  1687. {
  1688. "condition": ["any",
  1689. ["all",
  1690. ["isPokemon1Usable", "=", false],
  1691. ["pokemon1", "=", "Nidoking"]
  1692. ],
  1693. ["all",
  1694. ["isPokemon2Usable", "=", false],
  1695. ["pokemon2", "=", "Nidoking"]
  1696. ],
  1697. ["!isSet", "Pokecenter Vermilion"]
  1698. ],
  1699. "action": ["moveToMap", "Pokecenter Vermilion"]
  1700. },
  1701. {
  1702. "condition": ["all",
  1703. ["!isSet", "Psychic Wade explained"],
  1704. ["isNpcOnCell", [38, 63]]
  1705. ],
  1706. "action": ["moveToMap", "Route 6"]
  1707. },
  1708. {
  1709. "condition": ["all",
  1710. ["isSet", "Psychic Wade explained"],
  1711. ["isNpcOnCell", [38, 63]]
  1712. ],
  1713. "action": ["talkToNpcOnCell", [38, 63]]
  1714. },
  1715. {
  1716. "condition": ["!isSet", "Psychic Wade congrated"],
  1717. "action": ["moveToMap", "Route 6"],
  1718. "set": "Surge talked"
  1719. },
  1720. {
  1721. "condition": ["any",
  1722. ["all",
  1723. ["!hasItem", "Thunder Badge"],
  1724. ["isSet", "First pokemon ready for Surge"],
  1725. ],
  1726. ["all",
  1727. ["!hasItem", "TM24"],
  1728. ["hasItem", "Thunder Badge"],
  1729. ["!PokemonHasMove", 1,"Thunderbolt"]
  1730. ],
  1731. ],
  1732. "action": ["moveToMap", "Vermilion Gym"],
  1733. },
  1734. {
  1735. "condition": ["!hasItem", "HM01 - Cut"],
  1736. "action": ["moveToCell", [40, 67]]
  1737. },
  1738. {
  1739. "condition": ["all",
  1740. ["!hasItem", "Thunder Badge"],
  1741. ["!isSet", "First pokemon ready for Surge"]
  1742. ],
  1743. "action": ["moveToMap", "Route 6"]
  1744. },
  1745.  
  1746. {
  1747. "condition": ["any",
  1748. ["!isSet", "First pokemon does not need digglet cave"],
  1749. ["all",
  1750. ["!hasItem", "HM05 - Flash"],
  1751. ["any",
  1752. ["hasItem", "Pokeball"],
  1753. ["hasItem", "Great Ball"],
  1754. ["hasItem", "Ultra Ball"]
  1755. ]
  1756. ]
  1757. ],
  1758. "action": ["moveToMap", "Route 11"]
  1759. },
  1760. {
  1761. "condition": ["all",
  1762. ["all",
  1763. ["!hasItem", "Pokeball"],
  1764. ["!hasItem", "Great Ball"],
  1765. ["!hasItem", "Ultra Ball"]
  1766. ],
  1767. ["!hasItem", "HM05 - Flash"]
  1768. ],
  1769. "action": ["moveToMap", "Vermilion Pokemart"]
  1770. },
  1771. {
  1772. "condition": ["all",
  1773. ["hasItem", "HM05 - Flash"],
  1774. ["!hasItem", "Poke Flute"]
  1775. ],
  1776. "action": ["moveToMap", "Route 6"]
  1777. }
  1778. ]
  1779. },
  1780.  
  1781. {
  1782. "condition": ["map", "Vermilion Gym"],
  1783. "actions": [
  1784. {
  1785. "condition": ["all",
  1786. ["hasItem", "Thunder Badge"],
  1787. ["!hasItem", "TM24"]
  1788. ],
  1789. "action": ["talkToNpcOnCell", [10,20]]
  1790. },
  1791. {
  1792. "condition": ["all",
  1793. ["!hasItem", "Thunder Badge"],
  1794. ["isNpcOnCell", [6, 10]] // if the fence is up
  1795. ],
  1796. "action": ["moveToMap", "DONT MOVE"] // !isNpcOnCell does not exist in the API, so I use that trick -.-
  1797. },
  1798. {
  1799. "condition": ["!hasItem", "Thunder Badge"],
  1800. "action": ["talkToNpcOnCell", [6, 4]] // talk to Surge and beat his ass! (hopefully)
  1801. },
  1802. {
  1803. "action": ["moveToMap", "Vermilion City"]
  1804. }
  1805. ]
  1806. },
  1807.  
  1808. {
  1809. "condition": ["map", "Vermilion Pokemart"],
  1810. "actions": [
  1811. {
  1812. "condition": ["all",
  1813. ["all",
  1814. ["!hasItem", "Pokeball"],
  1815. ["!hasItem", "Great Ball"],
  1816. ["!hasItem", "Ultra Ball"]
  1817. ],
  1818. ["!hasItem", "HM05 - Flash"]
  1819. ],
  1820. "action": ["moveToRectangle", [0,0], [5000, 5000]],
  1821. "set": "Wait for you to buy pokeballs in case the HM05 needs them [HUMAN ACTION]"
  1822. },
  1823. {
  1824. "action": ["moveToMap", "Vermilion City"]
  1825. }
  1826. ]
  1827. },
  1828.  
  1829. {
  1830. "condition": ["all",
  1831. ["map", "SSAnne 1F"],
  1832. ["hasItem", "HM01 - Cut"]
  1833. ],
  1834. "action": ["moveToMap", "Vermilion City"]
  1835. },
  1836. {
  1837. "condition": ["all",
  1838. ["map", "SSAnne 1F"],
  1839. ["!isSet", "Usher Dale talked"]
  1840. ],
  1841. "action": ["talkToNpc", "Usher Dale"]
  1842. },
  1843. {
  1844. "condition": ["all",
  1845. ["map", "SSAnne 1F"],
  1846. ["!isSet", "SSAnne Doctor Neumann has Pecha Berry"]
  1847. ],
  1848. "action": ["moveToMap", "SSAnne 1F Kitchen"]
  1849. },
  1850.  
  1851. {
  1852. "condition": ["all",
  1853. ["map", "SSAnne 1F Kitchen"],
  1854. ["!isSet", "SSAnne Doctor Neumann has Pecha Berry"]
  1855. ],
  1856. "actions": [
  1857. {
  1858. "condition": ["!hasItem", "Pecha Berry"],
  1859. "action": ["talkToNpcOnCell", [14, 9]]
  1860. },
  1861. {
  1862. "action": ["talkToNpc", "Doctor Neumann"]
  1863. }
  1864. ]
  1865. },
  1866. {
  1867. "condition": ["map", "SSAnne 1F Kitchen"],
  1868. "action": ["moveToMap", "SSAnne 1F"]
  1869. },
  1870.  
  1871. {
  1872. "condition": ["all",
  1873. ["map", "SSAnne Basement Room5"],
  1874. ["npcExists", "Usher Dale"]
  1875. ],
  1876. "actions": [
  1877. {
  1878. "condition": ["!isSet", "SSAnne Basement PC checked"],
  1879. "action": ["talkToNpcOnCell", [6, 3]]
  1880. },
  1881. {
  1882. "condition": ["isSet", "SSAnne Basement PC checked"],
  1883. "action": ["talkToNpc", "Usher Dale"]
  1884. }
  1885. ]
  1886. },
  1887. {
  1888. "condition": ["map", "SSAnne Basement Room5"],
  1889. "action": ["moveToMap", "SSAnne Basement"]
  1890. },
  1891. {
  1892. "condition": ["map", "SSAnne Basement"],
  1893. "action": ["moveToMap", "SSAnne 1F"]
  1894. },
  1895. {
  1896. "condition": ["all",
  1897. ["map", "SSAnne 1F"],
  1898. ["isSet", "Usher Dale talked"]
  1899. ],
  1900. "action": ["moveToMap", "SSAnne 2F"]
  1901. },
  1902.  
  1903. {
  1904. "condition": ["all",
  1905. ["map", "SSAnne 2F"],
  1906. ["!isSet", "SSAnne Jackson defeated"]
  1907. ],
  1908. "action": ["moveToMap", "SSAnne 3F"]
  1909. },
  1910. {
  1911. "condition": ["all",
  1912. ["map", "SSAnne 2F"],
  1913. ["isNpcOnCell", [26, 4]]
  1914. ],
  1915. "actions": [
  1916. {
  1917. "condition": ["!isSet", "SSAnne Doctor Neumann has Pecha Berry"],
  1918. "action": ["moveToMap", "SSAnne 1F"]
  1919. },
  1920. {
  1921. "condition": ["!isSet", "SSAnne Jenson has Pecha Berry"],
  1922. "action": ["moveToMap", "SSAnne 2F Room6"]
  1923. },
  1924. {
  1925. "condition": ["!isSet", "SSAnne Talked to Blissey"],
  1926. "action": ["moveToMap", "SSAnne 3F"]
  1927. },
  1928. {
  1929. "action": ["talkToNpcOnCell", [26, 4]]
  1930. }
  1931. ],
  1932. },
  1933. {
  1934. "condition": ["all",
  1935. ["map", "SSAnne 2F"],
  1936. ["!hasItem", "HM01 - Cut"]
  1937. ],
  1938. "action": ["moveToMap", "SSAnne 2F Captain Room"]
  1939. },
  1940. {
  1941. "condition": ["map", "SSAnne 2F"],
  1942. "action": ["moveToMap", "SSAnne 1F"]
  1943. },
  1944.  
  1945. {
  1946. "condition": ["all",
  1947. ["map", "SSAnne 2F Captain Room"],
  1948. ["!hasItem", "HM01 - Cut"]
  1949. ],
  1950. "action": ["talkToNpc", "Captain"]
  1951. },
  1952. {
  1953. "condition": ["map", "SSAnne 2F Captain Room"],
  1954. "action": ["moveToMap", "SSAnne 2F"]
  1955. },
  1956.  
  1957. {
  1958. "condition": ["all",
  1959. ["map", "SSAnne 2F Room6"],
  1960. ["!isSet", "SSAnne Jenson has Pecha Berry"]
  1961. ],
  1962. "action": ["talkToNpc", "Jenson"]
  1963. },
  1964. {
  1965. "condition": ["map", "SSAnne 2F Room6"],
  1966. "action": ["moveToMap", "SSAnne 2F"]
  1967. },
  1968.  
  1969. {
  1970. "condition": ["all",
  1971. ["map", "SSAnne 3F"],
  1972. ["!isSet", "SSAnne Jackson defeated"]
  1973. ],
  1974. "action": ["moveToMap", "SSAnne 3F Battle Room"]
  1975. },
  1976. {
  1977. "condition": ["all",
  1978. ["map", "SSAnne 3F"],
  1979. ["isSet", "SSAnne Jenson has Pecha Berry"],
  1980. ["!isSet", "SSAnne Talked to Blissey"]
  1981. ],
  1982. "action": ["moveToMap", "Ballroom SS Anne"]
  1983. },
  1984. {
  1985. "condition": ["map", "SSAnne 3F"],
  1986. "action": ["moveToMap", "SSAnne 2F"]
  1987. },
  1988.  
  1989. {
  1990. "condition": ["all",
  1991. ["map", "Ballroom SS Anne"],
  1992. ["npcExists", "#242"],
  1993. ["!isSet", "SSAnne Talked to Blissey"]
  1994. ],
  1995. "action": ["talkToNpc", "#242"]
  1996. },
  1997. {
  1998. "condition": ["map", "Ballroom SS Anne"],
  1999. "action": ["moveToMap", "SSAnne 3F"],
  2000. "set": "SSAnne Talked to Blissey"
  2001. },
  2002.  
  2003. {
  2004. "condition": ["all",
  2005. ["map", "SSAnne 3F Battle Room"],
  2006. ["isNpcOnCell", [8,5]]
  2007. ],
  2008. "action": ["talkToNpc", "Jackson"]
  2009. },
  2010. {
  2011. "condition": ["map", "SSAnne 3F Battle Room"],
  2012. "action": ["moveToMap", "SSAnne 3F"],
  2013. "set": "SSAnne Jackson defeated"
  2014. },
  2015.  
  2016. {
  2017. "condition": ["map", "Route 11"],
  2018. "actions": [
  2019. {
  2020. "condition": ["isNpcOnCell", [10, 13]],
  2021. "action": ["talkToNpcOnCell", [10, 13]]
  2022. },
  2023. {
  2024. "condition": ["all",
  2025. ["any",
  2026. ["all",
  2027. ["isPokemon1Usable"],
  2028. ["pokemon1", "=", "Nidoking"]
  2029. ],
  2030. ["all",
  2031. ["isPokemon2Usable"],
  2032. ["pokemon2", "=", "Nidoking"]
  2033. ],
  2034. ],
  2035. ["!hasItem", "HM05 - Flash"],
  2036. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"],
  2037. ["isSet", "Oak's Aide wants more pokemons"]
  2038. ],
  2039. "action": ["moveToMap", "Digletts Cave Entrance 2"],
  2040. "set": "to get pass the buggy assert",
  2041. "unset": "Oak's Aide wants more pokemons"
  2042. },
  2043. {
  2044. "condition": ["all",
  2045. ["any",
  2046. ["all",
  2047. ["isPokemon1Usable"],
  2048. ["pokemon1", "=", "Nidoking"]
  2049. ],
  2050. ["all",
  2051. ["isPokemon2Usable"],
  2052. ["pokemon2", "=", "Nidoking"]
  2053. ],
  2054. ],
  2055. ["!hasItem", "HM05 - Flash"],
  2056. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"]
  2057. ],
  2058. "action": ["moveToMap", "Digletts Cave Entrance 2"],
  2059. "set": "to get pass the buggy assert",
  2060. "unset": "Remember to unset 'Oak's Aide wants more pokemons'",
  2061. },
  2062. {
  2063. "condition": ["all",
  2064. ["isSet", "Oak's Aide wants more pokemons"],
  2065. ["any",
  2066. ["all",
  2067. ["isPokemon1Usable"],
  2068. ["pokemon1", "=", "Nidoking"]
  2069. ],
  2070. ["all",
  2071. ["isPokemon2Usable"],
  2072. ["pokemon2", "=", "Nidoking"]
  2073. ],
  2074. ],
  2075. ["any",
  2076. ["hasItem", "Pokeball"],
  2077. ["hasItem", "Great Ball"],
  2078. ["hasItem", "Ultra Ball"]
  2079. ]
  2080. ],
  2081. "action": ["moveToGrass"]
  2082. },
  2083.  
  2084. {
  2085. "condition": ["all",
  2086. ["any",
  2087. ["all",
  2088. ["isPokemon1Usable"],
  2089. ["pokemon1", "=", "Nidoking"]
  2090. ],
  2091. ["all",
  2092. ["isPokemon2Usable"],
  2093. ["pokemon2", "=", "Nidoking"]
  2094. ],
  2095. ],
  2096. ["any",
  2097. ["!isSet", "First pokemon does not need digglet cave"],
  2098. ["all",
  2099. ["!hasItem", "HM05 - Flash"],
  2100. ["any",
  2101. ["hasItem", "Pokeball"],
  2102. ["hasItem", "Great Ball"],
  2103. ["hasItem", "Ultra Ball"]
  2104. ]
  2105. ]
  2106. ]
  2107. ],
  2108. "action": ["moveToMap", "Digletts Cave Entrance 2"]
  2109. },
  2110. {
  2111. "action": ["moveToMap", "Vermilion City"]
  2112. }
  2113. ]
  2114. },
  2115.  
  2116. {
  2117. "condition": ["map", "Digletts Cave Entrance 2"],
  2118. "actions": [
  2119. {
  2120. "condition": ["all",
  2121. ["any",
  2122. ["all",
  2123. ["isPokemon1Usable"],
  2124. ["pokemon1", "=", "Nidoking"]
  2125. ],
  2126. ["all",
  2127. ["isPokemon2Usable"],
  2128. ["pokemon2", "=", "Nidoking"]
  2129. ],
  2130. ],
  2131. ["!hasItem", "HM05 - Flash"],
  2132. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"],
  2133. ["isSet", "Oak's Aide wants more pokemons"]
  2134. ],
  2135. "action": ["moveToMap", "Digletts Cave"],
  2136. "set": "to get pass the buggy assert",
  2137. "unset": "Oak's Aide wants more pokemons"
  2138. },
  2139. {
  2140. "condition": ["all",
  2141. ["any",
  2142. ["all",
  2143. ["isPokemon1Usable"],
  2144. ["pokemon1", "=", "Nidoking"]
  2145. ],
  2146. ["all",
  2147. ["isPokemon2Usable"],
  2148. ["pokemon2", "=", "Nidoking"]
  2149. ],
  2150. ],
  2151. ["!hasItem", "HM05 - Flash"],
  2152. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"]
  2153. ],
  2154. "action": ["moveToMap", "Digletts Cave"],
  2155. "set": "to get pass the buggy assert",
  2156. "unset": "Remember to unset 'Oak's Aide wants more pokemons'",
  2157. },
  2158. {
  2159. "condition": ["all",
  2160. ["!isSet", "First pokemon does not need digglet cave"],
  2161. ["any",
  2162. ["all",
  2163. ["isPokemon1Usable"],
  2164. ["pokemon1", "=", "Nidoking"]
  2165. ],
  2166. ["all",
  2167. ["isPokemon2Usable"],
  2168. ["pokemon2", "=", "Nidoking"]
  2169. ],
  2170. ],
  2171. ["!isSet", "Oak's Aide wants more pokemons"]
  2172. ],
  2173. "action": ["moveToRectangle", [17, 25], [24, 26]]
  2174. },
  2175. {
  2176. "condition": ["all",
  2177. ["any",
  2178. ["all",
  2179. ["isPokemon1Usable"],
  2180. ["pokemon1", "=", "Nidoking"]
  2181. ],
  2182. ["all",
  2183. ["isPokemon2Usable"],
  2184. ["pokemon2", "=", "Nidoking"]
  2185. ],
  2186. ],
  2187. ["all",
  2188. ["!hasItem", "HM05 - Flash"],
  2189. ["any",
  2190. ["hasItem", "Pokeball"],
  2191. ["hasItem", "Great Ball"],
  2192. ["hasItem", "Ultra Ball"]
  2193. ]
  2194. ],
  2195. ["!isSet", "Oak's Aide wants more pokemons"]
  2196. ],
  2197. "action": ["moveToMap", "Digletts Cave"]
  2198. },
  2199. {
  2200. "action": ["moveToMap", "Route 11"]
  2201. }
  2202. ]
  2203. },
  2204.  
  2205. {
  2206. "condition": ["map", "Digletts Cave"],
  2207. "actions": [
  2208. {
  2209. "condition": ["all",
  2210. ["any",
  2211. ["all",
  2212. ["isPokemon1Usable"],
  2213. ["pokemon1", "=", "Nidoking"]
  2214. ],
  2215. ["all",
  2216. ["isPokemon2Usable"],
  2217. ["pokemon2", "=", "Nidoking"]
  2218. ],
  2219. ],
  2220. ["!hasItem", "HM05 - Flash"],
  2221. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"],
  2222. ["isSet", "Oak's Aide wants more pokemons"]
  2223. ],
  2224. "action": ["moveToMap", "Digletts Cave Entrance 1"],
  2225. "set": "to get pass the buggy assert",
  2226. "unset": "Oak's Aide wants more pokemons"
  2227. },
  2228. {
  2229. "condition": ["all",
  2230. ["any",
  2231. ["all",
  2232. ["isPokemon1Usable"],
  2233. ["pokemon1", "=", "Nidoking"]
  2234. ],
  2235. ["all",
  2236. ["isPokemon2Usable"],
  2237. ["pokemon2", "=", "Nidoking"]
  2238. ],
  2239. ],
  2240. ["!hasItem", "HM05 - Flash"],
  2241. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"]
  2242. ],
  2243. "action": ["moveToMap", "Digletts Cave Entrance 1"],
  2244. "set": "to get pass the buggy assert",
  2245. "unset": "Remember to unset 'Oak's Aide wants more pokemons'",
  2246. },
  2247. {
  2248. "condition": ["all",
  2249. ["any",
  2250. ["all",
  2251. ["isPokemon1Usable"],
  2252. ["pokemon1", "=", "Nidoking"]
  2253. ],
  2254. ["all",
  2255. ["isPokemon2Usable"],
  2256. ["pokemon2", "=", "Nidoking"]
  2257. ],
  2258. ],
  2259. ["!hasItem", "HM05 - Flash"],
  2260. ["any",
  2261. ["hasItem", "Pokeball"],
  2262. ["hasItem", "Great Ball"],
  2263. ["hasItem", "Ultra Ball"]
  2264. ],
  2265. ["!isSet", "Oak's Aide wants more pokemons"]
  2266. ],
  2267. "action": ["moveToMap", "Digletts Cave Entrance 1"],
  2268. },
  2269. {
  2270. "action": ["moveToMap", "Digletts Cave Entrance 2"],
  2271. }
  2272. ]
  2273. },
  2274.  
  2275. {
  2276. "condition": ["map", "Digletts Cave Entrance 1"],
  2277. "actions": [
  2278. {
  2279. "condition": ["all",
  2280. ["any",
  2281. ["hasItem", "Pokeball"],
  2282. ["hasItem", "Great Ball"],
  2283. ["hasItem", "Ultra Ball"]
  2284. ],
  2285. ["!isSet", "hasPokeballs"]
  2286. ],
  2287. "action": ["moveToRectangle", [12,24], [18,27]],
  2288. "set": "hasPokeballs"
  2289. },
  2290. {
  2291. "condition": ["all",
  2292. ["all",
  2293. ["!hasItem", "Pokeball"],
  2294. ["!hasItem", "Great Ball"],
  2295. ["!hasItem", "Ultra Ball"]
  2296. ],
  2297. ["isSet", "hasPokeballs"]
  2298. ],
  2299. "action": ["moveToMap", "Digletts Cave"],
  2300. "set": "placeholder",
  2301. "unset": "hasPokeballs"
  2302. },
  2303. {
  2304. "condition": ["all",
  2305. ["any",
  2306. ["all",
  2307. ["isPokemon1Usable"],
  2308. ["pokemon1", "=", "Nidoking"]
  2309. ],
  2310. ["all",
  2311. ["isPokemon2Usable"],
  2312. ["pokemon2", "=", "Nidoking"]
  2313. ],
  2314. ],
  2315. ["!hasItem", "HM05 - Flash"],
  2316. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"],
  2317. ["isSet", "Oak's Aide wants more pokemons"]
  2318. ],
  2319. "action": ["moveToMap", "Route 2"],
  2320. "set": "to get pass the buggy assert",
  2321. "unset": "Oak's Aide wants more pokemons"
  2322. },
  2323. {
  2324. "condition": ["all",
  2325. ["any",
  2326. ["all",
  2327. ["isPokemon1Usable"],
  2328. ["pokemon1", "=", "Nidoking"]
  2329. ],
  2330. ["all",
  2331. ["isPokemon2Usable"],
  2332. ["pokemon2", "=", "Nidoking"]
  2333. ],
  2334. ],
  2335. ["!hasItem", "HM05 - Flash"],
  2336. ["isSet", "Remember to unset 'Oak's Aide wants more pokemons'"]
  2337. ],
  2338. "action": ["moveToMap", "Route 2"],
  2339. "set": "to get pass the buggy assert",
  2340. "unset": "Remember to unset 'Oak's Aide wants more pokemons'",
  2341. },
  2342. {
  2343. "condition": ["all",
  2344. ["any",
  2345. ["all",
  2346. ["isPokemon1Usable"],
  2347. ["pokemon1", "=", "Nidoking"]
  2348. ],
  2349. ["all",
  2350. ["isPokemon2Usable"],
  2351. ["pokemon2", "=", "Nidoking"]
  2352. ],
  2353. ],
  2354. ["!hasItem", "HM05 - Flash"],
  2355. ["any",
  2356. ["hasItem", "Pokeball"],
  2357. ["hasItem", "Great Ball"],
  2358. ["hasItem", "Ultra Ball"]
  2359. ],
  2360. ["isSet", "Oak's Aide wants more pokemons"]
  2361. ],
  2362. "action": ["moveToMap", "Digletts Cave"]
  2363. },
  2364. {
  2365. "condition": ["all",
  2366. ["any",
  2367. ["all",
  2368. ["isPokemon1Usable"],
  2369. ["pokemon1", "=", "Nidoking"]
  2370. ],
  2371. ["all",
  2372. ["isPokemon2Usable"],
  2373. ["pokemon2", "=", "Nidoking"]
  2374. ],
  2375. ],
  2376. ["!hasItem", "HM05 - Flash"],
  2377. ["any",
  2378. ["hasItem", "Pokeball"],
  2379. ["hasItem", "Great Ball"],
  2380. ["hasItem", "Ultra Ball"]
  2381. ]
  2382. ],
  2383. "action": ["moveToMap", "Route 2"]
  2384. },
  2385. {
  2386. "action": ["moveToMap", "Digletts Cave"]
  2387. }
  2388. ]
  2389. },
  2390.  
  2391. {
  2392. "condition": ["all",
  2393. ["map", "Route 2"],
  2394. ["inRectangle", [29,31], [42,90]]
  2395. ],
  2396. "actions": [
  2397. {
  2398. "condition": ["all",
  2399. ["any",
  2400. ["all",
  2401. ["isPokemon1Usable"],
  2402. ["pokemon1", "=", "Nidoking"]
  2403. ],
  2404. ["all",
  2405. ["isPokemon2Usable"],
  2406. ["pokemon2", "=", "Nidoking"]
  2407. ],
  2408. ],
  2409. ["!isSet", "Oak's Aide wants more pokemons"],
  2410. ["!hasItem", "HM05 - Flash"],
  2411. ["any",
  2412. ["hasItem", "Pokeball"],
  2413. ["hasItem", "Great Ball"],
  2414. ["hasItem", "Ultra Ball"]
  2415. ]
  2416. ],
  2417. "action": ["moveToMap", "Route 2 Stop3"]
  2418. },
  2419. {
  2420. "action": ["moveToMap", "Digletts Cave Entrance 1"]
  2421. }
  2422. ]
  2423. },
  2424.  
  2425. {
  2426. "condition": ["map", "Route 2 Stop3"],
  2427. "actions": [
  2428. {
  2429. "condition": ["all",
  2430. ["any",
  2431. ["all",
  2432. ["isPokemon1Usable"],
  2433. ["pokemon1", "=", "Nidoking"]
  2434. ],
  2435. ["all",
  2436. ["isPokemon2Usable"],
  2437. ["pokemon2", "=", "Nidoking"]
  2438. ],
  2439. ],
  2440. ["!hasItem", "HM05 - Flash"],
  2441. ["!isSet", "Oak's Aide wants more pokemons"],
  2442. ["any",
  2443. ["hasItem", "Pokeball"],
  2444. ["hasItem", "Great Ball"],
  2445. ["hasItem", "Ultra Ball"]
  2446. ]
  2447. ],
  2448. "action": ["talkToNpc", "Oak's Aide"]
  2449. },
  2450. {
  2451. "action": ["moveToMap", "Route 2"]
  2452. }
  2453. ]
  2454. },
  2455.  
  2456. {
  2457. "condition": ["map", "Route 12"],
  2458. "actions": [
  2459. {
  2460. "condition": ["any",
  2461. ["hasItem", "Marsh Badge"],
  2462. ["!hasItem", "Soul Badge"]
  2463. ],
  2464. "actions": [
  2465. {
  2466. "condition": ["isNpcOnCell", [18, 47]],
  2467. "action": ["talkToNpcOnCell", [18, 47]]
  2468. },
  2469. {
  2470. "action": ["moveToMap", "Route 13"]
  2471. }
  2472. ]
  2473. },
  2474. {
  2475. "action": ["moveToMap", "Lavender Town"]
  2476. }
  2477. ]
  2478. },
  2479.  
  2480.  
  2481. {
  2482. "condition": ["map", "Route 13"],
  2483. "actions": [
  2484. {
  2485. "condition": ["any",
  2486. ["!hasItem", "Soul Badge"],
  2487. ["hasItem", "Marsh Badge"],
  2488. ],
  2489. "action": ["moveToCell", [18, 34]]
  2490. },
  2491. {
  2492. "action": ["moveToMap", "Route 12"]
  2493. }
  2494. ]
  2495. },
  2496. {
  2497. "condition": ["map", "Route 14"],
  2498. "actions": [
  2499. {
  2500. "condition": ["any",
  2501. ["!hasItem", "Soul Badge"],
  2502. ["hasItem", "Marsh Badge"],
  2503. ["all",
  2504. ["!isSet", "First pokemon ready for Saffron"],
  2505. ["hasItem", "Soul Badge"]
  2506. ]
  2507. ],
  2508. "action": ["moveToMap", "Route 15"]
  2509. },
  2510. {
  2511. "action": ["moveToMap", "Route 13"]
  2512. }
  2513. ]
  2514. },
  2515. {
  2516. "condition": ["map", "Route 15"],
  2517. "actions": [
  2518. {
  2519. "condition": ["all",
  2520. ["any",
  2521. ["all",
  2522. ["isPokemon1Usable"],
  2523. ["pokemon1", "=", "Nidoking"]
  2524. ],
  2525. ["all",
  2526. ["isPokemon2Usable"],
  2527. ["pokemon2", "=", "Nidoking"]
  2528. ],
  2529. ],
  2530. ["all",
  2531. ["!hasItem", "Marsh Badge"],
  2532. ["hasItem", "Soul Badge"],
  2533. ["!isSet", "First pokemon ready for Saffron"]
  2534. ]
  2535. ],
  2536. "action": ["moveToGrass"]
  2537. },
  2538. {
  2539. "condition": ["any",
  2540. ["!hasItem", "Soul Badge"],
  2541. ["hasItem", "Marsh Badge"],
  2542. ["all",
  2543. ["isPokemon1Usable", "=", false],
  2544. ["pokemon1", "=", "Nidoking"]
  2545. ],
  2546. ["all",
  2547. ["isPokemon2Usable", "=", false],
  2548. ["pokemon2", "=", "Nidoking"]
  2549. ],
  2550. ],
  2551. "action": ["moveToMap", "Route 15 Stop House"]
  2552. },
  2553. {
  2554. "action": ["moveToMap", "Route 14"]
  2555. }
  2556. ]
  2557. },
  2558. {
  2559. "condition": ["map", "Route 15 Stop House"],
  2560. "actions": [
  2561. {
  2562. "condition": ["any",
  2563. ["!hasItem", "Soul Badge"],
  2564. ["hasItem", "Marsh Badge"],
  2565. ["all",
  2566. ["isPokemon1Usable", "=", false],
  2567. ["pokemon1", "=", "Nidoking"]
  2568. ],
  2569. ["all",
  2570. ["isPokemon2Usable", "=", false],
  2571. ["pokemon2", "=", "Nidoking"]
  2572. ],
  2573. ],
  2574. "action": ["moveToMap", "Fuchsia City"]
  2575. },
  2576. {
  2577. "action": ["moveToMap", "Route 15"]
  2578. }
  2579. ]
  2580. },
  2581. {
  2582. "condition": ["map", "Fuchsia City"],
  2583. "actions": [
  2584. {
  2585. "condition": ["any",
  2586. ["all",
  2587. ["isPokemon1Usable", "=", false],
  2588. ["pokemon1", "=", "Nidoking"]
  2589. ],
  2590. ["all",
  2591. ["isPokemon2Usable", "=", false],
  2592. ["pokemon2", "=", "Nidoking"]
  2593. ],
  2594. ["!isSet", "Pokecenter Fuchsia"]
  2595. ],
  2596. "action": ["moveToMap", "Pokecenter Fuchsia"]
  2597. },
  2598. {
  2599. "condition": ["all",
  2600. ["hasItem", "HM03 - Surf"],
  2601. ["!hasItem", "Marsh Badge"],
  2602. ["hasItem", "Soul Badge"],
  2603. ["any",
  2604. ["PokemonHasMove", 1,"Surf"],
  2605. ["PokemonHasMove", 2,"Surf"]
  2606. ],
  2607. ],
  2608. "action": ["moveToMap", "Route 15 Stop House"]
  2609. },
  2610. {
  2611. "condition": ["all",
  2612. ["!hasItem", "HM03 - Surf"],
  2613. ["!hasItem", "Soul Badge"]
  2614. ],
  2615. "action": ["moveToMap", "Fuchsia Gym"]
  2616. },
  2617. {
  2618. "condition": ["any",
  2619. ["all",
  2620. ["hasItem", "Soul Badge"],
  2621. ["!hasItem", "HM03 - Surf"],
  2622. ["!isSet", "Victor defeated"]
  2623. ],
  2624. ["hasItem", "Marsh Badge"]
  2625. ],
  2626. "action": ["moveToMap", "Fuchsia City Stop House"]
  2627. },
  2628. {
  2629. "condition": ["all",
  2630. ["hasItem", "Soul Badge"],
  2631. ["!hasItem", "HM03 - Surf"],
  2632. ["!isSet", "Victor defeated"]
  2633. ],
  2634. "action": ["moveToMap", "Fuchsia City Stop House"]
  2635. },
  2636. {
  2637. "condition": ["all",
  2638. ["hasItem", "Soul Badge"],
  2639. ["!hasItem", "HM03 - Surf"],
  2640. ["!PokemonHasMove", 1,"Surf"],
  2641. ["isSet", "Victor defeated"]
  2642. ],
  2643. "action": ["moveToMap", "Safari Stop"]
  2644. },
  2645. {
  2646. "condition": ["all",
  2647. ["!PokemonHasMove", 1,"Surf"],
  2648. ["pokemon1", "=", "Nidoking"]
  2649. ],
  2650. "action": ["UseItemOnPokemon","HM03 - Surf", 1]
  2651. },
  2652. {
  2653. "condition": ["all",
  2654. ["!PokemonHasMove", 2,"Surf"],
  2655. ["pokemon2", "=", "Nidoking"]
  2656. ],
  2657. "action": ["UseItemOnPokemon","HM03 - Surf", 2]
  2658. }
  2659. ]
  2660. },
  2661.  
  2662. {
  2663. "condition": ["map", "Pokecenter Fuchsia"],
  2664. "actions": [
  2665. {
  2666. "condition": ["isPokemon1Usable", "=", false],
  2667. "action": ["usePokecenter"],
  2668. },
  2669. {
  2670. "action": ["moveToMap", "Fuchsia City"],
  2671. }
  2672. ],
  2673. "set": "Pokecenter Fuchsia"
  2674. },
  2675.  
  2676. {
  2677. "condition": ["map", "Fuchsia Gym"],
  2678. "actions": [
  2679. {
  2680. "condition": ["all",
  2681. ["cell", [6, 16]],
  2682. ["!hasItem", "Soul Badge"]
  2683. ],
  2684. "action": ["moveToCell", [6, 15]]
  2685. },
  2686. ]
  2687. },
  2688. {
  2689. "condition": ["map", "Fuchsia Gym"],
  2690. "actions": [
  2691. {
  2692. "condition": ["all",
  2693. ["cell", [6, 15]],
  2694. ["!hasItem", "Soul Badge"]
  2695. ],
  2696. "action": ["moveToCell", [6, 10]]
  2697. },
  2698. ]
  2699. },
  2700. {
  2701. "condition": ["map", "Fuchsia Gym"],
  2702. "actions": [
  2703. {
  2704. "condition": ["all",
  2705. ["cell", [6, 10]],
  2706. ["!hasItem", "Soul Badge"]
  2707. ],
  2708. "action": ["talkToNpcOnCell", [7, 10]]
  2709. },
  2710. ]
  2711. },
  2712. {
  2713. "condition": ["map", "Fuchsia Gym"],
  2714. "actions": [
  2715. {
  2716. "condition": ["hasItem", "Soul Badge"],
  2717. "action": ["moveToMap", "Fuchsia City"]
  2718. },
  2719. ]
  2720. },
  2721.  
  2722. {
  2723. "condition": ["map", "Safari Stop"],
  2724. "actions": [
  2725. {
  2726. "condition": ["!hasItem", "HM03 - Surf"],
  2727. "action": ["talkToNpcOnCell", [7, 4]]
  2728. },
  2729. {
  2730. "action": ["moveToMap", "Fuchsia City"]
  2731. }
  2732. ]
  2733. },
  2734. {
  2735. "condition": ["map", "Safari Entrance"],
  2736. "actions": [
  2737. {
  2738. "condition": ["!hasItem", "HM03 - Surf"],
  2739. "action": ["moveToMap", "Safari Area 1"]
  2740. },
  2741. {
  2742. "action": ["moveToMap", "Safari Stop"]
  2743. }
  2744. ]
  2745. },
  2746. {
  2747. "condition": ["map", "Safari Area 1"],
  2748. "actions": [
  2749. {
  2750. "condition": ["!hasItem", "HM03 - Surf"],
  2751. "action": ["moveToMap", "Safari Area 2"]
  2752. },
  2753. {
  2754. "action": ["moveToMap", "Safari Entrance"]
  2755. }
  2756. ]
  2757. },
  2758. {
  2759. "condition": ["map", "Safari Area 2"],
  2760. "actions": [
  2761. {
  2762. "condition": ["!hasItem", "HM03 - Surf"],
  2763. "action": ["moveToCell", [14, 44]]
  2764. },
  2765. {
  2766. "action": ["moveToMap", "Safari Area 1"]
  2767. }
  2768. ]
  2769. },
  2770. {
  2771. "condition": ["map", "Safari Area 3"],
  2772. "actions": [
  2773. {
  2774. "condition": ["!hasItem", "HM03 - Surf"],
  2775. "action": ["moveToMap", "Safari House 4"]
  2776. },
  2777. {
  2778. "action": ["moveToMap", "Safari Area 2"]
  2779. }
  2780. ]
  2781. },
  2782. {
  2783. "condition": ["map", "Safari House 4"],
  2784. "actions": [
  2785. {
  2786. "condition": ["!hasItem", "HM03 - Surf"],
  2787. "action": ["talkToNpcOnCell", [11, 3]]
  2788. },
  2789. {
  2790. "action": ["moveToMap", "Safari Area 3"]
  2791. }
  2792. ]
  2793. },
  2794.  
  2795. {
  2796. "condition": ["map", "Fuchsia City Stop House"],
  2797. "actions": [
  2798. {
  2799. "condition": ["any",
  2800. ["!isSet", "Victor defeated"],
  2801. ["hasItem", "Marsh Badge"]
  2802. ],
  2803. "action": ["moveToMap", "Route 19"]
  2804. },
  2805. {
  2806. "action": ["moveToMap", "Fuchsia City"]
  2807. }
  2808. ]
  2809. },
  2810.  
  2811. {
  2812. "condition": ["map", "Route 19"],
  2813. "actions": [
  2814. {
  2815. "condition": ["all",
  2816. ["isNpcOnCell", [33, 19]],
  2817. ["!isSet", "Victor defeated"]
  2818. ],
  2819. "action": ["talkToNpcOnCell", [33, 19]]
  2820. },
  2821. {
  2822. "condition": ["hasItem", "Marsh Badge"],
  2823. "action": ["moveToMap", "Route 20"]
  2824. },
  2825. {
  2826. "action": ["moveToMap", "Fuchsia City Stop House"]
  2827. }
  2828. ],
  2829. },
  2830.  
  2831. {
  2832. "condition": ["map", "Route 20"],
  2833. "actions": [
  2834. {
  2835. "condition": ["all",
  2836. ["any",
  2837. ["all",
  2838. ["isPokemon1Usable"],
  2839. ["pokemon1", "=", "Nidoking"]
  2840. ],
  2841. ["all",
  2842. ["isPokemon2Usable"],
  2843. ["pokemon2", "=", "Nidoking"]
  2844. ],
  2845. ],
  2846. ["!hasItem", "Volcano Badge"],
  2847. ["any",
  2848. ["inRectangle", [52, 40], [80, 45]],
  2849. ["inRectangle", [1, 18], [51, 44]],
  2850. ]
  2851. ],
  2852. "action": ["moveToMap", "Cinnabar Island"]
  2853. },
  2854. {
  2855. "condition": ["all",
  2856. ["any",
  2857. ["all",
  2858. ["isPokemon1Usable"],
  2859. ["pokemon1", "=", "Nidoking"]
  2860. ],
  2861. ["all",
  2862. ["isPokemon2Usable"],
  2863. ["pokemon2", "=", "Nidoking"]
  2864. ],
  2865. ],
  2866. ["inRectangle", [55, 20], [119, 36]],
  2867. ["!hasItem", "Volcano Badge"]
  2868. ],
  2869. "action": ["moveToCell", [60,32]]
  2870. },
  2871. {
  2872. "action": ["moveToMap", "Route 19"]
  2873. }
  2874. ]
  2875. },
  2876. {
  2877. "condition": ["all",
  2878. ["map", "Seafoam 1F"],
  2879. ["inRectangle", [8, 7], [20, 15]]
  2880. ],
  2881. "actions": [
  2882. {
  2883. "condition": ["all",
  2884. ["any",
  2885. ["all",
  2886. ["isPokemon1Usable"],
  2887. ["pokemon1", "=", "Nidoking"]
  2888. ],
  2889. ["all",
  2890. ["isPokemon2Usable"],
  2891. ["pokemon2", "=", "Nidoking"]
  2892. ],
  2893. ],
  2894. ["!hasItem", "Volcano Badge"],
  2895. ],
  2896. "action": ["moveToCell", [20, 8]]
  2897. },
  2898. {
  2899. "action": ["moveToMap", "Route 20"]
  2900. }
  2901. ]
  2902. },
  2903. {
  2904. "condition": ["map", "Seafoam B1F"],
  2905. "actions": [
  2906. {
  2907. "condition": ["all",
  2908. ["any",
  2909. ["all",
  2910. ["isPokemon1Usable"],
  2911. ["pokemon1", "=", "Nidoking"]
  2912. ],
  2913. ["all",
  2914. ["isPokemon2Usable"],
  2915. ["pokemon2", "=", "Nidoking"]
  2916. ],
  2917. ],
  2918. ["!hasItem", "Volcano Badge"],
  2919. ],
  2920. "action": ["moveToCell", [85, 22]]
  2921. },
  2922. {
  2923. "action": ["moveToCell", [15, 12]]
  2924. }
  2925. ]
  2926. },
  2927. {
  2928. "condition": ["all",
  2929. ["map", "Seafoam 1F"],
  2930. ["inRectangle", [64, 7], [77, 16]]
  2931. ],
  2932. "actions": [
  2933. {
  2934. "condition": ["all",
  2935. ["any",
  2936. ["all",
  2937. ["isPokemon1Usable"],
  2938. ["pokemon1", "=", "Nidoking"]
  2939. ],
  2940. ["all",
  2941. ["isPokemon2Usable"],
  2942. ["pokemon2", "=", "Nidoking"]
  2943. ],
  2944. ],
  2945. ["!hasItem", "Volcano Badge"],
  2946. ],
  2947. "action": ["moveToCell", [71, 15]]
  2948. },
  2949. {
  2950. "action": ["moveToCell", [64, 8]]
  2951. }
  2952. ]
  2953. },
  2954.  
  2955. {
  2956. "condition": ["map", "Cinnabar Island"],
  2957. "actions": [
  2958. {
  2959. "condition": ["any",
  2960. ["all",
  2961. ["isPokemon1Usable", "=", false],
  2962. ["pokemon1", "=", "Nidoking"]
  2963. ],
  2964. ["all",
  2965. ["isPokemon2Usable", "=", false],
  2966. ["pokemon2", "=", "Nidoking"]
  2967. ],
  2968. ["!isSet", "Pokecenter Cinnabar"]
  2969. ],
  2970. "action": ["moveToMap", "Pokecenter Cinnabar"]
  2971. },
  2972. {
  2973. "condition": ["all",
  2974. ["isNpcOnCell", [28, 17]],
  2975. ["hasItem", "Cinnabar Key"],
  2976. ["!isSet", "Gym Guard talked"]
  2977. ],
  2978. "action": ["talkToNpcOnCell", [28, 17]],
  2979. },
  2980. {
  2981. "condition": ["all",
  2982. ["!hasItem", "Volcano Badge"],
  2983. ["isSet", "Gym Guard talked"],
  2984. ["!hasItem", "Cinnabar Key"]
  2985. ],
  2986. "action": ["moveToMap", "Cinnabar Gym"]
  2987. },
  2988. {
  2989. "condition": ["all",
  2990. ["isNpcOnCell", [18, 15]],
  2991. ["!isSet", "Mansion Guard talked"]
  2992. ],
  2993. "action": ["talkToNpcOnCell", [18, 15]],
  2994. },
  2995. {
  2996. "condition": ["all",
  2997. ["!hasItem", "Volcano Badge"],
  2998. ["!hasItem", "Cinnabar Key"],
  2999. ],
  3000. "action": ["moveToMap", "Cinnabar mansion 1"]
  3001. },
  3002. {
  3003. "condition": ["hasItem", "Volcano Badge"],
  3004. "action": ["moveToMap", "Route 21"]
  3005. }
  3006. ]
  3007. },
  3008.  
  3009. {
  3010. "condition": ["map", "Pokecenter Cinnabar"],
  3011. "actions": [
  3012. {
  3013. "condition": ["isPokemon1Usable", "=", false],
  3014. "action": ["usePokecenter"],
  3015. },
  3016. {
  3017. "action": ["moveToMap", "Cinnabar Island"],
  3018. }
  3019. ],
  3020. "set": "Pokecenter Cinnabar"
  3021. },
  3022.  
  3023. {
  3024. "condition": ["map", "Cinnabar mansion 1"],
  3025. "actions": [
  3026. {
  3027. "condition": ["all",
  3028. ["!hasItem", "Cinnabar Key"],
  3029. ["inRectangle", [29, 30], [40, 43]]
  3030. ],
  3031. "action": ["moveToCell", [39, 42]]
  3032. },
  3033. {
  3034. "condition": ["!hasItem", "Cinnabar Key"],
  3035. "action": ["moveToMap", "Cinnabar mansion 2"],
  3036. },
  3037. {
  3038. "action": ["moveToCell", [39, 42]]
  3039. }
  3040. ]
  3041. },
  3042. {
  3043. "condition": ["map", "Cinnabar mansion 2"],
  3044. "actions": [
  3045. {
  3046. "condition": ["!hasItem", "Cinnabar Key"],
  3047. "action": ["moveToCell", [9, 4]]
  3048. },
  3049. {
  3050. "action": ["moveToMap", "Cinnabar mansion 1"],
  3051. }
  3052. ]
  3053. },
  3054. {
  3055. "condition": ["map", "Cinnabar mansion 3"],
  3056. "actions": [
  3057. {
  3058. "condition": ["!hasItem", "Cinnabar Key"],
  3059. "action": ["moveToCell", [21, 19]]
  3060. },
  3061. {
  3062. "action": ["moveToMap", "Cinnabar mansion 2"]
  3063. }
  3064. ]
  3065. },
  3066.  
  3067. {
  3068. "condition": ["map", "Cinnabar mansion B1F"],
  3069. "actions": [
  3070. {
  3071. "condition": ["all",
  3072. ["inRectangle", [4, 14], [8, 21]],
  3073. ["!hasItem", "Cinnabar Key"],
  3074. ["isNpcOnCell", [5, 19]]
  3075. ],
  3076. "action": ["talkToNpcOnCell", [5, 19]]
  3077. },
  3078. {
  3079. "condition": ["all",
  3080. ["inRectangle", [4, 14], [8, 21]],
  3081. ["hasItem", "Cinnabar Key"],
  3082. ["isNpcOnCell", [6, 15]]
  3083. ],
  3084. "action": ["talkToNpcOnCell", [6, 15]]
  3085. },
  3086. {
  3087. "condition": ["all",
  3088. ["!hasItem", "Cinnabar Key"],
  3089. ["inRectangle", [4, 11], [36, 21]],
  3090. ],
  3091. "action": ["moveToCell", [36, 30]]
  3092. },
  3093. {
  3094. "condition": ["hasItem", "Cinnabar Key"],
  3095. "action": ["moveToCell", [36, 30]]
  3096. },
  3097. {
  3098. "condition": ["all",
  3099. ["!hasItem", "Cinnabar Key"],
  3100. ["inRectangle", [30, 3], [38, 30]],
  3101. ],
  3102. "action": ["moveToCell", [36, 30]]
  3103. },
  3104.  
  3105. ]
  3106. },
  3107.  
  3108. {
  3109. "condition": ["map", "Cinnabar Gym"],
  3110. "actions": [
  3111. {
  3112. "condition": ["all",
  3113. ["!hasItem", "Volcano Badge"],
  3114. ["isNpcOnCell", [6, 8]]
  3115. ],
  3116. "action": ["talkToNpcOnCell", [6, 8]]
  3117. },
  3118. {
  3119. "condition": ["all",
  3120. ["!hasItem", "Volcano Badge"],
  3121. ["isNpcOnCell", [6, 7]]
  3122. ],
  3123. "action": ["talkToNpcOnCell", [6, 7]]
  3124. },
  3125. {
  3126. "condition": ["!hasItem", "Volcano Badge"],
  3127. "action": ["moveToCell", [6, 5]]
  3128. },
  3129. {
  3130. "action": ["moveToMap", "Cinnabar Island"]
  3131. }
  3132. ]
  3133. },
  3134. {
  3135. "condition": ["map", "Cinnabar Gym B1F"],
  3136. "actions": [
  3137. {
  3138. "condition": ["!hasItem", "Volcano Badge"],
  3139. "action": ["talkToNpcOnCell", [18, 16]]
  3140. },
  3141. {
  3142. "condition": ["hasItem", "Volcano Badge"],
  3143. "action": ["moveToCell", [7, 5]]
  3144. }
  3145. ]
  3146. },
  3147.  
  3148. {
  3149. "condition": ["map", "Route 21"],
  3150. "action": ["moveToMap", "Pallet Town"]
  3151. },
  3152.  
  3153. {
  3154. "condition": ["map", "Pokemon League Reception Gate"],
  3155. "actions": [
  3156. {
  3157. "condition": ["isNpcOnCell", [22, 3]],
  3158. "action": ["talkToNpcOnCell", [22, 3]]
  3159. },
  3160. {
  3161. "condition": ["all",
  3162. ["hasItem", "Earth Badge"],
  3163. ["isPokemon1Usable"]
  3164. ],
  3165. "action": ["moveToMap", "Victory Road Kanto 1F"]
  3166. },
  3167. {
  3168. "action": ["moveToMap", "Route 22"]
  3169. }
  3170. ]
  3171. },
  3172.  
  3173. {
  3174. "condition": ["map", "Victory Road Kanto 1F"],
  3175. "actions": [
  3176. {
  3177. "condition": ["isPokemon1Usable"],
  3178. "action": ["moveToRectangle", [36, 44], [45, 50]]
  3179. },
  3180. {
  3181. "action": ["moveToMap", "Pokemon League Reception Gate"]
  3182. }
  3183. ]
  3184. },
  3185. ],
  3186. "battle": [
  3187. {
  3188. "condition": ["isOpponentShiny"],
  3189. "action": ["useItem", "Ultra Ball", "Great Ball", "Pokeball"]
  3190. },
  3191. {
  3192. "condition": ["all",
  3193. ["isSet", "Oak's Aide wants more pokemons"],
  3194. ["alreadyCaught", "=", false],
  3195. ["isSet", "hasPokeballs"],
  3196. ["opponentPokemon", "!=", "Dugtrio"]
  3197. ],
  3198. "action": ["useItem", "Ultra Ball", "Great Ball", "Pokeball"],
  3199. "set": "Remember to unset 'Oak's Aide wants more pokemons'",
  3200. },
  3201. {
  3202. "condition": ["all",
  3203. ["opponentPokemon", "Nidoran M"],
  3204. ["alreadyCaught", "=", false]
  3205. ],
  3206. "action": ["useItem", "Ultra Ball", "Great Ball", "Pokeball"]
  3207. },
  3208. {
  3209. "condition": ["all",
  3210. ["any",
  3211. ["activePokemon", "Nidoran M"],
  3212. ["activePokemon", "Nidorino"],
  3213. ["activePokemon", "Nidoking"]
  3214. ],
  3215. ["!isSet", "hasNidoranM"]
  3216. ],
  3217. "action": ["attack"],
  3218. "set": "hasNidoranM"
  3219. },
  3220. {
  3221. "condition": ["all",
  3222. ["activePokemon", "Nidoran M"],
  3223. ["activeLevel", "<=", 7],
  3224. ["isPokemon2Usable"]
  3225. ],
  3226. "action": ["sendNextPokemon"],
  3227. "set": "hasNidoranM"
  3228. },
  3229. {
  3230. "condition": ["all",
  3231. ["any",
  3232. ["activePokemon", "Nidoran M"],
  3233. ["activePokemon", "Nidorino"],
  3234. ["activePokemon", "Nidoking"]
  3235. ],
  3236. ["activeLevel", ">=", 14],
  3237. ["!isSet", "NidoranM ready for Viridian Jackson"]
  3238. ],
  3239. "action": ["attack"],
  3240. "set": "NidoranM ready for Viridian Jackson"
  3241. },
  3242. {
  3243. "condition": ["all",
  3244. ["activeLevel", ">=", 16],
  3245. ["!isSet", "First pokemon ready for Brock"]
  3246. ],
  3247. "action": ["attack"],
  3248. "set": "First pokemon ready for Brock"
  3249. },
  3250. {
  3251. "condition": ["all",
  3252. ["activeLevel", ">=", 24],
  3253. ["!isSet", "First pokemon ready for Moon Stone"]
  3254. ],
  3255. "action": ["attack"],
  3256. "set": "First pokemon ready for Moon Stone"
  3257. },
  3258. {
  3259. "condition": ["all",
  3260. ["activeLevel", ">=", 28],
  3261. ["!isSet", "First pokemon ready for Mt.Moon"]
  3262. ],
  3263. "action": ["attack"],
  3264. "set": "First pokemon ready for Mt.Moon"
  3265. },
  3266. {
  3267. "condition": ["all",
  3268. ["activeLevel", ">=", 38],
  3269. ["!isSet", "First pokemon ready for Misty"]
  3270. ],
  3271. "action": ["attack"],
  3272. "set": "First pokemon ready for Misty"
  3273. },
  3274. {
  3275. "condition": ["all",
  3276. ["activeLevel", ">=", 43],
  3277. ["!isSet", "First pokemon ready for Surge"]
  3278. ],
  3279. "action": ["attack"],
  3280. "set": "First pokemon ready for Surge"
  3281. },
  3282. {
  3283. "condition": ["all",
  3284. ["activeLevel", ">=", 65],
  3285. ["!isSet", "First pokemon does not need digglet cave"]
  3286. ],
  3287. "action": ["attack"],
  3288. "set": "First pokemon does not need digglet cave"
  3289. },
  3290. {
  3291. "condition": ["all",
  3292. ["activeLevel", ">=", 90],
  3293. ["!isSet", "First pokemon ready for Saffron"]
  3294. ],
  3295. "action": ["attack"],
  3296. "set": "First pokemon ready for Saffron"
  3297. },
  3298. {
  3299. "condition": ["any",
  3300. ["opponentPokemon", "Rapidash"],
  3301. ["opponentPokemon", "Arcanine"],
  3302. ["opponentPokemon", "Ninetales"],
  3303. ["opponentPokemon", "Magmar"]
  3304. ],
  3305. "action": ["useMove", "Surf"]
  3306. },
  3307. {
  3308. "condition": ["any",
  3309. ["opponentPokemon", "Vicrtreebel"],
  3310. ["opponentPokemon", "Vileplume"],
  3311. ["opponentPokemon", "Alakazam"],
  3312. ["opponentPokemon", "Hypno"],
  3313. ["opponentPokemon", "Espeon"],
  3314. ["opponentPokemon", "Mr. Mime"],
  3315. ["opponentPokemon", "Mr.Mime"],
  3316. ["opponentPokemon", "Venusaur"],
  3317. ["opponentPokemon", "Ivysaur"]
  3318. ],
  3319. "action": ["useMove", "Megahorn"]
  3320. },
  3321. {
  3322. "condition": ["any",
  3323. ["opponentPokemon", "Pikachu"],
  3324. ["opponentPokemon", "Raichu"],
  3325. ["opponentPokemon", "Electrode"]
  3326. ],
  3327. "action": ["useMove", "Earth Power"]
  3328. },
  3329. {
  3330. "condition": ["opponentPokemon", "Charizard"],
  3331. "action": ["useMove", "Thunderbolt"]
  3332. },
  3333. {
  3334. "action": ["attack"]
  3335. }
  3336. ],
  3337. "switches": [
  3338. ["OAK", "but you can have one"],
  3339. ["OAK", "which pokemon do you want"],
  3340. ["MOM", "Remember that I love you"],
  3341. ["MOM", "glad that you dropped by"],
  3342. ["Viridian Jackson checked", "Maybe you can talk with him and try to negotiate the spot."],
  3343. ["Viridian Jackson defeated", "You will not take my spot!"],
  3344. ["Viridian Jackson defeated", "Sorry, the young boy there doesn't want to give his spot, I'm truly sorry..."],
  3345. ["Checked Viridian City to Route 2", "Why don't you go and check the school?"],
  3346. ["Viridian City to Route 2", "Well, now, I've had my coffee, and that's what I need to get going!"],
  3347. ["MtMoon go talk to fossil guy", "You should talk to someone before touching these."],
  3348. ["MtMoon talked to fossil guy", "Did you get the one you like?"],
  3349. ["Bill looking for book", "I am Bill, do you think you could do me a favor?"],
  3350. ["Bill found book", "Oh! Looks like Bill's research book is under his pillow."],
  3351. ["Bill found book", "There is nothing else here..."],
  3352. ["Bill has book", "Oh!! You found it!"],
  3353. ["Bill has book", "Have you enjoyed the Cruise yet?"],
  3354. ["Psychic Wade talked", "I wonder what that dude wants..."],
  3355. ["Psychic Wade explained", "You see, that was Lance, the Pokemon League Champion."],
  3356. ["Psychic Wade explained", "Please, hurry up and tell him that."],
  3357. ["Surge talked", "I am in the middle of something, you want to tell me something?"],
  3358. ["Psychic Wade congrated", "For your effort, I want to give you this, a token found from future Vermilion City!"],
  3359. ["Usher Dale talked", "Hello! Welcome aboard the S.S. Anne - the most upscale ship that is presently serviceable!"],
  3360. ["Usher Dale talked", "Enjoy your passengership on the S.S. Anne!"],
  3361. ["SSAnne Basement PC to check", "Welcome to S.S. Anne! Please book your personal information in our passenger registry."],
  3362. ["SSAnne Basement PC to check", "As apart of the guest-screening procedure, we will need you to register all applicable personal information at the PC, for ticket-identification purposes!"],
  3363. ["SSAnne Basement PC checked", "has been booked in the passenger registry of S.S. Anne!"],
  3364. ["SSAnne Doctor Neumann has Pecha Berry", "You have a Pecha Berry? Excellent!"],
  3365. ["SSAnne Doctor Neumann has Pecha Berry", "I was told the berry was delivered to him; thank you very much!"],
  3366. ["SSAnne Jenson needs Pecha Berry", "I was told the berry was delivered to him; thank you very much!"],
  3367. ["SSAnne Jenson needs Pecha Berry", "I did not know it was that grave, however!"],
  3368. ["SSAnne Jenson has Pecha Berry", "Excellent; let me take it!"],
  3369. ["SSAnne Jenson has Pecha Berry", "Explore the Ballroom for now; I already gave you an admissible ticket for it!"],
  3370. ["SSAnne Talked to Blissey", "Blissey wants to give something"],
  3371. ["SSAnne Security Officer Chris", "You should already know this area is off-limits!"],
  3372. ["SSAnne Captain", "I owe ye one..."],
  3373. ["SSAnne Jackson defeated", "Consider us off of the SS Anne now... With a goody-two-shoes scrub as my rommate, and the overall-pathetic pool of trainers, this ride will be a waste of time."],
  3374. ["Oak's Aide wants more pokemons", "Come back when you have; Professor Oak forwarded an item for me to give you when you do."],
  3375. ["Checked Mr. Fuji Notes", "I already read this note."],
  3376. ["Victor defeated", "Did you get the HM broseph?"],
  3377. ["Lemonade Given", "Thanks twerp. I'll tell the other guards to let you through too."],
  3378. ["Gym Guard talked", "Ah, you have qualified to enter this gym."],
  3379. ["Mansion Guard talked", "There is a key hidden in here. I hope you can find it."],
  3380. ["Silph Co Cleared", "I hope we meet again..."],
  3381. ["Rocket Celadon cleared", "Oh rats, you have defeated Giovanni!"]
  3382. ],
  3383. "teach": {
  3384. "default": {
  3385. "toLearn": ["Horn Attack", "Cut", "Earth Power", "Megahorn", "Surf", "Thunderbolt"],
  3386. "toForget": ["Growl", "Leer", "Horn Attack", "Focus Energy", "Double Kick", "Peck", "Cut", "Chip Away"]
  3387. }
  3388. }
  3389. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement