This file contains hidden or 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
float flick_mod = 0.3; | |
float beat_mod = 0.3; | |
integer listen_handle; | |
float min(float x, float y) | |
{ | |
// got this from the second life wiki, so i assume there's a reason it's | |
// relatively complex | |
return ( ( llAbs( x >= y ) ) * y ) + ( ( llAbs( x<y ) ) * x ); |
This file contains hidden or 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
; before | |
.ballHorizontal | |
ld a,[BallXVector] | |
ld b,a | |
ld a,[BallXAddr] | |
add b | |
.rightWall | |
cp $98 | |
jr z,.xFlip | |
.leftWall |
This file contains hidden or 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
Get_Keys:: | |
ld a,$20 | |
ld [$ff00],a ; set bit 5 low to enable buttons | |
ld a,[$ff00] ; allow time for it to bounce | |
ld a,[$ff00] ; get result | |
cpl ; invert (because a low result means the button is pressed) | |
and $0f ; throw out high nybble | |
swap a | |
ld b,a ; save low nybble as high nybble of b | |
ld a,$10 |
This file contains hidden or 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
X Accuracy x98 | |
Dire Hit x70 | |
Thunderstone x47 | |
TM11 x34 | |
HP Up x112 | |
TM01 xAny | |
ld l,$62 ; hl points at D362, player's x coord | |
ld a,(hl-) ; x coord stored in a, hl decremented to D361 (y coord) | |
ld b,(hl) ; y coord stored in b |
This file contains hidden or 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
Burn Heal x45 | |
Dire Hit x45 | |
Ice Heal x119 | |
Lemonade x98 | |
Fresh Water x201 | |
0C 2D 3A 2D 0D 77 3E 62 3C C9 | |
inc c ; Increase the value in the register C by one (to get around pokemon item limitations) | |
dec l ; Registers H and L together hold the address of the third item. Decrease by one to get quantity of second item |
This file contains hidden or 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
// use own namespace for plugin | |
window.plugin.resoLevelsNeeded = function() {}; | |
window.plugin.resoLevelsNeeded.addInfo = function() { | |
var div = $('<div>').attr({id: 'reso-levels-needed'}); | |
$('#resodetails').before(div); | |
window.plugin.resoLevelsNeeded.updateInfo(); | |
}; |
This file contains hidden or 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 sys | |
if len(sys.argv)!=2: | |
print 'Usage: golfer.py <file>' | |
exit(1) | |
filename = sys.argv[1] | |
code = [] |
This file contains hidden or 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
// ==UserScript== | |
// @name TagPro UI Upgrade | |
// @include http://*.newcompte.fr* | |
// @include http://tagpro.gg* | |
// @include http://tagpro.koalabeast.com* | |
// @include http://capturetheflag.us* | |
// @include http://tagpro-*.koalabeast.com* | |
// @version 1.0 | |
// @description Script that modifies the css of TagPro pages | |
// @author SuperSans |
This file contains hidden or 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
// ==UserScript== | |
// @name Kingly Dailies | |
// @namespace https://www.reddit.com/u/undergroundmonorail | |
// @version 0.3 | |
// @description Writes something incredibly wise or hilarious. (Wiseness/hilarity not guaranteed.) | |
// @author monorail | |
// @match http://www.neopets.com/medieval/grumpyking.phtml | |
// @match http://www.neopets.com/medieval/wiseking.phtml | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
// ==UserScript== | |
// @name Orange Neopet Health | |
// @namespace http://www.reddit.com/u/undergroundmonorail | |
// @version 0.1 | |
// @description yellow is hard to read. make your neopet's worrying-but-not-critical health show up orange instead | |
// @author monorail | |
// @match http://www.neopets.com/* | |
// ==/UserScript== | |
(function(){ |