Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. .deflong map_index_item(mii_item,loaderScriptAdr)
  2. t_mid = {mii_item}_mapid
  3. t_w = {mii_item}_width
  4. t_h = {mii_item}_height
  5. t_maadr = {mii_item}_map
  6. t_malsb = lsb(t_maadr)
  7. t_mamsb = msb(t_maadr)
  8. t_mapg = :t_maadr
  9. t_spadr = {mii_item}_spritemap
  10. t_splsb = lsb(t_spadr)
  11. t_spmsb = msb(t_spadr)
  12. t_sppg = :t_spadr
  13. t_hoadr = {mii_item}_hotspot
  14. t_holsb = lsb(t_hoadr)
  15. t_homsb = msb(t_hoadr)
  16. t_hopg = :t_hoadr
  17. t_ldadr = loaderScriptAdr
  18. t_ldlsb = lsb(t_ldadr)
  19. t_ldmsb = msb(t_ldadr)
  20. t_ldpg = :t_ldadr
  21.  
  22. .db t_mid,t_w,t_h
  23. .db t_malsb,t_mamsb,t_mapg
  24. .db t_splsb,t_spmsb,t_sppg
  25. .db t_holsb,t_homsb,t_hopg
  26. .db t_ldlsb,t_ldmsb,t_ldpg
  27. ; .echoln "MID(",t_mid,")MW(",t_w,")MH(",t_h,")ML(",t_malsb,")MM(",t_mamsb,")MP(",t_mapg,")"
  28. ; .echoln "SL(",t_splsb,")SM(",t_spmsb,")SP(",t_sppg,")HL(",t_holsb,")HM(",t_homsb,")HP(",t_hopg,")"
  29. .enddeflong
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement