Add and Change Maps - JimB16/pokecrystalchallenge GitHub Wiki

  • macros/map.asm
  • constants/landmarks_constants.asm
  • constants/map_constants.asm
    • mapgroup ; map id, height, width
  • maps/NewBarkTown.asm
    • includes the scripts, etc.
  • maps/NewBarkTown.blk
    • the graphic/collision data
  • engine/landmarks.asm
  • engine/map_triggers.asm
  • maps/blockdata_1.asm or maps/blockdata_2.asm
    • incbin blockdata (.blk-files)
  • maps/map_headers.asm
    • map_header ; label, tileset, permission, location, music, phone service flag, time of day, fishing group
    • ordered by mapgroups
  • maps/second_map_headers.asm
    • map_header_2 and connections (to north, east, south and west)
    • map_header_2 ; label, map, border block, connections
    • connection ; north/south/east/west, map id, map label (eventually will be rolled into map id), x/y, offset?, strip length, this map id
  • maps.asm
    • includes all MapScript-files (INCLUDE maps/NewBarkTown.asm)
  • wram.asm
    • for every trigger you have to reserve a byte

###Used Sprites on Map:

  • main.asm
    • Labels: OutdoorSprites, IndoorSprites