Shadowfist/pokemon-online — comment on commit 8288a0f07cd04e6a93841383e0669c1f19a3e0c7
File:  line 0
By coyotte508:

actually you can drop the whole abp() function. The substitute check in ubh is also unnecessary as ubh is only called when no substitute was present.