-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hellfire] ProcessMonsters bin exact #1681
Conversation
changed ifdef |
Source/monster.cpp
Outdated
} | ||
if (Monst->MType->mtype == 137) { //TODO: apply enums | ||
if (UseCowFarmer) { | ||
PlaySFX(997); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PlaySFX(997); | |
PlaySFX(USFX_NAKRUL6); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to verify the values
Source/monster.cpp
Outdated
if (UseCowFarmer) { | ||
PlaySFX(997); | ||
} else { | ||
int sound = 995; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
int sound = 995; | |
int sound = USFX_NAKRUL4; |
Source/monster.cpp
Outdated
} else { | ||
int sound = 995; | ||
if (!IsUberRoomOpened) | ||
sound = 996; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sound = 996; | |
sound = USFX_NAKRUL5; |
Source/monster.cpp
Outdated
} | ||
} | ||
if (Monst->MType->mtype == 124) | ||
PlaySFX(989); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PlaySFX(989); | |
PlaySFX(USFX_DEFILER8); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
off to sleep :)
Source/monster.cpp
Outdated
if (Monst->MType->mtype == MT_CLEAVER) { | ||
PlaySFX(USFX_CLEAVER); | ||
} | ||
if (Monst->MType->mtype == 137) { //TODO: apply enums |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (Monst->MType->mtype == 137) { //TODO: apply enums | |
if (Monst->MType->mtype == MT_NAKRUL) { |
enums.h line 1685
MT_NAKRUL = 0x89,
Source/monster.cpp
Outdated
PlaySFX(sound); | ||
} | ||
} | ||
if (Monst->MType->mtype == 124) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (Monst->MType->mtype == 124) | |
if (Monst->MType->mtype == MT_DEFILER) |
enums.h line 1685
MT_DEFILER = 0x7C,
Source/monster.cpp
Outdated
if (UseCowFarmer) { | ||
PlaySFX(997); | ||
} else { | ||
int sound = 995; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably this was two calls to PlaySFX
swap to Monst->mLevel if should be merged with master