Opening Database and having a species in the results with species#
greater than the current loaded save file's allowed (ie volcanion in db
with loaded emerald) causes Report to throw errors when opened from
Database.
I'm a little too averse for extra lines of code :)
Regarding remaining discussion on #136
Resharper gives suggestion to null check
Path.GetFileNameWithoutExtension and Path.GetExtension, so it won't
hurt. Just because it's set up to work properly now doesn't mean someone
modifying it / operating systems years from now will supply the correct
arguments.
Thanks Wanderer1391!
Set value back only if it was the one that updated the value. No need to
prompt update after loading as it refreshes when each field loads.
= acts as a 'modify if' filter
! acts as a 'do not modify if' filter
. acts as a 'set property to' to value
!HeldItem=0
^ do not modify if held item is zero
=HeldItem=5
^ only modify if held item is index 5
.Species=7
^ set species to 7
!SID=666
.TID=666
^ set TID to 666 if SID is not 666
.TID=666
!SID=666
^ set TID to 666 if SID is not 666 (filtering can be after property
settings)
Run one 'batch modify' script at a time.