diff options
| author | iimarckus <iimarckus@gmail.com> | 2013-10-13 23:35:43 -0700 |
|---|---|---|
| committer | iimarckus <iimarckus@gmail.com> | 2013-10-13 23:35:43 -0700 |
| commit | ad402f12435ab661aa9b745a79d419fcae9340fc (patch) | |
| tree | 5a410d83d4180cb4179ac03b3ccd00bd1a89de1c /music/pokeredmusicdisasm/UnkEB.cpp | |
| parent | Fix CheckIfInOutsideMap comments. (diff) | |
| parent | Add song alternate start labels (diff) | |
| download | pokeyellow-ad402f12435ab661aa9b745a79d419fcae9340fc.tar.gz pokeyellow-ad402f12435ab661aa9b745a79d419fcae9340fc.tar.xz pokeyellow-ad402f12435ab661aa9b745a79d419fcae9340fc.zip | |
Merge pull request #11 from dannye/music
Music
Diffstat (limited to 'music/pokeredmusicdisasm/UnkEB.cpp')
| -rw-r--r-- | music/pokeredmusicdisasm/UnkEB.cpp | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/music/pokeredmusicdisasm/UnkEB.cpp b/music/pokeredmusicdisasm/UnkEB.cpp deleted file mode 100644 index 39007f30..00000000 --- a/music/pokeredmusicdisasm/UnkEB.cpp +++ /dev/null @@ -1,57 +0,0 @@ -#include <sstream>
-#include "UnkEB.h"
-
-using namespace std;
-
-UnkEB::UnkEB()
-{
- param = 0;
-}
-
-UnkEB::UnkEB(unsigned char* byte)
-{
- param = 0;
- Parse(byte);
-}
-
-UnkEB::UnkEB(unsigned char code, bool)
-{
- SetParam(code);
-}
-
-// Getters / Setters
-unsigned char UnkEB::GetParam()
-{
- return param;
-}
-
-void UnkEB::SetParam(unsigned char value)
-{
- param = value;
-}
-
-// Re-implemented
-string UnkEB::GenAsm()
-{
- stringstream tmpAsmOut;
- tmpAsmOut << hex << "db $" << (short)0xEB << ", $" << (short)param;
- return tmpAsmOut.str();
-}
-
-bool UnkEB::Parse(unsigned char* byte)
-{
- param = byte[1];
- return true;
-}
-
-bool UnkEB::IsValid(unsigned char* byte)
-{
- if(byte[0] == 0xEB) return true;
- else return false;
-}
-
-unsigned int UnkEB::Arguments()
-{
- // 1 1-Byte param
- return 1;
-}
\ No newline at end of file |
