- iqy = state.isy;\r
- if (checkdest(iqx, iqy, flag, ipage)) {\r
- iqy = state.isy + ideltay;\r
- iqx = state.isx;\r
- checkdest(iqx, iqy, flag, ipage);\r
+ iqy = game.state.isy;\r
+ if (movescom(iqx, iqy, flag, ipage)) {\r
+ iqy = game.state.isy + ideltay;\r
+ iqx = game.state.isx;\r
+ movescom(iqx, iqy, flag, ipage);\r