This file contains 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
@@ Flag operands | |
.equ B_T, 0x0 | |
.equ B_F, 0x1 | |
@@ callstd alias | |
.equ ITEM_OBTAIN, 0x0 | |
.equ ITEM_FIND, 0x1 | |
.equ MSG_FACE, 0x2 | |
.equ MSG_SIGN, 0x3 | |
.equ MSG_KEYOPEN, 0x4 |
This file contains 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
#!/bin/sh | |
helpFunction() | |
{ | |
echo "" | |
echo "Usage: $0 -i input -o output_directory" | |
echo "\t-i Input file to invoke grit with" | |
echo "\t-o Directory to write output files to" | |
exit 1 # Exit script after printing help | |
} |
This file contains 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
/* | |
mgba.h | |
Copyright (c) 2016 Jeffrey Pfau | |
Redistribution and use in source and binary forms, with or without modification, | |
are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, | |
this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, | |
this list of conditions and the following disclaimer in the documentation and/or |
This file contains 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
import os | |
import io | |
import argparse | |
import struct | |
layer_type_mask = 0xF000 | |
layer_type_shift = 12 | |
parser = argparse.ArgumentParser(description='Convert pokeemerald metatiles to use the triple layer system.' ) | |
parser.add_argument('--tsroot', required=True, |
This file contains 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
/* | |
mgba.h | |
Copyright (c) 2016 Jeffrey Pfau | |
Redistribution and use in source and binary forms, with or without modification, | |
are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, | |
this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, | |
this list of conditions and the following disclaimer in the documentation and/or |
This file contains 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
/* | |
* The Minimal snprintf() implementation | |
* | |
* Copyright (c) 2013 Michal Ludvig <[email protected]> | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* * Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. |
This file contains 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
/* | |
* The Minimal snprintf() implementation | |
* | |
* Copyright (c) 2013,2014 Michal Ludvig <[email protected]> | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* * Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. |