//do not ask me why i made this, its old and i have no idea on what the problem was to begin with and i am too lazy to go check, just be happy that it works
addHook("PlayerThink",function(player,mo)

 if not mapheaderinfo[gamemap].fireflowerspecial then return end

  if player.firefloweron == nil
  player.firefloweron = false
   end
   
   if (player.powers[pw_shield] & SH_FIREFLOWER)
   then   player.firefloweron = true
    local ring = P_SpawnMobjFromMobj(player.mo, 0, 0, 0, MT_PLAYERHASFIREFLOWER)
	else player.firefloweron = false
	
	
	
	end
	end)