public void use(BattleFunction iface, PokeInstance user, PokeInstance target, Move move) {
		PokeInstance p;
		if (this.target == Target.target) {
			p = target;
		} else {
			p = user;
		}
		
		p.battleStatus.flags[flag] = true;
		if (text != null) {
			text = text.replace("$target", p.getName());
			if (p.battleStatus.lastMove != -1)
				text = text.replace("$lastMove", p.getMove(p.battleStatus.lastMove).getName());
			iface.print(text);
		}
	}