Commit 5c85c159 authored by nanahira's avatar nanahira

replace_def

parent e0205117
......@@ -783,6 +783,10 @@ public:
#define HINT_CODE 8
#define HINT_NUMBER 9
#define HINT_CARD 10
//custom hints in KoishiPro for custom sound
#define HINT_MUSIC 11
#define HINT_SOUND 12
#define HINT_MUSIC_OGG 13
//
#define CHINT_TURN 1
#define CHINT_CARD 2
......
......@@ -3379,7 +3379,7 @@ int32 field::process_battle_command(uint16 step) {
pduel->write_buffer32(indestructable_effect->owner->data.code);
if(indestructable_effect->description) {
pduel->write_buffer8(MSG_HINT);
pduel->write_buffer8(12);
pduel->write_buffer8(HINT_SOUND);
pduel->write_buffer8(0);
pduel->write_buffer32(indestructable_effect->description);
}
......@@ -3396,7 +3396,7 @@ int32 field::process_battle_command(uint16 step) {
pduel->write_buffer32(indestructable_effect->owner->data.code);
if(indestructable_effect->description) {
pduel->write_buffer8(MSG_HINT);
pduel->write_buffer8(12);
pduel->write_buffer8(HINT_SOUND);
pduel->write_buffer8(0);
pduel->write_buffer32(indestructable_effect->description);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment