- }
-
- if(jumped_in_solid)
- {
- if (isbrick(base.x, base.y) ||
- isfullbox(base.x, base.y))
- {
- Sector::current()->trygrabdistro(
- Vector(base.x, base.y - 32), BOUNCE);
- Sector::current()->trybumpbadguy(Vector(base.x, base.y - 64));
-
- Sector::current()->trybreakbrick(
- Vector(base.x, base.y), size == SMALL);
-
- bumpbrick(base.x, base.y);
- Sector::current()->tryemptybox(Vector(base.x, base.y), RIGHT);
- }
-
- if (isbrick(base.x+ 31, base.y) ||
- isfullbox(base.x+ 31, base.y))
- {
- Sector::current()->trygrabdistro(
- Vector(base.x+ 31, base.y - 32), BOUNCE);
- Sector::current()->trybumpbadguy(Vector(base.x+ 31, base.y - 64));
-
- if(size == BIG)
- Sector::current()->trybreakbrick(
- Vector(base.x+ 31, base.y), size == SMALL);
-
- bumpbrick(base.x+ 31, base.y);
- Sector::current()->tryemptybox(Vector(base.x+ 31, base.y), LEFT);