Guest User

defines3

a guest
Sep 17th, 2018
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. !dp = $0000
  2. !addr = $0000
  3. !rom = $800000
  4. !sa1 = 0
  5. !gsu = 0
  6. !sram7000 = $000000
  7. !sram7008 = $000000
  8. !ram7F9A7B = $000000
  9. !ram7FC700 = $000000
  10.  
  11. if read1($00FFD6) == $15
  12. sfxrom
  13. !dp = $6000
  14. !addr = !dp
  15. !gsu = 1
  16. elseif read1($00FFD5) == $23
  17. sa1rom
  18. !dp = $3000
  19. !addr = $6000
  20. !sa1 = 1
  21. !rom = $000000
  22. !sram7000 = $2E4000
  23. !sram7008 = $2E6800
  24. !ram7F9A7B = $3E127B
  25. !ram7FC700 = $3DFF00
  26. endif
  27.  
  28. ;########################################
  29. ;######## Scratchs Rams [$00,$0F] #######
  30. ;########################################
  31. !Scratch0 = $00
  32. !Scratch1 = $01
  33. !Scratch2 = $02
  34. !Scratch3 = $03
  35. !Scratch4 = $04
  36. !Scratch5 = $05
  37. !Scratch6 = $06
  38. !Scratch7 = $07
  39. !Scratch8 = $08
  40. !Scratch9 = $09
  41. !ScratchA = $0A
  42. !ScratchB = $0B
  43. !ScratchC = $0C
  44. !ScratchD = $0D
  45. !ScratchE = $0E
  46. !ScratchF = $0F
  47.  
  48. ;########################################
  49. ;############## Counters ################
  50. ;########################################
  51. !TrueFrameCounter = $13
  52. !EffectiveFrameCounter = $14
  53.  
  54. ;########################################
  55. ;############## Control #################
  56. ;########################################
  57. !ButtonPressed_BYETUDLR = $15
  58. !ButtonDown_BYETUDLR = $16
  59. !ButtonPressed_AXLR0000 = $17
  60. !ButtonDown_AXLR0000 = $18
  61.  
  62. ;########################################
  63. ;############## Layers ##################
  64. ;########################################
  65. !Layer1X = $1A
  66. !Layer1Y = $1C
  67. !Layer2X = $1E
  68. !Layer2Y = $20
  69. !Layer3X = $22
  70. !Layer3Y = $24
  71.  
  72. ;########################################
  73. ;############## Player ##################
  74. ;########################################
  75. !PlayerX = $94
  76. !PlayerY = $96
  77. !PlayerXSpeed = $7B
  78. !PlayerYSpeed = $7D
  79. !PowerUp = $19
  80. !Lives = $0DBE|!addr
  81. !Coins = $0DBF|!addr
  82. !ItemBox = $0DC2|!addr
  83. !PlayerInAirFlag = $72
  84. !PlayerDuckingFlag = $73
  85. !PlayerClimbingFlag_N00SIFHB = $74
  86. !PlayerWaterFlag = $75
  87. !PlayerDirection = $76
  88. !PlayerBlockedStatus_S00MUDLR = $77
  89. !PlayerHide_DLUCAPLU = $78
  90. !CurrentPlayer = $0DB3|!addr
  91. !CapeImage = $13DF|!addr
  92. !PlayerPose = $13E0|!addr
  93. !PlayerSlope = $13E1|!addr
  94. !SpinjumpTimer = $13E2|!addr
  95. !PlayerWallRunningFlag = $13E3|!addr
  96. !PlayerFrozenFlag = $13FB|!addr
  97. !PlayerCarryingFlag = $1470|!addr
  98. !PlayerCarryingFlagImage = $148F|!addr
  99. !PlayerAnimationTimer = $1496|!addr
  100. !PlayerFlashingTimer = $1497|!addr
  101. !P1PowerUp = $0DB8|!addr
  102. !P2PowerUp = $0DB9|!addr
  103. !P1Lives = $0DB4|!addr
  104. !P2Lives = $0DB5|!addr
  105. !P1Coins = $0DB6|!addr
  106. !P2Coins = $0DB7|!addr
  107. !P1YoshiColor = $0DBA|!addr
  108. !P2YoshiColor = $0DBB|!addr
  109. !P1ItemBox = $0DBC|!addr
  110. !P2ItemBox = $0DBD|!addr
  111.  
  112. ;########################################
  113. ;############### Global #################
  114. ;########################################
  115. !LockAnimationFlag = $9D
  116. !HScrollEnable = $1411|!addr
  117. !VScrollEnable = $1412|!addr
  118. !HScrollLayer2Type = $1413|!addr
  119. !VScrollLayer2Type = $1414|!addr
  120. !WaterFlag = $85
  121. !SlipperyFlag = $86
  122. !GameMode = $0100|!addr
  123. !TwoPlayersFlag= $0DB2|!addr
  124.  
  125. ;########################################
  126. ;################ OAM ###################
  127. ;########################################
  128. !TileXPosition200 = $0200|!addr
  129. !TileYPosition200 = $0201|!addr
  130. !TileCode200 = $0202|!addr
  131. !TileProperty200 = $0203|!addr
  132. !TileSize420 = $0420|!addr
  133. !TileXPosition = $0300|!addr
  134. !TileYPosition = $0301|!addr
  135. !TileCode = $0302|!addr
  136. !TileProperty = $0303|!addr
  137. !TileSize460 = $0460|!addr
  138.  
  139. ;########################################
  140. ;############### Yoshi ##################
  141. ;########################################
  142. !YoshiX = $18B0|!addr
  143. !YoshiY = $18B2|!addr
  144. !YoshiKeyInMouthFlag = $191C|!addr
  145.  
  146. ;########################################
  147. ;############## Clusters ################
  148. ;########################################
  149. !ClusterNumber = $1892|!addr
  150. !ClusterXLow = $1E16|!addr
  151. !ClusterYLow = $1E02|!addr
  152. !ClusterXHigh = $1E3E|!addr
  153. !ClusterYHigh = $1E2A|!addr
  154. !ClusterMiscTable1 = $0F4A|!addr
  155. !ClusterMiscTable2 = $0F5E|!addr
  156. !ClusterMiscTable3 = $0F72|!addr
  157. !ClusterMiscTable4 = $0F86|!addr
  158. !ClusterMiscTable5 = $0F9A|!addr
  159. !ClusterMiscTable6 = $1E52|!addr
  160. !ClusterMiscTable7 = $1E66|!addr
  161. !ClusterMiscTable8 = $1E7A|!addr
  162. !ClusterMiscTable9 = $1E8E|!addr
  163.  
  164. ;########################################
  165. ;############## Extended ################
  166. ;########################################
  167. !ExtendedNumber = $170B|!addr
  168. !ExtendedXLow = $171F|!addr
  169. !ExtendedYLow = $1715|!addr
  170. !ExtendedXHigh = $1733|!addr
  171. !ExtendedYHigh = $1729|!addr
  172. !ExtendedXSpeed = $1747|!addr
  173. !ExtendedYSpeed = $173D|!addr
  174. !ExtendedXSpeedAccumulatingFraction = $175B|!addr
  175. !ExtendedYSpeedAccumulatingFraction = $1751|!addr
  176. !ExtendedBehindLayersFlag = $1779|!addr
  177. !ExtendedMiscTable1 = $1765|!addr
  178. !ExtendedMiscTable2 = $176F|!addr
  179.  
  180. ;########################################
  181. ;############### Sprites ################
  182. ;########################################
  183. !SpriteIndex = $15E9|!addr
  184. !SpriteNumber = $9E
  185. !SpriteStatus = $14C8
  186. !SpriteXLow = $E4
  187. !SpriteYLow = $D8
  188. !SpriteXHigh = $14E0
  189. !SpriteYHigh = $14D4
  190. !SpriteXSpeed = $B6
  191. !SpriteYSpeed = $AA
  192. !SpriteXSpeedAccumulatingFraction = $14F8
  193. !SpriteYSpeedAccumulatingFraction = $14EC
  194. !SpriteDirection = $157C
  195. !SpriteBlockedStatus_ASB0UDLR = $1588
  196. !SpriteHOffScreenFlag = $15A0
  197. !SpriteVOffScreenFlag = $186C
  198. !SpriteHMoreThan4TilesOffScreenFlag = $15C4
  199. !SpriteSlope = $15B8
  200. !SpriteYoshiTongueFlag = $15D0
  201. !SpriteInteractionWithObjectEnable = $15DC
  202. !SpriteIndexOAM = $15EA
  203. !SpriteProperties_YXPPCCCT = $15F6
  204. !SpriteLoadStatus = $161A
  205. !SpriteBehindEscenaryFlag = $1632
  206. !SpriteInLiquidFlag = $164A
  207. !SpriteDecTimer1 = $1540
  208. !SpriteDecTimer2 = $154C
  209. !SpriteDecTimer3 = $1558
  210. !SpriteDecTimer4 = $1564
  211. !SpriteDecTimer5 = $15AC
  212. !SpriteDecTimer6 = $163E
  213. !SpriteDecTimer7 = $1FE2
  214. !SpriteTweaker1656_SSJJCCCC = $1656
  215. !SpriteTweaker1662_DSCCCCCC = $1662
  216. !SpriteTweaker166E_LWCFPPPG = $166E
  217. !SpriteTweaker167A_DPMKSPIS = $167A
  218. !SpriteTweaker1686_DNCTSWYE = $1686
  219. !SpriteTweaker190F_WCDJ5SDP = $190F
  220. !SpriteMiscTable1 = $0DF5|!addr
  221. !SpriteMiscTable2 = $0E0B|!addr
  222. !SpriteMiscTable3 = $C2
  223. !SpriteMiscTable4 = $1504
  224. !SpriteMiscTable5 = $1510
  225. !SpriteMiscTable6 = $151C
  226. !SpriteMiscTable7 = $1528
  227. !SpriteMiscTable8 = $1534
  228. !SpriteMiscTable9 = $1570
  229. !SpriteMiscTable10 = $1594
  230. !SpriteMiscTable11 = $1602
  231. !SpriteMiscTable12 = $160E
  232. !SpriteMiscTable13 = $1626
  233. !SpriteMiscTable14 = $187B
  234. !SpriteMiscTable15 = $1FD6
  235.  
  236. ;########################################
  237. ;############### GIEPY ##################
  238. ;########################################
  239. !ExtraBits = $7FAB10
  240. !NewCodeFlag = $7FAB1C
  241. !ExtraProp1 = $7FAB28
  242. !ExtraProp2 = $7FAB34
  243. !ExtraByte1 = $7FAB40
  244. !ExtraByte2 = $7FAB4C
  245. !ExtraByte3 = $7FAB58
  246. !ExtraByte4 = $7FAB64
  247. !ShooterExtraByte = $7FAB70
  248. !GeneratorExtraByte = $7FAB78
  249. !ScrollerExtraByte = $7FAB79
  250. !CustomSpriteNumber = $7FAB9E
  251. !ShooterExtraBits = $7FABAA
  252. !GeneratorExtraBits = $7FABB2
  253. !Layer1ExtraBits = $7FABB3
  254. !Layer2ExtraBits = $7FABB4
  255. !SpriteFlags = $7FABB5
  256.  
  257. if !sa1
  258.  
  259. !SpriteNumber = $3200
  260. !SpriteYSpeed = $9E
  261. !SpriteXSpeed = $B6
  262. !SpriteMiscTable3 = $D8
  263. !SpriteYLow = $3216
  264. !SpriteXLow = $322C
  265. !SpriteStatus = $3242
  266. !SpriteYHigh = $3258
  267. !SpriteXHigh = $326E
  268. !SpriteYSpeedAccumulatingFraction = $74C8
  269. !SpriteXSpeedAccumulatingFraction = $74DE
  270. !SpriteMiscTable4 = $74F4
  271. !SpriteMiscTable5 = $750A
  272. !SpriteMiscTable6 = $3284
  273. !SpriteMiscTable7 = $329A
  274. !SpriteMiscTable8 = $32B0
  275. !SpriteDecTimer1 = $32C6
  276. !SpriteDecTimer2 = $32DC
  277. !SpriteDecTimer3 = $32F2
  278. !SpriteDecTimer4 = $3308
  279. !SpriteMiscTable9 = $331E
  280. !SpriteDirection = $3334
  281. !SpriteBlockedStatus_ASB0UDLR = $334A
  282. !SpriteMiscTable10 = $3360
  283. !SpriteHOffScreenFlag = $3376
  284. !SpriteDecTimer5 = $338C
  285. !SpriteSlope = $7520
  286. !SpriteHMoreThan4TilesOffScreenFlag = $7536
  287. !SpriteYoshiTongueFlag = $754C
  288. !SpriteInteractionWithObjectEnable = $7562
  289. !SpriteIndexOAM = $33A2
  290. !SpriteProperties_YXPPCCCT = $33B8
  291. !SpriteMiscTable11 = $33CE
  292. !SpriteMiscTable12 = $33E4
  293. !SpriteLoadStatus = $7578
  294. !SpriteMiscTable13 = $758E
  295. !SpriteBehindEscenaryFlag = $75A4
  296. !SpriteDecTimer6 = $33FA
  297. !SpriteInLiquidFlag = $75BA
  298. !SpriteTweaker1656_SSJJCCCC = $75D0
  299. !SpriteTweaker1662_DSCCCCCC = $75EA
  300. !SpriteTweaker166E_LWCFPPPG = $7600
  301. !SpriteTweaker167A_DPMKSPIS = $7616
  302. !SpriteTweaker1686_DNCTSWYE = $762C
  303. !SpriteVOffScreenFlag = $7642
  304. !SpriteMiscTable14 = $3410
  305. !SpriteTweaker190F_WCDJ5SDP = $7658
  306. !SpriteMiscTable15 = $766E
  307. !SpriteDecTimer7 = $7FD6
  308.  
  309. !ExtraBits = $400040
  310. !NewCodeFlag = $400056
  311. !ExtraProp1 = $400057
  312. !ExtraProp2 = $40006D
  313. !ExtraByte1 = $4000A4
  314. !ExtraByte2 = $4000BA
  315. !ExtraByte3 = $4000D0
  316. !ExtraByte4 = $4000E6
  317. !ShooterExtraByte = $400110
  318. !GeneratorExtraByte = $4000FC
  319. !ScrollerExtraByte = $4000FD
  320. !CustomSpriteNumber = $400083
  321. !ShooterExtraBits = $400099
  322. !GeneratorExtraBits = $4000A1
  323. !Layer1ExtraBits = $4000A2
  324. !Layer2ExtraBits = $4000A3
  325. !SpriteFlags = $400118
  326.  
  327. endif
RAW Paste Data