Rev 9 | Rev 22 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9 | Rev 14 | ||
---|---|---|---|
Line 98... | Line 98... | ||
98 | 98 | ||
99 | endswitch |
99 | endswitch |
100 | endevent |
100 | endevent |
101 | 101 | ||
102 | onevent EVENT_EGS |
102 | onevent EVENT_EGS |
- | 103 | getactor[THISACTOR].picnum picnum |
|
- | 104 | getactor[THISACTOR].owner owner |
|
- | 105 | ||
103 | ifactor APLAYER setactor[THISACTOR].mdflags 16 |
106 | ifactor APLAYER setactor[THISACTOR].mdflags 16 |
104 | ifactor DUKETORSO setactor[THISACTOR].mdflags 16 |
107 | ifactor DUKETORSO setactor[THISACTOR].mdflags 16 |
105 | ifactor DUKEGUN setactor[THISACTOR].mdflags 16 |
108 | ifactor DUKEGUN setactor[THISACTOR].mdflags 16 |
106 | ifactor DUKELEG setactor[THISACTOR].mdflags 16 |
109 | ifactor DUKELEG setactor[THISACTOR].mdflags 16 |
107 | ifactor DOORSHOCK setactor[THISACTOR].mdflags 16 |
110 | ifactor DOORSHOCK setactor[THISACTOR].mdflags 16 |
Line 1037... | Line 1040... | ||
1037 | 1040 | ||
1038 | /* |
1041 | /* |
1039 | ifactor MONEY |
1042 | ifactor MONEY |
1040 | { |
1043 | { |
1041 | setactor[THISACTOR].mdflags 16 |
1044 | setactor[THISACTOR].mdflags 16 |
1042 | getactor[THISACTOR].owner owner |
1045 | // getactor[THISACTOR].owner owner |
1043 | switch owner |
1046 | switch owner |
1044 | case SNOW case SNOWFLAKE case SNOWMAKER case SNOWMAKERNOMOVE |
1047 | case SNOW case SNOWFLAKE case SNOWMAKER case SNOWMAKERNOMOVE |
1045 | getactor[THISACTOR].x x |
1048 | getactor[THISACTOR].x x |
1046 | getactor[THISACTOR].y y |
1049 | getactor[THISACTOR].y y |
1047 | getactor[THISACTOR].z z |
1050 | getactor[THISACTOR].z z |
Line 1054... | Line 1057... | ||
1054 | endswitch |
1057 | endswitch |
1055 | } |
1058 | } |
1056 | */ |
1059 | */ |
1057 | endevent |
1060 | endevent |
1058 | 1061 | ||
1059 | onevent EVENT_ANIMATESPRITES // This is a hell of a mess because putting get/settspr in states throws warnings, and I don't want that. |
- | |
1060 | getactor[THISACTOR].picnum picnum |
- | |
1061 | getactor[THISACTOR].owner owner |
1062 | onevent EVENT_ANIMATESPRITES |
1062 | 1063 | ||
1063 | ifvare picnum DOORSHOCK |
1064 | ifvare picnum DOORSHOCK |
1064 | { |
1065 | { |
1065 | ifspritepal 30 settspr[THISACTOR].tsprpicnum 3656 |
1066 | ifspritepal 30 settspr[THISACTOR].tsprpicnum 3656 |
1066 | ifvare VOLUME 1 ifvare LEVEL 2 settspr[THISACTOR].tsprpicnum 3656 |
1067 | ifvare VOLUME 1 ifvare LEVEL 2 settspr[THISACTOR].tsprpicnum 3656 |
Line 1087... | Line 1088... | ||
1087 | switch picnum |
1088 | switch picnum |
1088 | case APLAYER |
1089 | case APLAYER |
1089 | ifvare skin SANTA |
1090 | ifvare skin SANTA |
1090 | { |
1091 | { |
1091 | gettspr[THISACTOR].tsprpicnum temp3 |
1092 | gettspr[THISACTOR].tsprpicnum temp3 |
1092 | ifvarl temp3 1544 addvar temp3 4096 |
1093 | ifvarg temp3 1399 ifvarl temp3 1544 addvar temp3 4096 |
1093 | settspr[THISACTOR].tsprpicnum temp3 |
1094 | settspr[THISACTOR].tsprpicnum temp3 |
1094 | 1095 | ||
1095 | ifvarg holodukeid -1 |
1096 | ifvarg holodukeid -1 |
1096 | { |
1097 | { |
1097 | gettspr[holodukeid].tsprpicnum temp3 |
1098 | gettspr[holodukeid].tsprpicnum temp3 |
1098 | ifvarl temp3 1544 addvar temp3 4096 |
1099 | ifvarg temp3 1399 ifvarl temp3 1544 addvar temp3 4096 |
1099 | settspr[holodukeid].tsprpicnum temp3 |
1100 | settspr[holodukeid].tsprpicnum temp3 |
1100 | } |
1101 | } |
1101 | } |
1102 | } |
1102 | break |
1103 | break |
1103 | 1104 | ||
1104 | case FRAMEEFFECT1 |
1105 | case FRAMEEFFECT1 |
1105 | ifvare skin SANTA |
1106 | ifvare skin SANTA |
1106 | ifspawnedby APLAYER |
1107 | ifspawnedby APLAYER |
1107 | { |
1108 | { |
1108 | gettspr[THISACTOR].tsprpicnum temp3 |
1109 | gettspr[THISACTOR].tsprpicnum temp3 |
1109 | ifvarl temp3 1544 addvar temp3 4096 |
1110 | ifvarg temp3 1399 ifvarl temp3 1544 addvar temp3 4096 |
1110 | settspr[THISACTOR].tsprpicnum temp3 |
1111 | settspr[THISACTOR].tsprpicnum temp3 |
1111 | } |
1112 | } |
1112 | break |
1113 | break |
1113 | 1114 | ||
1114 | case DUKETORSO |
1115 | case DUKETORSO |