885
edits
m |
m |
||
Line 88: | Line 88: | ||
Alternately, you can eliminate the "Can't tp to room 0" message and change the inner [[AGIWiki/If statement|if statement]] to read: | Alternately, you can eliminate the "Can't tp to room 0" message and change the inner [[AGIWiki/If statement|if statement]] to read: | ||
<syntax type="C++"> | <syntax type="C++"> | ||
if ( | if (v255 != 0) { | ||
new.room.v(v255); | new.room.v(v255); | ||
} | } |
edits