You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
7 lines
251 B
Plaintext
7 lines
251 B
Plaintext
/// link_surface_tile(x, y)
|
|
var tbg;
|
|
if (global.timeofday == 0) tbg = tlSurface1;
|
|
if (global.timeofday == 1) tbg = tlSurface1Twilight;
|
|
if (global.timeofday == 2) tbg = tlSurface1Night;
|
|
tileid = tile_add(tbg, argument0, argument1, 16, 16, x, y, -150);
|