Zarel/Pokemon-Showdown — pull request #58 by RisingDusk (2012-05-27 16:02:41+00:00)
Title: Curse (Not Ghost) now works properly with no target

This is actually a fairly invasive change that required changing the
.useMove and .runMove methods in scripts.js and simulator.js. I had to add
the battle itself to the argument list so that I could access the
.resolveTarget method if ModifyMove changed the targeting of the move.
Ideally, we may want to consider not even resolving the target until after
ModifyMove, but this is something we (aeo, bmelts, me) should discuss.
Feel free to respond to this commit or (preferably) AIM me.