From 53838cbdd5d6e7e142d21d05bfc944db46f00066 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Sat, 19 Dec 2020 19:44:57 -0700 Subject: [PATCH] Fix ghosts to ignore force floors too --- js/tiletypes.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/tiletypes.js b/js/tiletypes.js index b30c35c..7f08d2f 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -1945,7 +1945,11 @@ const TILE_TYPES = { collision_mask: COLLISION.ghost, blocks_collision: COLLISION.all_but_player, has_inventory: true, - ignores: new Set(['bomb', 'ice', 'ice_nw', 'ice_ne', 'ice_sw', 'ice_se']), + ignores: new Set([ + 'bomb', + 'ice', 'ice_nw', 'ice_ne', 'ice_sw', 'ice_se', + 'force_floor_n', 'force_floor_s', 'force_floor_e', 'force_floor_w', 'force_floor_all', + ]), movement_speed: 4, // TODO ignores /most/ walls. collision is basically completely different. has a regular inventory, except red key. good grief decide_movement(me, level) {