Thx for your fast answer =)
When i use 32 only then the error "Cannot read property '[object Array]' of undefined" appers. only with the 0032 the function is ok. (in both functions, this.Sv(32,3) will also call an error
If i use if 0032 == 0 its always true.
(i am using RPG MZ 1.4.2 and your 3.1.1, i tryed everything with the "00" and without, with map id = 0 and so on)


This will also show the error (from another try of your SV with 0022^^):


Hi, 

