hide_show_data.asm 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. ; data for default hidden/shown
  2. ; objects for each map ($00-$F8)
  3. ; Table of 2-Byte pointers, one pointer per map,
  4. ; goes up to Map_F7, ends with $FFFF.
  5. ; points to table listing all missable object in the area
  6. MapHSPointers:
  7. dw MapHS00
  8. dw MapHS01
  9. dw MapHS02
  10. dw MapHS03
  11. dw MapHSXX
  12. dw MapHSXX
  13. dw MapHSXX
  14. dw MapHSXX
  15. dw MapHSXX
  16. dw MapHSXX
  17. dw MapHS0A
  18. dw MapHSXX
  19. dw MapHSXX
  20. dw MapHS0D
  21. dw MapHSXX
  22. dw MapHS0F
  23. dw MapHSXX
  24. dw MapHSXX
  25. dw MapHSXX
  26. dw MapHSXX
  27. dw MapHS14
  28. dw MapHSXX
  29. dw MapHSXX
  30. dw MapHS17
  31. dw MapHSXX
  32. dw MapHSXX
  33. dw MapHS1A
  34. dw MapHS1B
  35. dw MapHSXX
  36. dw MapHSXX
  37. dw MapHSXX
  38. dw MapHSXX
  39. dw MapHSXX
  40. dw MapHS21
  41. dw MapHSXX
  42. dw MapHS23
  43. dw MapHS24
  44. dw MapHSXX
  45. dw MapHSXX
  46. dw MapHS27
  47. dw MapHS28
  48. dw MapHSXX
  49. dw MapHSXX
  50. dw MapHSXX
  51. dw MapHSXX
  52. dw MapHS2D
  53. dw MapHSXX
  54. dw MapHSXX
  55. dw MapHSXX
  56. dw MapHSXX
  57. dw MapHSXX
  58. dw MapHS33
  59. dw MapHS34
  60. dw MapHSXX
  61. dw MapHSXX
  62. dw MapHSXX
  63. dw MapHSXX
  64. dw MapHSXX
  65. dw MapHSXX
  66. dw MapHS3B
  67. dw MapHSXX
  68. dw MapHS3D
  69. dw MapHSXX
  70. dw MapHSXX
  71. dw MapHSXX
  72. dw MapHSXX
  73. dw MapHSXX
  74. dw MapHSXX
  75. dw MapHSXX
  76. dw MapHSXX
  77. dw MapHSXX
  78. dw MapHSXX
  79. dw MapHSXX
  80. dw MapHSXX
  81. dw MapHSXX
  82. dw MapHSXX
  83. dw MapHSXX
  84. dw MapHSXX
  85. dw MapHSXX
  86. dw MapHSXX
  87. dw MapHSXX
  88. dw MapHSXX
  89. dw MapHSXX
  90. dw MapHS53
  91. dw MapHSXX
  92. dw MapHSXX
  93. dw MapHSXX
  94. dw MapHSXX
  95. dw MapHS58
  96. dw MapHSXX
  97. dw MapHSXX
  98. dw MapHSXX
  99. dw MapHSXX
  100. dw MapHSXX
  101. dw MapHSXX
  102. dw MapHSXX
  103. dw MapHS60
  104. dw MapHSXX
  105. dw MapHSXX
  106. dw MapHSXX
  107. dw MapHSXX
  108. dw MapHSXX
  109. dw MapHS66
  110. dw MapHS67
  111. dw MapHS68
  112. dw MapHSXX
  113. dw MapHSXX
  114. dw MapHSXX
  115. dw MapHS6C
  116. dw MapHSXX
  117. dw MapHSXX
  118. dw MapHSXX
  119. dw MapHSXX
  120. dw MapHSXX
  121. dw MapHSXX
  122. dw MapHSXX
  123. dw MapHSXX
  124. dw MapHSXX
  125. dw MapHSXX
  126. dw MapHSXX
  127. dw MapHS78
  128. dw MapHSXX
  129. dw MapHSXX
  130. dw MapHSXX
  131. dw MapHSXX
  132. dw MapHSXX
  133. dw MapHSXX
  134. dw MapHSXX
  135. dw MapHSXX
  136. dw MapHSXX
  137. dw MapHSXX
  138. dw MapHSXX
  139. dw MapHS84
  140. dw MapHSXX
  141. dw MapHSXX
  142. dw MapHS87
  143. dw MapHSXX
  144. dw MapHSXX
  145. dw MapHSXX
  146. dw MapHSXX
  147. dw MapHSXX
  148. dw MapHSXX
  149. dw MapHSXX
  150. dw MapHS8F
  151. dw MapHS90
  152. dw MapHS91
  153. dw MapHS92
  154. dw MapHS93
  155. dw MapHS94
  156. dw MapHS95
  157. dw MapHSXX
  158. dw MapHSXX
  159. dw MapHSXX
  160. dw MapHSXX
  161. dw MapHSXX
  162. dw MapHS9B
  163. dw MapHSXX
  164. dw MapHSXX
  165. dw MapHSXX
  166. dw MapHS9F
  167. dw MapHSA0
  168. dw MapHSA1
  169. dw MapHSA2
  170. dw MapHSXX
  171. dw MapHSXX
  172. dw MapHSA5
  173. dw MapHSXX
  174. dw MapHSXX
  175. dw MapHSXX
  176. dw MapHSXX
  177. dw MapHSXX
  178. dw MapHSXX
  179. dw MapHSXX
  180. dw MapHSXX
  181. dw MapHSXX
  182. dw MapHSXX
  183. dw MapHSXX
  184. dw MapHSB1
  185. dw MapHSXX
  186. dw MapHSXX
  187. dw MapHSXX
  188. dw MapHSB5
  189. dw MapHSXX
  190. dw MapHSXX
  191. dw MapHSXX
  192. dw MapHSXX
  193. dw MapHSXX
  194. dw MapHSXX
  195. dw MapHSXX
  196. dw MapHSXX
  197. dw MapHSXX
  198. dw MapHSXX
  199. dw MapHSC0
  200. dw MapHSXX
  201. dw MapHSC2
  202. dw MapHSXX
  203. dw MapHSXX
  204. dw MapHSXX
  205. dw MapHSC6
  206. dw MapHSC7
  207. dw MapHSC8
  208. dw MapHSC9
  209. dw MapHSCA
  210. dw MapHSXX
  211. dw MapHSXX
  212. dw MapHSXX
  213. dw MapHSXX
  214. dw MapHSCF
  215. dw MapHSD0
  216. dw MapHSD1
  217. dw MapHSD2
  218. dw MapHSD3
  219. dw MapHSD4
  220. dw MapHSD5
  221. dw MapHSD6
  222. dw MapHSD7
  223. dw MapHSD8
  224. dw MapHSD9
  225. dw MapHSDA
  226. dw MapHSDB
  227. dw MapHSDC
  228. dw MapHSXX
  229. dw MapHSXX
  230. dw MapHSXX
  231. dw MapHSXX
  232. dw MapHSXX
  233. dw MapHSE2
  234. dw MapHSE3
  235. dw MapHSE4
  236. dw MapHSXX
  237. dw MapHSXX
  238. dw MapHSXX
  239. dw MapHSXX
  240. dw MapHSE9
  241. dw MapHSEA
  242. dw MapHSEB
  243. dw MapHSXX
  244. dw MapHSXX
  245. dw MapHSXX
  246. dw MapHSXX
  247. dw MapHSXX
  248. dw MapHSXX
  249. dw MapHSXX
  250. dw MapHSXX
  251. dw MapHSF4
  252. dw MapHSXX
  253. dw MapHSXX
  254. dw MapHSXX
  255. dw $FFFF
  256. ; Structure:
  257. ; 3 bytes per object
  258. ; [Map_ID][Object_ID][H/S]
  259. ;
  260. ; Program stops reading when either:
  261. ; a) Map_ID = $FF
  262. ; b) Map_ID ≠ currentMapID
  263. ;
  264. ; This Data is loaded into RAM at wd5ce-$D5F?. (wMissableObjectList)
  265. ; These constants come from the bytes for Predef functions:
  266. Hide equ $11
  267. Show equ $15
  268. MapHSXX:
  269. db $FF,$FF,$FF
  270. MapHS00:
  271. db PALLET_TOWN,$01,Hide
  272. MapHS01:
  273. db VIRIDIAN_CITY,$05,Show
  274. db VIRIDIAN_CITY,$07,Hide
  275. MapHS02:
  276. db PEWTER_CITY,$03,Show
  277. db PEWTER_CITY,$05,Show
  278. MapHS03:
  279. db CERULEAN_CITY,$01,Hide
  280. db CERULEAN_CITY,$02,Show
  281. db CERULEAN_CITY,$06,Hide
  282. db CERULEAN_CITY,$0A,Show
  283. db CERULEAN_CITY,$0B,Show
  284. MapHS0A:
  285. db SAFFRON_CITY,$01,Show
  286. db SAFFRON_CITY,$02,Show
  287. db SAFFRON_CITY,$03,Show
  288. db SAFFRON_CITY,$04,Show
  289. db SAFFRON_CITY,$05,Show
  290. db SAFFRON_CITY,$06,Show
  291. db SAFFRON_CITY,$07,Show
  292. db SAFFRON_CITY,$08,Hide
  293. db SAFFRON_CITY,$09,Hide
  294. db SAFFRON_CITY,$0A,Hide
  295. db SAFFRON_CITY,$0B,Hide
  296. db SAFFRON_CITY,$0C,Hide
  297. db SAFFRON_CITY,$0D,Hide
  298. db SAFFRON_CITY,$0E,Show
  299. db SAFFRON_CITY,$0F,Hide
  300. MapHS0D:
  301. db ROUTE_2,$01,Show
  302. db ROUTE_2,$02,Show
  303. MapHS0F:
  304. db ROUTE_4,$03,Show
  305. MapHS14:
  306. db ROUTE_9,$0A,Show
  307. MapHS17:
  308. db ROUTE_12,$01,Show
  309. db ROUTE_12,$09,Show
  310. db ROUTE_12,$0A,Show
  311. MapHS1A:
  312. db ROUTE_15,$0B,Show
  313. MapHS1B:
  314. db ROUTE_16,$07,Show
  315. MapHS21:
  316. db ROUTE_22,$01,Hide
  317. db ROUTE_22,$02,Hide
  318. MapHS23:
  319. db ROUTE_24,$01,Show
  320. db ROUTE_24,$08,Show
  321. MapHS24:
  322. db ROUTE_25,$0A,Show
  323. MapHS27:
  324. db BLUES_HOUSE,$01,Show
  325. db BLUES_HOUSE,$02,Hide
  326. db BLUES_HOUSE,$03,Show
  327. MapHS28:
  328. db OAKS_LAB,$01,Show
  329. db OAKS_LAB,$02,Show
  330. db OAKS_LAB,$03,Show
  331. db OAKS_LAB,$04,Show
  332. db OAKS_LAB,$05,Hide
  333. db OAKS_LAB,$06,Show
  334. db OAKS_LAB,$07,Show
  335. db OAKS_LAB,$08,Hide
  336. MapHS2D:
  337. db VIRIDIAN_GYM,$01,Show
  338. db VIRIDIAN_GYM,$0B,Show
  339. MapHS34:
  340. db MUSEUM_1F,$05,Show
  341. MapHSE4:
  342. db UNKNOWN_DUNGEON_1,$01,Show
  343. db UNKNOWN_DUNGEON_1,$02,Show
  344. db UNKNOWN_DUNGEON_1,$03,Show
  345. MapHS8F:
  346. db POKEMONTOWER_2,$01,Show
  347. MapHS90:
  348. db POKEMONTOWER_3,$04,Show
  349. MapHS91:
  350. db POKEMONTOWER_4,$04,Show
  351. db POKEMONTOWER_4,$05,Show
  352. db POKEMONTOWER_4,$06,Show
  353. MapHS92:
  354. db POKEMONTOWER_5,$06,Show
  355. MapHS93:
  356. db POKEMONTOWER_6,$04,Show
  357. db POKEMONTOWER_6,$05,Show
  358. MapHS94:
  359. db POKEMONTOWER_7,$01,Show
  360. db POKEMONTOWER_7,$02,Show
  361. db POKEMONTOWER_7,$03,Show
  362. db POKEMONTOWER_7,$04,Show
  363. MapHS95:
  364. db LAVENDER_HOUSE_1,$05,Hide
  365. MapHS84:
  366. db CELADON_MANSION_5,$02,Show
  367. MapHS87:
  368. db GAME_CORNER,$0B,Show
  369. MapHS9B:
  370. db FUCHSIA_HOUSE_2,$02,Show
  371. MapHSA5:
  372. db MANSION_1,$02,Show
  373. db MANSION_1,$03,Show
  374. MapHSB1:
  375. db FIGHTING_DOJO,$06,Show
  376. db FIGHTING_DOJO,$07,Show
  377. MapHSB5:
  378. db SILPH_CO_1F,$01,Hide
  379. MapHS53:
  380. db POWER_PLANT,$01,Show
  381. db POWER_PLANT,$02,Show
  382. db POWER_PLANT,$03,Show
  383. db POWER_PLANT,$04,Show
  384. db POWER_PLANT,$05,Show
  385. db POWER_PLANT,$06,Show
  386. db POWER_PLANT,$07,Show
  387. db POWER_PLANT,$08,Show
  388. db POWER_PLANT,$09,Show
  389. db POWER_PLANT,$0A,Show
  390. db POWER_PLANT,$0B,Show
  391. db POWER_PLANT,$0C,Show
  392. db POWER_PLANT,$0D,Show
  393. db POWER_PLANT,$0E,Show
  394. MapHSC2:
  395. db VICTORY_ROAD_2,$06,Show
  396. db VICTORY_ROAD_2,$07,Show
  397. db VICTORY_ROAD_2,$08,Show
  398. db VICTORY_ROAD_2,$09,Show
  399. db VICTORY_ROAD_2,$0A,Show
  400. db VICTORY_ROAD_2,$0D,Show
  401. MapHS58:
  402. db BILLS_HOUSE,$01,Show
  403. db BILLS_HOUSE,$02,Hide
  404. db BILLS_HOUSE,$03,Hide
  405. MapHS33:
  406. db VIRIDIAN_FOREST,$05,Show
  407. db VIRIDIAN_FOREST,$06,Show
  408. db VIRIDIAN_FOREST,$07,Show
  409. MapHS3B:
  410. db MT_MOON_1,$08,Show
  411. db MT_MOON_1,$09,Show
  412. db MT_MOON_1,$0A,Show
  413. db MT_MOON_1,$0B,Show
  414. db MT_MOON_1,$0C,Show
  415. db MT_MOON_1,$0D,Show
  416. MapHS3D:
  417. db MT_MOON_3,$06,Show
  418. db MT_MOON_3,$07,Show
  419. db MT_MOON_3,$08,Show
  420. db MT_MOON_3,$09,Show
  421. MapHS60:
  422. db SS_ANNE_2,$02,Hide
  423. MapHS66:
  424. db SS_ANNE_8,$0A,Show
  425. MapHS67:
  426. db SS_ANNE_9,$06,Show
  427. db SS_ANNE_9,$09,Show
  428. MapHS68:
  429. db SS_ANNE_10,$09,Show
  430. db SS_ANNE_10,$0A,Show
  431. db SS_ANNE_10,$0B,Show
  432. MapHSC6:
  433. db VICTORY_ROAD_3,$05,Show
  434. db VICTORY_ROAD_3,$06,Show
  435. db VICTORY_ROAD_3,$0A,Show
  436. MapHSC7:
  437. db ROCKET_HIDEOUT_1,$06,Show
  438. db ROCKET_HIDEOUT_1,$07,Show
  439. MapHSC8:
  440. db ROCKET_HIDEOUT_2,$02,Show
  441. db ROCKET_HIDEOUT_2,$03,Show
  442. db ROCKET_HIDEOUT_2,$04,Show
  443. db ROCKET_HIDEOUT_2,$05,Show
  444. MapHSC9:
  445. db ROCKET_HIDEOUT_3,$03,Show
  446. db ROCKET_HIDEOUT_3,$04,Show
  447. MapHSCA:
  448. db ROCKET_HIDEOUT_4,$01,Show
  449. db ROCKET_HIDEOUT_4,$05,Show
  450. db ROCKET_HIDEOUT_4,$06,Show
  451. db ROCKET_HIDEOUT_4,$07,Show
  452. db ROCKET_HIDEOUT_4,$08,Hide
  453. db ROCKET_HIDEOUT_4,$09,Hide
  454. MapHSCF:
  455. db SILPH_CO_2F,$01,Show
  456. db SILPH_CO_2F,$02,Show
  457. db SILPH_CO_2F,$03,Show
  458. db SILPH_CO_2F,$04,Show
  459. db SILPH_CO_2F,$05,Show
  460. MapHSD0:
  461. db SILPH_CO_3F,$02,Show
  462. db SILPH_CO_3F,$03,Show
  463. db SILPH_CO_3F,$04,Show
  464. MapHSD1:
  465. db SILPH_CO_4F,$02,Show
  466. db SILPH_CO_4F,$03,Show
  467. db SILPH_CO_4F,$04,Show
  468. db SILPH_CO_4F,$05,Show
  469. db SILPH_CO_4F,$06,Show
  470. db SILPH_CO_4F,$07,Show
  471. MapHSD2:
  472. db SILPH_CO_5F,$02,Show
  473. db SILPH_CO_5F,$03,Show
  474. db SILPH_CO_5F,$04,Show
  475. db SILPH_CO_5F,$05,Show
  476. db SILPH_CO_5F,$06,Show
  477. db SILPH_CO_5F,$07,Show
  478. db SILPH_CO_5F,$08,Show
  479. MapHSD3:
  480. db SILPH_CO_6F,$06,Show
  481. db SILPH_CO_6F,$07,Show
  482. db SILPH_CO_6F,$08,Show
  483. db SILPH_CO_6F,$09,Show
  484. db SILPH_CO_6F,$0A,Show
  485. MapHSD4:
  486. db SILPH_CO_7F,$05,Show
  487. db SILPH_CO_7F,$06,Show
  488. db SILPH_CO_7F,$07,Show
  489. db SILPH_CO_7F,$08,Show
  490. db SILPH_CO_7F,$09,Show
  491. db SILPH_CO_7F,$0A,Show
  492. db SILPH_CO_7F,$0B,Show
  493. db SILPH_CO_7F,$0C,Show
  494. MapHSD5:
  495. db SILPH_CO_8F,$02,Show
  496. db SILPH_CO_8F,$03,Show
  497. db SILPH_CO_8F,$04,Show
  498. MapHSE9:
  499. db SILPH_CO_9F,$02,Show
  500. db SILPH_CO_9F,$03,Show
  501. db SILPH_CO_9F,$04,Show
  502. MapHSEA:
  503. db SILPH_CO_10F,$01,Show
  504. db SILPH_CO_10F,$02,Show
  505. db SILPH_CO_10F,$03,Show
  506. db SILPH_CO_10F,$04,Show
  507. db SILPH_CO_10F,$05,Show
  508. db SILPH_CO_10F,$06,Show
  509. MapHSEB:
  510. db SILPH_CO_11F,$03,Show
  511. db SILPH_CO_11F,$04,Show
  512. db SILPH_CO_11F,$05,Show
  513. MapHSF4:
  514. db $F4,$02,Show
  515. MapHSD6:
  516. db MANSION_2,$02,Show
  517. MapHSD7:
  518. db MANSION_3,$03,Show
  519. db MANSION_3,$04,Show
  520. MapHSD8:
  521. db MANSION_4,$03,Show
  522. db MANSION_4,$04,Show
  523. db MANSION_4,$05,Show
  524. db MANSION_4,$06,Show
  525. db MANSION_4,$08,Show
  526. MapHSD9:
  527. db SAFARI_ZONE_EAST,$01,Show
  528. db SAFARI_ZONE_EAST,$02,Show
  529. db SAFARI_ZONE_EAST,$03,Show
  530. db SAFARI_ZONE_EAST,$04,Show
  531. MapHSDA:
  532. db SAFARI_ZONE_NORTH,$01,Show
  533. db SAFARI_ZONE_NORTH,$02,Show
  534. MapHSDB:
  535. db SAFARI_ZONE_WEST,$01,Show
  536. db SAFARI_ZONE_WEST,$02,Show
  537. db SAFARI_ZONE_WEST,$03,Show
  538. db SAFARI_ZONE_WEST,$04,Show
  539. MapHSDC:
  540. db SAFARI_ZONE_CENTER,$01,Show
  541. MapHSE2:
  542. db UNKNOWN_DUNGEON_2,$01,Show
  543. db UNKNOWN_DUNGEON_2,$02,Show
  544. db UNKNOWN_DUNGEON_2,$03,Show
  545. MapHSE3:
  546. db UNKNOWN_DUNGEON_3,$01,Show
  547. db UNKNOWN_DUNGEON_3,$02,Show
  548. db UNKNOWN_DUNGEON_3,$03,Show
  549. MapHS6C:
  550. db VICTORY_ROAD_1,$03,Show
  551. db VICTORY_ROAD_1,$04,Show
  552. MapHS78:
  553. db CHAMPIONS_ROOM,$02,Hide
  554. MapHSC0:
  555. db SEAFOAM_ISLANDS_1,$01,Show
  556. db SEAFOAM_ISLANDS_1,$02,Show
  557. MapHS9F:
  558. db SEAFOAM_ISLANDS_2,$01,Hide
  559. db SEAFOAM_ISLANDS_2,$02,Hide
  560. MapHSA0:
  561. db SEAFOAM_ISLANDS_3,$01,Hide
  562. db SEAFOAM_ISLANDS_3,$02,Hide
  563. MapHSA1:
  564. db SEAFOAM_ISLANDS_4,$02,Show
  565. db SEAFOAM_ISLANDS_4,$03,Show
  566. db SEAFOAM_ISLANDS_4,$05,Hide
  567. db SEAFOAM_ISLANDS_4,$06,Hide
  568. MapHSA2:
  569. db SEAFOAM_ISLANDS_5,$01,Hide
  570. db SEAFOAM_ISLANDS_5,$02,Hide
  571. db SEAFOAM_ISLANDS_5,$03,Show
  572. db $FF,$01,Show