Resolve #723: treat std scripts like specials and predefs

This commit is contained in:
Rangi
2020-06-10 16:44:16 -04:00
parent 32e7e368f4
commit 518cee440e
180 changed files with 561 additions and 554 deletions

View File

@@ -1,13 +1,18 @@
; stdscripts associated with tile collisions
; std scripts associated with tile collisions
stdcoll: MACRO
db \1
dw (\2StdScript - StdScripts) / 3
ENDM
TileCollisionStdScripts:
; collision type, stdscript
dbw COLL_BOOKSHELF, magazinebookshelf
dbw COLL_PC, pcscript
dbw COLL_RADIO, radio1
dbw COLL_TOWN_MAP, townmap
dbw COLL_MART_SHELF, merchandiseshelf
dbw COLL_TV, tv
dbw COLL_WINDOW, window
dbw COLL_INCENSE_BURNER, incenseburner
; collision type, std script
stdcoll COLL_BOOKSHELF, MagazineBookshelfScript
stdcoll COLL_PC, PCScript
stdcoll COLL_RADIO, Radio1Script
stdcoll COLL_TOWN_MAP, TownMapScript
stdcoll COLL_MART_SHELF, MerchandiseShelfScript
stdcoll COLL_TV, TVScript
stdcoll COLL_WINDOW, WindowScript
stdcoll COLL_INCENSE_BURNER, IncenseBurnerScript
db -1 ; end