Zarel/Pokemon-Showdown — comment on commit 27effef5c37091b7e491df9ae490ef05dbf99fb2
File: simulator.js line 525
By Zarel:

This should be `if (selfP.hasType`...