text: #pragma bank 2
  
  #include "vm_sgb.h"
  
  #include "vm.h"
  
  void vm_sgb_transfer(UWORD dummy0, UWORD dummy1, SCRIPT_CTX * THIS) OLDCALL __nonbanked {
      dummy0; dummy1; // suppress warnings
      UBYTE _save = _current_bank; 
      SWITCH_ROM(THIS->bank);
      sgb_transfer((void *)THIS->PC);
      THIS->PC += (*THIS->PC & 0x03) << 4;
      SWITCH_ROM(_save);
  }