Created
November 7, 2019 21:42
-
-
Save wallabra/4b27cb9a9bcc695a8c5dcb7dcace3f05 to your computer and use it in GitHub Desktop.
Early attempt at DoomFox.
This file contains hidden or 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
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_0 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_1 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_2 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_3 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_4 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_5 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_6 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_7 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_8 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_9 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_10 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_11 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_12 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_13 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_14 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_15 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_16 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_17 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_18 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_19 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_20 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_21 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_22 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_23 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_24 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_25 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_26 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_27 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_28 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_29 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_30 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_31 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_32 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_33 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_34 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_35 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_36 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_37 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_38 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_39 : Inventory {Inventory.MaxAmount 1} | |
Actor _Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_40 : Inventory {Inventory.MaxAmount 1} | |
Actor MSA_Fox | |
{ | |
+FRIENDLY | |
Monster | |
States { | |
F_DrawLegsNormal: | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_0", 1, "_CLabel0") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_3", 1, "_CLabel3") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_6", 1, "_CLabel6") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_9", 1, "_CLabel9") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_12", 1, "_CLabel12") | |
TNT1 A -1 | |
F_DrawTail1: | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_1", 1, "_CLabel1") | |
TNT1 A -1 | |
F_DrawTail2: | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_4", 1, "_CLabel4") | |
TNT1 A -1 | |
F_DrawTail3: | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_7", 1, "_CLabel7") | |
TNT1 A -1 | |
F_DrawTail4: | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_10", 1, "_CLabel10") | |
TNT1 A -1 | |
F_DrawTail5: | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_13", 1, "_CLabel13") | |
TNT1 A -1 | |
F_DrawHeadNormal: | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height) | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_2", 1, "_CLabel2") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_5", 1, "_CLabel5") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_8", 1, "_CLabel8") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_11", 1, "_CLabel11") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_14", 1, "_CLabel14") | |
TNT1 A -1 | |
F_DrawWait1: | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_0") | |
Goto F_DrawLegsNormal | |
_CLabel0: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_0") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_1") | |
Goto F_DrawTail1 | |
_CLabel1: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_1") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_2") | |
Goto F_DrawHeadNormal | |
_CLabel2: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_2") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_15", 1, "_CLabel15") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_16", 1, "_CLabel16") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_17", 1, "_CLabel17") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_18", 1, "_CLabel18") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_28", 1, "_CLabel28") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_29", 1, "_CLabel29") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_30", 1, "_CLabel30") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_31", 1, "_CLabel31") | |
TNT1 A -1 | |
F_DrawWait2: | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_3") | |
Goto F_DrawLegsNormal | |
_CLabel3: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_3") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_4") | |
Goto F_DrawTail2 | |
_CLabel4: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_4") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_5") | |
Goto F_DrawHeadNormal | |
_CLabel5: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_5") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_19", 1, "_CLabel19") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_20", 1, "_CLabel20") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_21", 1, "_CLabel21") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_25", 1, "_CLabel25") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_26", 1, "_CLabel26") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_27", 1, "_CLabel27") | |
TNT1 A -1 | |
F_DrawWait3: | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_6") | |
Goto F_DrawLegsNormal | |
_CLabel6: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_6") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_7") | |
Goto F_DrawTail3 | |
_CLabel7: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_7") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_8") | |
Goto F_DrawHeadNormal | |
_CLabel8: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_8") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_22", 1, "_CLabel22") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_23", 1, "_CLabel23") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_24", 1, "_CLabel24") | |
TNT1 A -1 | |
F_DrawWait4: | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_9") | |
Goto F_DrawLegsNormal | |
_CLabel9: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_9") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_10") | |
Goto F_DrawTail4 | |
_CLabel10: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_10") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_11") | |
Goto F_DrawHeadNormal | |
_CLabel11: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_11") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_32", 1, "_CLabel32") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_33", 1, "_CLabel33") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_34", 1, "_CLabel34") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_38", 1, "_CLabel38") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_39", 1, "_CLabel39") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_40", 1, "_CLabel40") | |
TNT1 A -1 | |
F_DrawWait5: | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_12") | |
Goto F_DrawLegsNormal | |
_CLabel12: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_12") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_13") | |
Goto F_DrawTail5 | |
_CLabel13: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_13") | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_14") | |
Goto F_DrawHeadNormal | |
_CLabel14: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_14") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_35", 1, "_CLabel35") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_36", 1, "_CLabel36") | |
TNT1 A 0 A_JumpIfInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_37", 1, "_CLabel37") | |
TNT1 A -1 | |
F_DrawWalk1: | |
TNT1 A -1 | |
Spawn: | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_15") | |
Goto F_DrawWait1 | |
_CLabel15: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_15") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_16") | |
Goto F_DrawWait1 | |
_CLabel16: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_16") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_17") | |
Goto F_DrawWait1 | |
_CLabel17: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_17") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_18") | |
Goto F_DrawWait1 | |
_CLabel18: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_18") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_19") | |
Goto F_DrawWait2 | |
_CLabel19: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_19") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_20") | |
Goto F_DrawWait2 | |
_CLabel20: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_20") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_21") | |
Goto F_DrawWait2 | |
_CLabel21: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_21") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_22") | |
Goto F_DrawWait3 | |
_CLabel22: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_22") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_23") | |
Goto F_DrawWait3 | |
_CLabel23: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_23") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_24") | |
Goto F_DrawWait3 | |
_CLabel24: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_24") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_25") | |
Goto F_DrawWait2 | |
_CLabel25: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_25") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_26") | |
Goto F_DrawWait2 | |
_CLabel26: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_26") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_27") | |
Goto F_DrawWait2 | |
_CLabel27: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_27") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_28") | |
Goto F_DrawWait1 | |
_CLabel28: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_28") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_29") | |
Goto F_DrawWait1 | |
_CLabel29: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_29") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_30") | |
Goto F_DrawWait1 | |
_CLabel30: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_30") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_31") | |
Goto F_DrawWait1 | |
_CLabel31: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_31") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_32") | |
Goto F_DrawWait4 | |
_CLabel32: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_32") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_33") | |
Goto F_DrawWait4 | |
_CLabel33: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_33") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_34") | |
Goto F_DrawWait4 | |
_CLabel34: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_34") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_35") | |
Goto F_DrawWait5 | |
_CLabel35: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_35") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_36") | |
Goto F_DrawWait5 | |
_CLabel36: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_36") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_37") | |
Goto F_DrawWait5 | |
_CLabel37: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_37") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_38") | |
Goto F_DrawWait4 | |
_CLabel38: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_38") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_39") | |
Goto F_DrawWait4 | |
_CLabel39: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_39") | |
TNT1 A 0 A_Look | |
TNT1 A 0 A_GiveInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_40") | |
Goto F_DrawWait4 | |
_CLabel40: | |
TNT1 A 0 A_TakeInventory("_Call_hRv4Z5llxmKr0u9lqbukCp4DhHVBldKa56E_40") | |
TNT1 A 0 A_Look | |
Goto Spawn | |
See: | |
stop | |
} | |
} | |
Actor MSP_FoxHead1 : MSPart | |
{ | |
States { | |
Spawn: | |
TNT1 A 0 | |
FX_H A 1 | |
stop | |
} | |
} | |
Actor MSPart | |
{ | |
Gravity 0 | |
-SOLID | |
} |
This file contains hidden or 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
class MSPart { | |
isn't SOLID; | |
set Gravity to 0; | |
} | |
class MSP_FoxHead1 extends MSPart { | |
label Spawn { | |
TNT1 A 0; | |
FX_H A 1; | |
Stop; | |
}; | |
} | |
class MSA_Fox { | |
combo Monster; | |
is FRIENDLY; | |
macro SpawnLimb(height, forward, right, cls) { | |
TNT1 A 0 A_SpawnItemEx(cls, cos(angle) * forward + sin(angle) * right, sin(angle) * forward + cos(angle) * right, height); | |
}; | |
macro DrawLegAt_A(forward, right) { | |
inject SpawnLimb(-5, forward, right, class extends MSPart { | |
label Spawn { | |
TNT1 A 0; | |
FX_L A 1; | |
Stop; | |
}; | |
}); | |
}; | |
macro DrawTail(which) { | |
inject SpawnLimb(4, -55, 0, class extends MSPart { | |
label Spawn { | |
TNT1 A 0; | |
TNT1 A 0 A_Jump(255, which * 2); | |
TNT1 A 0 A_Jump(255, "Done"); | |
FX_T A 1; | |
Stop; | |
TNT1 A 0; | |
FX_T B 1; | |
Stop; | |
TNT1 A 0; | |
FX_T C 1; | |
Stop; | |
TNT1 A 0; | |
FX_T D 1; | |
Stop; | |
TNT1 A 0; | |
FX_T E 1; | |
Stop; | |
TNT1 A 0; | |
Goto Done; | |
}; | |
label Done { | |
TNT1 A 0; | |
Stop; | |
}; | |
}); | |
}; | |
// Combine individual parts | |
function DrawLegsNormal { | |
inject DrawLegAt_A( 40, -10); | |
inject DrawLegAt_A( 40, 10); | |
inject DrawLegAt_A(-40, -10); | |
inject DrawLegAt_A(-40, 10); | |
}; | |
// Animations | |
function DrawTail1 { | |
inject DrawTail(1); | |
}; | |
function DrawTail2 { | |
inject DrawTail(2); | |
}; | |
function DrawTail3 { | |
inject DrawTail(3); | |
}; | |
function DrawTail4 { | |
inject DrawTail(4); | |
}; | |
function DrawTail5 { | |
inject DrawTail(5); | |
}; | |
function DrawHeadNormal { | |
inject SpawnLimb(12, 24, 0, "MSP_FoxHead1"); | |
}; | |
// Animation states | |
function DrawWait1 { | |
call DrawLegsNormal; | |
call DrawTail1; | |
call DrawHeadNormal; | |
}; | |
function DrawWait2 { | |
call DrawLegsNormal; | |
call DrawTail2; | |
call DrawHeadNormal; | |
}; | |
function DrawWait3 { | |
call DrawLegsNormal; | |
call DrawTail3; | |
call DrawHeadNormal; | |
}; | |
function DrawWait4 { | |
call DrawLegsNormal; | |
call DrawTail4; | |
call DrawHeadNormal; | |
}; | |
function DrawWait5 { | |
call DrawLegsNormal; | |
call DrawTail5; | |
call DrawHeadNormal; | |
}; | |
function DrawWalk1 { | |
}; | |
// States | |
label Spawn { | |
// Tail swinging to a side. | |
x4 { | |
call DrawWait1; | |
TNT1 A 0 A_Look; | |
}; | |
x3 { | |
call DrawWait2; | |
TNT1 A 0 A_Look; | |
}; | |
x3 { | |
call DrawWait3; | |
TNT1 A 0 A_Look; | |
}; | |
x3 { | |
call DrawWait2; | |
TNT1 A 0 A_Look; | |
}; | |
// Tail swinging to the other side. | |
x4 { | |
call DrawWait1; | |
TNT1 A 0 A_Look; | |
}; | |
x3 { | |
call DrawWait4; | |
TNT1 A 0 A_Look; | |
}; | |
x3 { | |
call DrawWait5; | |
TNT1 A 0 A_Look; | |
}; | |
x3 { | |
call DrawWait4; | |
TNT1 A 0 A_Look; | |
}; | |
Loop; | |
}; | |
label See { | |
Stop; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment