-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gustavo R. 'Gustavo6046' Rehermann
committed
Oct 14, 2018
1 parent
552ffd5
commit ab24575
Showing
7 changed files
with
655 additions
and
750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**/__pycache__ | ||
build | ||
dist | ||
*.zip | ||
*.exe | ||
JumpZombie.dec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
class RunZombie inherits ZombieMan replaces ZombieMan #2055 | ||
{ | ||
set Gravity to 0.4; // high up... | ||
set Speed to 0; | ||
is NOBLOCKMONST; | ||
set Speed to 0; | ||
|
||
label See | ||
{ | ||
POSS AB 5 A_Recoil(-0.7); | ||
TNT1 A 0 A_Chase; | ||
POSS A 0 A_FaceTarget(); | ||
POSS AB 4 A_Recoil(-0.7); | ||
TNT1 A 0 A_Chase; | ||
POSS A 0 A_FaceTarget(); | ||
POSS ABCD 3 A_Recoil(-0.7); | ||
TNT1 A 0 A_Chase; | ||
POSS A 0 A_FaceTarget(); | ||
goto RunLoop; | ||
}; | ||
|
||
function Jump | ||
{ | ||
while ( z == floorz ) | ||
{ | ||
POSS A 5 [Bright]; | ||
POSS A 11 ThrustThingZ(0, 30, 0, 1); | ||
}; | ||
POSS AB 2 A_Chase; | ||
}; | ||
|
||
label RunLoop | ||
{ | ||
x3 | ||
{ | ||
POSS ABCD 2 A_Recoil(-0.7); | ||
TNT1 A 0 A_Chase; | ||
POSS A 0 A_FaceTarget(); | ||
}; | ||
|
||
if ( health > 5 ) | ||
call Jump; | ||
|
||
loop; | ||
}; | ||
} |
Oops, something went wrong.